Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07985/0.07985, allocations: 12.61 MB / 28.91 MB, free: 0.6016 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.001154/0.001154, allocations: 111.5 kB / 32.51 MB, free: 3.543 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.431/1.431, allocations: 205.1 MB / 241.1 MB, free: 12.36 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.0016/0.0016, allocations: 204.3 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4428/0.4428, allocations: 78.51 MB / 420 MB, free: 11.24 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.002802/0.002803, allocations: 140.2 kB / 0.5565 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1441, allocations: 68.12 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI): time 0.007451/0.1516, allocations: 6.586 MB / 0.6295 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004438/0.1561, allocations: 1.979 MB / 0.6314 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.1573, allocations: 19.94 kB / 0.6314 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1583, allocations: 242 kB / 0.6317 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002697/0.161, allocations: 0.8606 MB / 0.6325 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.1626, allocations: 0.6588 MB / 0.6332 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.1647, allocations: 1.608 MB / 0.6347 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004585/0.1652, allocations: 314.4 kB / 0.635 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.1659, allocations: 0.6574 MB / 0.6357 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.1667, allocations: 0.8441 MB / 0.6365 GB, free: 1.586 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1669, allocations: 124 kB / 0.6366 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.1674, allocations: 263.8 kB / 0.6369 GB, free: 1.207 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.1677, allocations: 346.6 kB / 0.6372 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000527/0.1682, allocations: 0.6796 MB / 0.6379 GB, free: 188 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1698, allocations: 1.689 MB / 0.6395 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1698, allocations: 3.938 kB / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1698, allocations: 0 / 0.6395 GB, free: 14.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.1699, allocations: 4 kB / 0.6395 GB, free: 14.48 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00892/0.1788, allocations: 2.731 MB / 0.6422 GB, free: 11.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.1788, allocations: 11.98 kB / 0.6422 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.1839, allocations: 0.7827 MB / 0.643 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.1855, allocations: 0.9139 MB / 0.6439 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.1857, allocations: 226.5 kB / 0.6441 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.1859, allocations: 91.89 kB / 0.6442 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.1881, allocations: 1.107 MB / 0.6452 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.1881, allocations: 3.938 kB / 0.6452 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/0.1882, allocations: 32 kB / 0.6453 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1883, allocations: 16 kB / 0.6453 GB, free: 8.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00205/0.1903, allocations: 1.015 MB / 0.6463 GB, free: 7.387 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.00671/0.197, allocations: 3.906 MB / 0.6501 GB, free: 3.289 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/0.2044, allocations: 2.353 MB / 0.6524 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.2059, allocations: 0.6918 MB / 0.6531 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-05/0.206, allocations: 16.97 kB / 0.6531 GB, free: 128 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2061, allocations: 51.56 kB / 0.6531 GB, free: 68 kB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.386e-06/0.2061, allocations: 0 / 0.6531 GB, free: 68 kB / 462.1 MB Notification: Performance of matching and sorting (n=94): time 0.02699/0.2331, allocations: 6.716 MB / 0.6597 GB, free: 9.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.2332, allocations: 149.5 kB / 0.6598 GB, free: 9.133 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.2354, allocations: 1.115 MB / 0.6609 GB, free: 8.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.2357, allocations: 45.7 kB / 0.661 GB, free: 7.953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.2361, allocations: 0.493 MB / 0.6614 GB, free: 7.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005145/0.2367, allocations: 362.9 kB / 0.6618 GB, free: 7.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000782/0.2375, allocations: 271.5 kB / 0.6621 GB, free: 6.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.2376, allocations: 305.1 kB / 0.6623 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.2393, allocations: 0.7817 MB / 0.6631 GB, free: 5.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.2411, allocations: 0.9507 MB / 0.664 GB, free: 4.742 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0248/0.2659, allocations: 5.778 MB / 0.6697 GB, free: 14.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.266, allocations: 4 kB / 0.6697 GB, free: 14.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0148/0.2808, allocations: 4.422 MB / 0.674 GB, free: 10.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.2809, allocations: 63.41 kB / 0.6741 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.281, allocations: 4 kB / 0.6741 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00622/0.2872, allocations: 1.63 MB / 0.6757 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.2887, allocations: 271.6 kB / 0.6759 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.3102, allocations: 8.611 MB / 0.6843 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.3123, allocations: 194.7 kB / 0.6845 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.3126, allocations: 47.98 kB / 0.6846 GB, free: 15.45 MB / 0.4981 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 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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002388/0.315, allocations: 0.9808 MB / 0.6855 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001821/0.3168, allocations: 0.9429 MB / 0.6864 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02471/0.3415, allocations: 5.747 MB / 0.692 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.858e-06/0.3416, allocations: 0 / 0.692 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=190) (initialization_lambda0): time 0.01449/0.3561, allocations: 4.398 MB / 0.6963 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.3562, allocations: 63.34 kB / 0.6964 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3562, allocations: 4 kB / 0.6964 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006154/0.3623, allocations: 1.625 MB / 0.698 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.3639, allocations: 271.6 kB / 0.6983 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/0.3852, allocations: 8.615 MB / 0.7067 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.3873, allocations: 175 kB / 0.7068 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002676/0.3876, allocations: 55.92 kB / 0.7069 GB, free: 8.25 MB / 0.5137 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 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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * 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: 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,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005753/0.3882, allocations: 284.4 kB / 0.7072 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/0.3886, allocations: 126.4 kB / 0.7073 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.4014, allocations: 3.794 MB / 0.711 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/0.4015, allocations: 3.984 kB / 0.711 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.4015, allocations: 11.92 kB / 0.711 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/0.402, allocations: 223.2 kB / 0.7112 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.4024, allocations: 27.98 kB / 0.7112 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.4038, allocations: 103.9 kB / 0.7113 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001019/0.4049, allocations: 416.4 kB / 0.7117 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006628/0.4115, allocations: 2.181 MB / 0.7139 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3344/0.746, allocations: 2.309 MB / 0.7161 GB, free: 84.8 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001552/0.7476, allocations: 0.5784 MB / 0.7167 GB, free: 84.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001571/0.7491, allocations: 0.7552 MB / 0.7174 GB, free: 84.69 MB / 0.5137 GB Notification: Performance of Backend: time 9.82e-07/0.7492, allocations: 5.312 kB / 0.7174 GB, free: 84.69 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01216/0.7613, allocations: 4.022 MB / 0.7214 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004211/0.7656, allocations: 2.96 MB / 0.7242 GB, free: 81.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.05191/0.8175, allocations: 34.21 MB / 0.7576 GB, free: 62.52 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)