Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.7 kB / 19.59 MB, free: 2.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 225.6 MB / 248.2 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 194.1 kB / 303.6 MB, free: 8.715 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3874/0.3874, allocations: 79.72 MB / 438.6 MB, free: 5.246 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 79.88 kB / 0.5844 GB, free: 8.012 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 72.13 MB / 0.6548 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.0133/0.125, allocations: 13.81 MB / 0.6683 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006736/0.1318, allocations: 3.511 MB / 0.6717 GB, free: 14.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.1335, allocations: 28 kB / 0.6717 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.1347, allocations: 0.5731 MB / 0.6723 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1381, allocations: 1.581 MB / 0.6739 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.1412, allocations: 1.532 MB / 0.6753 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.1452, allocations: 3.839 MB / 0.6791 GB, free: 6.832 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008456/0.146, allocations: 0.6206 MB / 0.6797 GB, free: 6.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.1478, allocations: 1.595 MB / 0.6813 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.1499, allocations: 2.022 MB / 0.6832 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004042/0.1503, allocations: 292 kB / 0.6835 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.151, allocations: 435.9 kB / 0.6839 GB, free: 1.816 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006497/0.1517, allocations: 0.774 MB / 0.6847 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.1531, allocations: 1.654 MB / 0.6863 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.157, allocations: 4.041 MB / 0.6902 GB, free: 11.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.157, allocations: 0 / 0.6902 GB, free: 11.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.157, allocations: 3.938 kB / 0.6903 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.924e-05/0.157, allocations: 4 kB / 0.6903 GB, free: 11.31 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.02288/0.1799, allocations: 7.417 MB / 0.6975 GB, free: 3.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1799, allocations: 8.031 kB / 0.6975 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.1945, allocations: 2.288 MB / 0.6997 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2256/0.4201, allocations: 1.836 MB / 0.7015 GB, free: 40.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/0.4206, allocations: 0.7227 MB / 0.7022 GB, free: 39.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004144/0.4211, allocations: 215.6 kB / 0.7024 GB, free: 39.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/0.4269, allocations: 3.046 MB / 0.7054 GB, free: 39.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.4269, allocations: 3.891 kB / 0.7054 GB, free: 39.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002247/0.4272, allocations: 88.94 kB / 0.7055 GB, free: 39.53 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.4272, allocations: 49.69 kB / 0.7056 GB, free: 39.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005664/0.4329, allocations: 2.798 MB / 0.7083 GB, free: 38.59 MB / 494.1 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.01674/0.4496, allocations: 9.738 MB / 0.7178 GB, free: 33.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009655/0.4592, allocations: 3.547 MB / 0.7213 GB, free: 32.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.4628, allocations: 1.791 MB / 0.723 GB, free: 31.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.463, allocations: 38.05 kB / 0.723 GB, free: 31.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003969/0.467, allocations: 2.25 MB / 0.7252 GB, free: 31.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=249): time 3.907e-06/0.467, allocations: 0 / 0.7252 GB, free: 31.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=249): time 0.1066/0.5736, allocations: 27.1 MB / 0.7517 GB, free: 11.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.5736, allocations: 184.2 kB / 0.7519 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.5762, allocations: 2.318 MB / 0.7542 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.5767, allocations: 69.7 kB / 0.7542 GB, free: 8.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/0.5772, allocations: 1.195 MB / 0.7554 GB, free: 7.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/0.5779, allocations: 0.9145 MB / 0.7563 GB, free: 6.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000906/0.5788, allocations: 0.5699 MB / 0.7568 GB, free: 6.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.5788, allocations: 301.1 kB / 0.7571 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/0.5824, allocations: 1.974 MB / 0.7591 GB, free: 4.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003731/0.5861, allocations: 2.343 MB / 0.7613 GB, free: 1.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05471/0.6408, allocations: 14.22 MB / 0.7752 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.6408, allocations: 0 / 0.7752 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04144/0.6823, allocations: 12.5 MB / 0.7874 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.6824, allocations: 114.8 kB / 0.7875 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.6824, allocations: 12 kB / 0.7875 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01799/0.7004, allocations: 5.253 MB / 0.7927 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.7036, allocations: 0.5851 MB / 0.7932 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06155/0.7652, allocations: 23.11 MB / 0.8158 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004218/0.7694, allocations: 497.8 kB / 0.8163 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005187/0.7699, allocations: 120 kB / 0.8164 GB, free: 8.781 MB / 0.545 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001488/0.7714, allocations: 0.5279 MB / 0.8169 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007253/0.7721, allocations: 318 kB / 0.8172 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0411/0.8132, allocations: 11.84 MB / 0.8288 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.8132, allocations: 31.94 kB / 0.8288 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.865e-05/0.8133, allocations: 20 kB / 0.8288 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.456e-05/0.8133, allocations: 19.23 kB / 0.8289 GB, free: 11.92 MB / 0.5606 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.04643/0.8598, allocations: 15.44 MB / 0.8439 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.8598, allocations: 3.875 kB / 0.8439 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.8614, allocations: 247.6 kB / 0.8442 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01843/0.8798, allocations: 5.294 MB / 0.8493 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006333/0.8804, allocations: 47.98 kB / 0.8494 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06087/0.9413, allocations: 24.66 MB / 0.8735 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.9413, allocations: 7.875 kB / 0.8735 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04559/0.9869, allocations: 14.24 MB / 0.8874 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009083/0.9878, allocations: 353.3 kB / 0.8877 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004743/0.9883, allocations: 48 kB / 0.8878 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002912/0.9912, allocations: 299.6 kB / 0.8881 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/0.9932, allocations: 0.6072 MB / 0.8887 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.9934, allocations: 67.98 kB / 0.8887 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002286/0.9957, allocations: 1.531 MB / 0.8902 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.9957, allocations: 0 / 0.8902 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002869/0.9985, allocations: 1.186 MB / 0.8914 GB, free: 11.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0003919/0.9989, allocations: 174.9 kB / 0.8915 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01773/1.017, allocations: 6.353 MB / 0.8977 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.017, allocations: 1.75 kB / 0.8977 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.01307/1.03, allocations: 4.261 MB / 0.9019 GB, free: 292 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.032, allocations: 267.2 kB / 0.9022 GB, free: 28 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/1.041, allocations: 5.593 MB / 0.9076 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.042, allocations: 1.811 MB / 0.9094 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008209/1.043, allocations: 195.4 kB / 0.9096 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of SimCode: time 6.81e-07/1.043, allocations: 0 / 0.9096 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of Templates: time 0.3057/1.349, allocations: 65.06 MB / 0.9731 GB, free: 229.2 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.039168418996269] Failed to read output from testmodel.py, exit status != 0: 1.3563891109952237 1.367418867 1.208073346 Calling exit ...