Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 177.1 MB / 199.7 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 163.6 kB / 256.3 MB, free: 13.16 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.4702/0.4702, allocations: 80.25 MB / 393 MB, free: 2.219 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 489.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.945e-05, allocations: 4.312 kB / 489.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.02336/0.02338, allocations: 11.86 MB / 0.4893 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01282/0.0362, allocations: 3.497 MB / 0.4927 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/0.0398, allocations: 31.94 kB / 0.4927 GB, free: 12.47 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002885/0.04268, allocations: 0.5551 MB / 0.4932 GB, free: 11.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008855/0.05154, allocations: 1.623 MB / 0.4948 GB, free: 10.29 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006479/0.05802, allocations: 1.545 MB / 0.4963 GB, free: 8.785 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00917/0.06718, allocations: 3.826 MB / 0.5001 GB, free: 4.945 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00249/0.06967, allocations: 0.5776 MB / 0.5006 GB, free: 4.312 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006684/0.07636, allocations: 2.174 MB / 0.5028 GB, free: 2.129 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004249/0.08061, allocations: 1.594 MB / 0.5043 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001475/0.08208, allocations: 296.7 kB / 0.5046 GB, free: 248 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.08425, allocations: 463.7 kB / 0.505 GB, free: 15.79 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00137/0.08562, allocations: 0.7901 MB / 0.5058 GB, free: 15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.08839, allocations: 1.113 MB / 0.5069 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00729/0.09568, allocations: 4.169 MB / 0.511 GB, free: 9.695 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09568, allocations: 0 / 0.511 GB, free: 9.695 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09568, allocations: 0 / 0.511 GB, free: 9.695 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001592/0.09584, allocations: 0 / 0.511 GB, free: 9.695 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02784/0.1237, allocations: 7.444 MB / 0.5182 GB, free: 2.145 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1237, allocations: 12.03 kB / 0.5183 GB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.1402, allocations: 2.698 MB / 0.5209 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.1453, allocations: 1.879 MB / 0.5227 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001223/0.1465, allocations: 0.8334 MB / 0.5235 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001011/0.1475, allocations: 220 kB / 0.5237 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009162/0.1567, allocations: 3.105 MB / 0.5268 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.1567, allocations: 3.984 kB / 0.5268 GB, free: 9.105 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.1572, allocations: 88 kB / 0.5269 GB, free: 9.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.1573, allocations: 48 kB / 0.5269 GB, free: 8.973 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008014/0.1653, allocations: 2.846 MB / 0.5297 GB, free: 6.098 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02177/0.1871, allocations: 7.508 MB / 0.537 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/0.1995, allocations: 3.618 MB / 0.5406 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/0.2045, allocations: 1.834 MB / 0.5423 GB, free: 8.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.2049, allocations: 57.98 kB / 0.5424 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006117/0.211, allocations: 2.313 MB / 0.5447 GB, free: 6.527 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 5.701e-06/0.211, allocations: 0 / 0.5447 GB, free: 6.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.1325/0.3435, allocations: 28.71 MB / 0.5727 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.3437, allocations: 192.2 kB / 0.5729 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.3485, allocations: 2.292 MB / 0.5751 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007368/0.3492, allocations: 77.69 kB / 0.5752 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.3505, allocations: 1.189 MB / 0.5764 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001655/0.3522, allocations: 0.914 MB / 0.5772 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002405/0.3546, allocations: 0.5502 MB / 0.5778 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3547, allocations: 301.1 kB / 0.5781 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005489/0.3602, allocations: 2.086 MB / 0.5801 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006171/0.3664, allocations: 2.45 MB / 0.5825 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0662/0.4326, allocations: 14.64 MB / 0.5968 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/0.4326, allocations: 4 kB / 0.5968 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.2443/0.677, allocations: 12.59 MB / 0.6091 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6771, allocations: 119.5 kB / 0.6092 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/0.6771, allocations: 5.844 kB / 0.6092 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0369/0.714, allocations: 7.842 MB / 0.6169 GB, free: 159.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/0.717, allocations: 0.5668 MB / 0.6174 GB, free: 159.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05606/0.7731, allocations: 23.06 MB / 0.64 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.7774, allocations: 492.4 kB / 0.6404 GB, free: 144.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/0.7778, allocations: 120 kB / 0.6405 GB, free: 143.9 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"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: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001132/0.7789, allocations: 0.5292 MB / 0.6411 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007857/0.7797, allocations: 390 kB / 0.6414 GB, free: 143 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/0.8175, allocations: 11.92 MB / 0.6531 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.8175, allocations: 24.55 kB / 0.6531 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.934e-05/0.8175, allocations: 20 kB / 0.6531 GB, free: 131 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.135e-05/0.8176, allocations: 15.89 kB / 0.6531 GB, free: 130.9 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04187/0.8594, allocations: 14.28 MB / 0.6671 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.8595, allocations: 11.92 kB / 0.6671 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.8611, allocations: 247.7 kB / 0.6673 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03233/0.8934, allocations: 7.699 MB / 0.6748 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007308/0.8942, allocations: 51.98 kB / 0.6749 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05464/0.9488, allocations: 24.1 MB / 0.6984 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9488, allocations: 1.094 kB / 0.6984 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04206/0.9909, allocations: 14.45 MB / 0.7125 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.9919, allocations: 354.6 kB / 0.7129 GB, free: 69.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008477/0.9928, allocations: 44 kB / 0.7129 GB, free: 69.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003286/0.9961, allocations: 303.6 kB / 0.7132 GB, free: 68.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002198/0.9983, allocations: 0.6001 MB / 0.7138 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/0.9985, allocations: 71.97 kB / 0.7139 GB, free: 68.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002054/1.001, allocations: 1.518 MB / 0.7153 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/1.001, allocations: 0 / 0.7153 GB, free: 66.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004432/1.005, allocations: 1.202 MB / 0.7165 GB, free: 65.62 MB / 0.5105 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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007971/1.006, allocations: 181.4 kB / 0.7167 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01719/1.023, allocations: 6.617 MB / 0.7231 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.023, allocations: 1.094 kB / 0.7231 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01311/1.036, allocations: 4.308 MB / 0.7273 GB, free: 54.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.039, allocations: 331.8 kB / 0.7277 GB, free: 53.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/1.048, allocations: 5.533 MB / 0.7331 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.049, allocations: 1.269 MB / 0.7343 GB, free: 47.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001208/1.05, allocations: 262.4 kB / 0.7346 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/1.051, allocations: 189 kB / 0.7347 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of SimCode: time 1.753e-06/1.051, allocations: 0 / 0.7347 GB, free: 46.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.2708/1.322, allocations: 71.14 MB / 0.8042 GB, free: 167.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.110930191003717]