Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008421, allocations: 85.27 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4622/0.4622, allocations: 78.09 MB / 414.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.278e-05, allocations: 3.938 kB / 491.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 69.34 MB / 0.548 GB, free: 20.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.3932, allocations: 100.5 MB / 0.6461 GB, free: 104 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.3935, allocations: 71.97 kB / 0.6462 GB, free: 32 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4327/0.8262, allocations: 67.87 MB / 0.7125 GB, free: 96.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8262, allocations: 0 / 0.7125 GB, free: 96.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.8264, allocations: 60.75 kB / 0.7125 GB, free: 96.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01167/0.8381, allocations: 4.05 MB / 0.7165 GB, free: 92.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8381, allocations: 11.97 kB / 0.7165 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.8481, allocations: 1.603 MB / 0.718 GB, free: 90.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.8518, allocations: 1.659 MB / 0.7197 GB, free: 89.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005578/0.8524, allocations: 0.6945 MB / 0.7203 GB, free: 88.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006289/0.853, allocations: 203.9 kB / 0.7205 GB, free: 88.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004294/0.8573, allocations: 2.581 MB / 0.7231 GB, free: 85.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.8574, allocations: 11.92 kB / 0.7231 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.8577, allocations: 83.94 kB / 0.7231 GB, free: 85.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.8577, allocations: 52 kB / 0.7232 GB, free: 85.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.8616, allocations: 2.332 MB / 0.7255 GB, free: 82.86 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.8781, allocations: 10.13 MB / 0.7354 GB, free: 72.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008634/0.8867, allocations: 4.054 MB / 0.7393 GB, free: 68.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.8892, allocations: 1.538 MB / 0.7408 GB, free: 66.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.8895, allocations: 50.03 kB / 0.7409 GB, free: 66.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.8895, allocations: 56.56 kB / 0.7409 GB, free: 66.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 5.089e-06/0.8895, allocations: 0 / 0.7409 GB, free: 66.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03658/0.9261, allocations: 12.32 MB / 0.753 GB, free: 54.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.9262, allocations: 231.6 kB / 0.7532 GB, free: 53.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/0.9289, allocations: 1.878 MB / 0.755 GB, free: 51.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005874/0.9295, allocations: 65.7 kB / 0.7551 GB, free: 51.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/0.9301, allocations: 1.227 MB / 0.7563 GB, free: 50.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007716/0.9309, allocations: 0.8431 MB / 0.7571 GB, free: 49.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.9311, allocations: 44 kB / 0.7571 GB, free: 49.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.9312, allocations: 398.6 kB / 0.7575 GB, free: 49.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.9332, allocations: 1.235 MB / 0.7587 GB, free: 48.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.9354, allocations: 1.555 MB / 0.7602 GB, free: 46.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.9375, allocations: 1.475 MB / 0.7617 GB, free: 44.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.9375, allocations: 0 / 0.7617 GB, free: 44.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.0352/0.9728, allocations: 12.54 MB / 0.7739 GB, free: 32.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004464/0.9732, allocations: 2.877 MB / 0.7767 GB, free: 29.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.9733, allocations: 4 kB / 0.7767 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/0.9886, allocations: 5.173 MB / 0.7818 GB, free: 23.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.9906, allocations: 371.5 kB / 0.7821 GB, free: 23.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03789/1.029, allocations: 18.88 MB / 0.8006 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/1.033, allocations: 0.5249 MB / 0.8011 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004992/1.033, allocations: 83.98 kB / 0.8012 GB, free: 3.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.033, allocations: 6.344 kB / 0.8012 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03767/1.071, allocations: 12.25 MB / 0.8132 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.375e-05/1.071, allocations: 15.98 kB / 0.8132 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.017/1.088, allocations: 5.169 MB / 0.8182 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.09, allocations: 359.5 kB / 0.8186 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04281/1.133, allocations: 18.88 MB / 0.837 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/1.137, allocations: 0.494 MB / 0.8375 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/1.138, allocations: 83.97 kB / 0.8376 GB, free: 14.18 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007309/1.139, allocations: 293 kB / 0.8378 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/1.14, allocations: 300.3 kB / 0.8381 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03857/1.178, allocations: 12.66 MB / 0.8505 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/1.178, allocations: 35.88 kB / 0.8505 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-05/1.178, allocations: 20 kB / 0.8505 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/1.178, allocations: 11.95 kB / 0.8506 GB, free: 0.8047 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04474/1.223, allocations: 16.44 MB / 0.8666 GB, free: 216 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/1.223, allocations: 4 kB / 0.8666 GB, free: 212 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.225, allocations: 287.7 kB / 0.8669 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01546/1.241, allocations: 4.802 MB / 0.8716 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006127/1.241, allocations: 51.98 kB / 0.8716 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0351/1.276, allocations: 15.37 MB / 0.8866 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.276, allocations: 3.953 kB / 0.8866 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3461/1.623, allocations: 14.63 MB / 0.9009 GB, free: 165 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.624, allocations: 412.2 kB / 0.9013 GB, free: 164.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006371/1.624, allocations: 45.3 kB / 0.9014 GB, free: 164.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003397/1.628, allocations: 397.6 kB / 0.9017 GB, free: 164.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002017/1.63, allocations: 0.552 MB / 0.9023 GB, free: 164.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.63, allocations: 62.55 kB / 0.9023 GB, free: 164.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002235/1.632, allocations: 1.444 MB / 0.9037 GB, free: 164.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.31e-07/1.632, allocations: 0.5938 kB / 0.9037 GB, free: 164.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005285/1.638, allocations: 1.791 MB / 0.9055 GB, free: 164.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005017/1.638, allocations: 190.8 kB / 0.9057 GB, free: 164.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02674/1.665, allocations: 10.34 MB / 0.9158 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.665, allocations: 0 / 0.9158 GB, free: 163.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/1.676, allocations: 4.075 MB / 0.9197 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/1.679, allocations: 240.8 kB / 0.92 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/1.686, allocations: 4.371 MB / 0.9242 GB, free: 161.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.688, allocations: 1.904 MB / 0.9261 GB, free: 160.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002074/1.69, allocations: 454.2 kB / 0.9265 GB, free: 160.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/1.69, allocations: 119.7 kB / 0.9267 GB, free: 160.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/1.69, allocations: 1.969 kB / 0.9267 GB, free: 160.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1014/1.792, allocations: 77.81 MB / 1.003 GB, free: 107.6 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)