Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001506/0.001506, allocations: 92.2 kB / 20.19 MB, free: 4.363 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 0.9925/0.9925, allocations: 177.2 MB / 200.5 MB, free: 5.816 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.001203/0.001203, allocations: 171.8 kB / 257 MB, free: 13.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2785/0.2785, allocations: 80.36 MB / 393.8 MB, free: 2.18 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 490.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.958e-05, allocations: 2.312 kB / 490.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01419/0.01421, allocations: 20.57 MB / 0.4987 GB, free: 6.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.02637, allocations: 4.899 MB / 0.5035 GB, free: 2.043 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.02868, allocations: 44 kB / 0.5035 GB, free: 2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.03025, allocations: 0.8866 MB / 0.5044 GB, free: 1.105 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.03443, allocations: 2.354 MB / 0.5067 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003269/0.0377, allocations: 2.066 MB / 0.5087 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.04248, allocations: 5.909 MB / 0.5145 GB, free: 6.754 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.04372, allocations: 0.8689 MB / 0.5153 GB, free: 5.832 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.04685, allocations: 3.339 MB / 0.5186 GB, free: 2.484 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.04859, allocations: 2.313 MB / 0.5208 GB, free: 168 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.049, allocations: 448 kB / 0.5213 GB, free: 15.72 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.04976, allocations: 0.6013 MB / 0.5218 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.05042, allocations: 1.186 MB / 0.523 GB, free: 13.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.05165, allocations: 1.736 MB / 0.5247 GB, free: 12.19 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.05498, allocations: 4.528 MB / 0.5291 GB, free: 7.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.05499, allocations: 0 / 0.5291 GB, free: 7.645 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05499, allocations: 0 / 0.5291 GB, free: 7.645 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.503e-05/0.05502, allocations: 3.938 kB / 0.5291 GB, free: 7.641 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01575/0.07078, allocations: 10.2 MB / 0.5391 GB, free: 13.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.07082, allocations: 8.031 kB / 0.5391 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/0.08618, allocations: 4.8 MB / 0.5438 GB, free: 8.527 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.08926, allocations: 2.578 MB / 0.5463 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005381/0.0898, allocations: 1.025 MB / 0.5473 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/0.09021, allocations: 351.9 kB / 0.5476 GB, free: 4.336 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.09425, allocations: 3.144 MB / 0.5507 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.0943, allocations: 0 / 0.5507 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.09458, allocations: 140 kB / 0.5508 GB, free: 1.016 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.011e-05/0.09463, allocations: 87.94 kB / 0.5509 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.09803, allocations: 2.033 MB / 0.5529 GB, free: 14.88 MB / 490.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.01491/0.1129, allocations: 12.29 MB / 0.5649 GB, free: 2.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.1174, allocations: 2.571 MB / 0.5674 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.1191, allocations: 1.216 MB / 0.5686 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.1194, allocations: 82.95 kB / 0.5687 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/0.1217, allocations: 1.863 MB / 0.5705 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=384): time 6.272e-06/0.1217, allocations: 0 / 0.5705 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=384): time 0.3388/0.4605, allocations: 55.85 MB / 0.6251 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.4606, allocations: 148.4 kB / 0.6252 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.4638, allocations: 3.021 MB / 0.6281 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000595/0.4644, allocations: 92.64 kB / 0.6282 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/0.4654, allocations: 2.073 MB / 0.6303 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/0.4667, allocations: 1.382 MB / 0.6316 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009737/0.4677, allocations: 0.7027 MB / 0.6323 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.4677, allocations: 476.8 kB / 0.6327 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.4696, allocations: 1.147 MB / 0.6339 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.4719, allocations: 1.971 MB / 0.6358 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006372/0.4782, allocations: 4.922 MB / 0.6406 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.4783, allocations: 4 kB / 0.6406 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02213/0.5004, allocations: 11.69 MB / 0.652 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.5005, allocations: 67.41 kB / 0.6521 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.5005, allocations: 16 kB / 0.6521 GB, free: 131.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01994/0.5204, allocations: 7.436 MB / 0.6594 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.5226, allocations: 0.6826 MB / 0.66 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02841/0.5511, allocations: 13.68 MB / 0.6734 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/0.555, allocations: 0.5309 MB / 0.6739 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.5554, allocations: 160 kB / 0.674 GB, free: 109 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (402): * Single equations (assignments): 399 * 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): 1 system {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001399/0.5568, allocations: 409.6 kB / 0.6744 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009613/0.5578, allocations: 0.5838 MB / 0.675 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0214/0.5792, allocations: 11.24 MB / 0.686 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.5792, allocations: 40 kB / 0.686 GB, free: 96.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-05/0.5792, allocations: 28 kB / 0.6861 GB, free: 96.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.281e-05/0.5793, allocations: 19.92 kB / 0.6861 GB, free: 96.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/0.6057, allocations: 14.42 MB / 0.7002 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.6057, allocations: 0 / 0.7002 GB, free: 82.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.607, allocations: 395.5 kB / 0.7005 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02035/0.6274, allocations: 7.667 MB / 0.708 GB, free: 74.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007226/0.6281, allocations: 67.98 kB / 0.7081 GB, free: 74.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/0.6556, allocations: 15 MB / 0.7227 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6556, allocations: 3.984 kB / 0.7227 GB, free: 58.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02483/0.6804, allocations: 12.53 MB / 0.735 GB, free: 46.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.6816, allocations: 0.5028 MB / 0.7355 GB, free: 45.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004685/0.6821, allocations: 67.98 kB / 0.7355 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/0.6841, allocations: 287.7 kB / 0.7358 GB, free: 45.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002166/0.6863, allocations: 0.7723 MB / 0.7366 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/0.6865, allocations: 99.97 kB / 0.7367 GB, free: 44.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001619/0.6881, allocations: 1.792 MB / 0.7384 GB, free: 42.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.6881, allocations: 0 / 0.7384 GB, free: 42.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003567/0.6917, allocations: 1.809 MB / 0.7402 GB, free: 41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/0.6922, allocations: 199 kB / 0.7404 GB, free: 40.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.7023, allocations: 5.994 MB / 0.7462 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7023, allocations: 0 / 0.7462 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007498/0.7098, allocations: 4.536 MB / 0.7506 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7116, allocations: 455.4 kB / 0.7511 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.7217, allocations: 7.435 MB / 0.7583 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.7222, allocations: 0.8064 MB / 0.7591 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007678/0.723, allocations: 367.1 kB / 0.7595 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.7235, allocations: 260.4 kB / 0.7597 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.923e-06/0.7235, allocations: 0 / 0.7597 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.2643/0.9878, allocations: 102.5 MB / 0.8599 GB, free: 128.1 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.314726297045127]