Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001065/0.001065, allocations: 73.09 kB / 20.65 MB, free: 3.848 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 201 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] 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.001518/0.001518, allocations: 155.4 kB / 257.7 MB, free: 12.84 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.2874/0.2874, allocations: 80.25 MB / 394.5 MB, free: 1.984 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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 491.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.083e-05, allocations: 4.422 kB / 491.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02007/0.0201, allocations: 19.84 MB / 0.499 GB, free: 7.266 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.03483, allocations: 4.868 MB / 0.5038 GB, free: 2.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004004/0.03883, allocations: 47.94 kB / 0.5038 GB, free: 2.383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.04143, allocations: 0.8827 MB / 0.5047 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008742/0.05017, allocations: 2.397 MB / 0.507 GB, free: 15.09 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.0556, allocations: 2.033 MB / 0.509 GB, free: 13.06 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.06614, allocations: 5.85 MB / 0.5147 GB, free: 7.184 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.06821, allocations: 0.865 MB / 0.5156 GB, free: 6.266 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007251/0.07546, allocations: 3.342 MB / 0.5188 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003786/0.07924, allocations: 2.293 MB / 0.5211 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.08041, allocations: 440 kB / 0.5215 GB, free: 188 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.08194, allocations: 0.5896 MB / 0.5221 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009508/0.08289, allocations: 1.178 MB / 0.5232 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.08538, allocations: 1.725 MB / 0.5249 GB, free: 12.68 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.09149, allocations: 4.489 MB / 0.5293 GB, free: 8.172 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.09149, allocations: 0 / 0.5293 GB, free: 8.172 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.0915, allocations: 4 kB / 0.5293 GB, free: 8.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002099/0.09171, allocations: 0 / 0.5293 GB, free: 8.168 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01821/0.1099, allocations: 10.23 MB / 0.5393 GB, free: 13.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.11, allocations: 12.03 kB / 0.5393 GB, free: 13.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/0.1247, allocations: 4.8 MB / 0.544 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004727/0.1294, allocations: 2.496 MB / 0.5464 GB, free: 6.434 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006655/0.1301, allocations: 1.021 MB / 0.5474 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009185/0.131, allocations: 344 kB / 0.5477 GB, free: 4.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005037/0.136, allocations: 2.799 MB / 0.5505 GB, free: 2.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.1361, allocations: 4 kB / 0.5505 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000324/0.1364, allocations: 140 kB / 0.5506 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.1364, allocations: 87.94 kB / 0.5507 GB, free: 1.855 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.1391, allocations: 1.598 MB / 0.5522 GB, free: 244 kB / 474.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.01946/0.1586, allocations: 11.73 MB / 0.5637 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/0.1629, allocations: 2.297 MB / 0.5659 GB, free: 1.766 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.1644, allocations: 0.978 MB / 0.5669 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.1647, allocations: 82.94 kB / 0.567 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.1665, allocations: 1.641 MB / 0.5686 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=382): time 7.635e-06/0.1665, allocations: 4 kB / 0.5686 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=382): time 0.3618/0.5283, allocations: 55.47 MB / 0.6228 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.5284, allocations: 150.9 kB / 0.6229 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.5311, allocations: 2.87 MB / 0.6257 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008867/0.532, allocations: 98.03 kB / 0.6258 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.5331, allocations: 2.132 MB / 0.6279 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.5346, allocations: 1.393 MB / 0.6292 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.5358, allocations: 0.7047 MB / 0.6299 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.5358, allocations: 476.8 kB / 0.6304 GB, free: 148.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.5373, allocations: 1.009 MB / 0.6314 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.5391, allocations: 1.853 MB / 0.6332 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.5443, allocations: 4.497 MB / 0.6376 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.5443, allocations: 3.625 kB / 0.6376 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=529) (initialization): time 0.02111/0.5655, allocations: 11.28 MB / 0.6486 GB, free: 135 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.5655, allocations: 66.48 kB / 0.6487 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/0.5656, allocations: 19.94 kB / 0.6487 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/0.5863, allocations: 7.485 MB / 0.656 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/0.5885, allocations: 0.6592 MB / 0.6566 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/0.6137, allocations: 13.44 MB / 0.6697 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003667/0.6174, allocations: 0.528 MB / 0.6703 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004117/0.6178, allocations: 112 kB / 0.6704 GB, free: 112.7 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.619, allocations: 415.7 kB / 0.6708 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/0.6201, allocations: 0.5829 MB / 0.6713 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/0.64, allocations: 10.65 MB / 0.6817 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.64, allocations: 36 kB / 0.6818 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/0.64, allocations: 36 kB / 0.6818 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.172e-05/0.6401, allocations: 15.94 kB / 0.6818 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/0.6658, allocations: 13.34 MB / 0.6948 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/0.6658, allocations: 0 / 0.6948 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.6673, allocations: 388.8 kB / 0.6952 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02013/0.6874, allocations: 7.558 MB / 0.7026 GB, free: 79.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009119/0.6883, allocations: 75.92 kB / 0.7027 GB, free: 79.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/0.7126, allocations: 14.55 MB / 0.7169 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7126, allocations: 0 / 0.7169 GB, free: 64.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02348/0.7361, allocations: 11.64 MB / 0.7283 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.7374, allocations: 0.5009 MB / 0.7287 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001032/0.7385, allocations: 64 kB / 0.7288 GB, free: 52.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/0.7409, allocations: 279.7 kB / 0.7291 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001733/0.7426, allocations: 0.7839 MB / 0.7298 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/0.7428, allocations: 75.98 kB / 0.7299 GB, free: 51.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001146/0.744, allocations: 1.608 MB / 0.7315 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.744, allocations: 0 / 0.7315 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004092/0.7481, allocations: 1.794 MB / 0.7332 GB, free: 47.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (246): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(100,36,5.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.7485, allocations: 205 kB / 0.7334 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01003/0.7586, allocations: 5.747 MB / 0.739 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7586, allocations: 0 / 0.739 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007968/0.7665, allocations: 4.315 MB / 0.7432 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.769, allocations: 453.7 kB / 0.7437 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.7795, allocations: 7.293 MB / 0.7508 GB, free: 29.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006557/0.7801, allocations: 0.802 MB / 0.7516 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001156/0.7813, allocations: 363.1 kB / 0.7519 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008559/0.7822, allocations: 0.5057 MB / 0.7524 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of SimCode: time 2.886e-06/0.7822, allocations: 4 kB / 0.7524 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.3093/1.091, allocations: 109.5 MB / 0.8594 GB, free: 126.3 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.958521088119596]