Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07817/0.07817, allocations: 12.6 MB / 28.91 MB, free: 0.6406 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 111.5 kB / 32.51 MB, free: 3.578 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 188.5 kB / 291.4 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4153/0.4153, allocations: 78.51 MB / 420 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002496/0.002496, allocations: 143.5 kB / 0.5565 GB, free: 28.64 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1312, allocations: 68.12 MB / 0.6231 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006641/0.1379, allocations: 6.559 MB / 0.6295 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.1412, allocations: 1.916 MB / 0.6313 GB, free: 6.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.1416, allocations: 19.94 kB / 0.6314 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.1422, allocations: 237.9 kB / 0.6316 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.1438, allocations: 0.8094 MB / 0.6324 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1449, allocations: 0.6229 MB / 0.633 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.1462, allocations: 1.577 MB / 0.6345 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.1467, allocations: 330.4 kB / 0.6348 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.1473, allocations: 0.6457 MB / 0.6355 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008463/0.1482, allocations: 0.8245 MB / 0.6363 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.1484, allocations: 124 kB / 0.6364 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004228/0.1488, allocations: 267.8 kB / 0.6366 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.1491, allocations: 322.7 kB / 0.6369 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.1496, allocations: 0.6757 MB / 0.6376 GB, free: 468 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.151, allocations: 1.654 MB / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1511, allocations: 0 / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1511, allocations: 0 / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1511, allocations: 0 / 0.6392 GB, free: 14.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.00801/0.1591, allocations: 2.688 MB / 0.6418 GB, free: 12.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1591, allocations: 11.98 kB / 0.6419 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.1638, allocations: 0.7749 MB / 0.6426 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.1652, allocations: 0.8902 MB / 0.6435 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.1655, allocations: 264.1 kB / 0.6437 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.1657, allocations: 80 kB / 0.6438 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.1678, allocations: 1.086 MB / 0.6449 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1679, allocations: 0 / 0.6449 GB, free: 8.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.168, allocations: 32 kB / 0.6449 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.168, allocations: 16 kB / 0.6449 GB, free: 8.789 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.17, allocations: 0.9877 MB / 0.6459 GB, free: 7.801 MB / 462.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.006387/0.1764, allocations: 3.8 MB / 0.6496 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007186/0.1836, allocations: 2.369 MB / 0.6519 GB, free: 1.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.1849, allocations: 0.68 MB / 0.6526 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.996e-05/0.185, allocations: 13 kB / 0.6526 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/0.1866, allocations: 0.8099 MB / 0.6534 GB, free: 15.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=95): time 3.386e-06/0.1866, allocations: 0 / 0.6534 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=95): time 0.0278/0.2144, allocations: 7.194 MB / 0.6604 GB, free: 8.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.2146, allocations: 119.8 kB / 0.6605 GB, free: 8.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.2164, allocations: 1.091 MB / 0.6616 GB, free: 7.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.2166, allocations: 45.7 kB / 0.6616 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.2171, allocations: 0.489 MB / 0.6621 GB, free: 6.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/0.2175, allocations: 351.1 kB / 0.6624 GB, free: 6.441 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005973/0.2181, allocations: 279.4 kB / 0.6627 GB, free: 6.164 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2182, allocations: 309.1 kB / 0.663 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.2199, allocations: 0.7496 MB / 0.6637 GB, free: 5.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.2216, allocations: 0.9303 MB / 0.6646 GB, free: 4.137 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02245/0.2441, allocations: 5.556 MB / 0.6701 GB, free: 14.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.2441, allocations: 0 / 0.6701 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01347/0.2576, allocations: 4.364 MB / 0.6743 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2577, allocations: 63.34 kB / 0.6744 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.2577, allocations: 0 / 0.6744 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.2634, allocations: 1.595 MB / 0.6759 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.2647, allocations: 283.5 kB / 0.6762 GB, free: 8.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.2849, allocations: 8.494 MB / 0.6845 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.2869, allocations: 198.7 kB / 0.6847 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.2872, allocations: 63.91 kB / 0.6848 GB, free: 15.24 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008798/0.2881, allocations: 296.2 kB / 0.685 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.2885, allocations: 118.5 kB / 0.6852 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.3013, allocations: 3.881 MB / 0.6889 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.3014, allocations: 12 kB / 0.689 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.272e-05/0.3014, allocations: 4 kB / 0.689 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.3015, allocations: 7.969 kB / 0.689 GB, free: 10.89 MB / 0.4981 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.01489/0.3164, allocations: 5.455 MB / 0.6943 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3164, allocations: 0 / 0.6943 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.317, allocations: 103.8 kB / 0.6944 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.3225, allocations: 1.603 MB / 0.696 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.3226, allocations: 23.98 kB / 0.696 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/0.3438, allocations: 9.631 MB / 0.7054 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/0.3438, allocations: 7.984 kB / 0.7054 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/0.3586, allocations: 4.735 MB / 0.71 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/0.3591, allocations: 223.3 kB / 0.7102 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/0.3595, allocations: 19.94 kB / 0.7103 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.3608, allocations: 107.9 kB / 0.7104 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006143/0.3614, allocations: 192.7 kB / 0.7105 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.3615, allocations: 35.98 kB / 0.7106 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001257/0.3628, allocations: 0.7276 MB / 0.7113 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.3628, allocations: 0 / 0.7113 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00161/0.3644, allocations: 475.5 kB / 0.7117 GB, free: 3.102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.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 (63): * Single equations (assignments): 60 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003049/0.3648, allocations: 139.1 kB / 0.7119 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00632/0.3711, allocations: 2.521 MB / 0.7143 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3711, allocations: 0 / 0.7143 GB, free: 396 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2647/0.6358, allocations: 1.578 MB / 0.7159 GB, free: 86.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.637, allocations: 117.7 kB / 0.716 GB, free: 86.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.6411, allocations: 2.222 MB / 0.7182 GB, free: 85.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/0.6419, allocations: 1.121 MB / 0.7193 GB, free: 84.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.6423, allocations: 85.41 kB / 0.7193 GB, free: 84.67 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.6423, allocations: 0 / 0.7193 GB, free: 84.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.03735/0.6797, allocations: 23.39 MB / 0.7422 GB, free: 76.41 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)