Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1308/0.1308, allocations: 12.6 MB / 28.91 MB, free: 0.5938 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.001548/0.001547, allocations: 103.5 kB / 32.5 MB, free: 3.539 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.379/1.379, allocations: 205.1 MB / 241.1 MB, free: 12.35 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.001527/0.001527, allocations: 188.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4758/0.4758, allocations: 78.5 MB / 420 MB, free: 11.26 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.002614/0.002614, allocations: 142.3 kB / 0.5565 GB, free: 28.45 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1383, allocations: 68.12 MB / 0.6231 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.006785/0.1451, allocations: 6.484 MB / 0.6294 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.1488, allocations: 1.955 MB / 0.6313 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.1493, allocations: 15.94 kB / 0.6313 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.15, allocations: 234 kB / 0.6316 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.1518, allocations: 0.8529 MB / 0.6324 GB, free: 5.844 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1531, allocations: 0.6551 MB / 0.633 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.1546, allocations: 1.549 MB / 0.6345 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.155, allocations: 318.4 kB / 0.6348 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006906/0.1557, allocations: 0.6379 MB / 0.6355 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008191/0.1565, allocations: 0.8091 MB / 0.6363 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.1567, allocations: 120 kB / 0.6364 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1572, allocations: 259.8 kB / 0.6366 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.1575, allocations: 330.6 kB / 0.6369 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005227/0.158, allocations: 0.6641 MB / 0.6376 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1596, allocations: 1.649 MB / 0.6392 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1596, allocations: 0 / 0.6392 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1596, allocations: 0 / 0.6392 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.1596, allocations: 3.938 kB / 0.6392 GB, free: 14.84 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.008071/0.1677, allocations: 2.714 MB / 0.6418 GB, free: 12.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.1678, allocations: 11.98 kB / 0.6419 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004892/0.1727, allocations: 0.7796 MB / 0.6426 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.1744, allocations: 0.9068 MB / 0.6435 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/0.1747, allocations: 222.5 kB / 0.6437 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.175, allocations: 87.95 kB / 0.6438 GB, free: 9.969 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.1773, allocations: 1.091 MB / 0.6449 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.1774, allocations: 0 / 0.6449 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/0.1775, allocations: 35.94 kB / 0.6449 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1775, allocations: 20 kB / 0.6449 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1796, allocations: 0.9994 MB / 0.6459 GB, free: 7.809 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.007144/0.1868, allocations: 3.843 MB / 0.6496 GB, free: 3.773 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007275/0.1941, allocations: 2.341 MB / 0.6519 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.1955, allocations: 0.6879 MB / 0.6526 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.1956, allocations: 12.98 kB / 0.6526 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1957, allocations: 43.56 kB / 0.6527 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.025e-06/0.1957, allocations: 0 / 0.6527 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of matching and sorting (n=93): time 0.02661/0.2223, allocations: 6.853 MB / 0.6594 GB, free: 9.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.2224, allocations: 141.5 kB / 0.6595 GB, free: 9.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.2245, allocations: 1.071 MB / 0.6605 GB, free: 8.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.2247, allocations: 45.7 kB / 0.6606 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.2252, allocations: 0.4936 MB / 0.6611 GB, free: 7.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005035/0.2257, allocations: 364.9 kB / 0.6614 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006695/0.2264, allocations: 275.5 kB / 0.6617 GB, free: 7.246 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2265, allocations: 305.1 kB / 0.662 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2281, allocations: 0.7621 MB / 0.6627 GB, free: 6.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.2299, allocations: 0.9389 MB / 0.6636 GB, free: 5.195 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02264/0.2526, allocations: 5.556 MB / 0.669 GB, free: 15.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.2526, allocations: 0 / 0.669 GB, free: 15.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01356/0.2662, allocations: 4.313 MB / 0.6733 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.2663, allocations: 71.39 kB / 0.6733 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.2663, allocations: 4 kB / 0.6733 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005371/0.2717, allocations: 1.52 MB / 0.6748 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.2732, allocations: 275.6 kB / 0.6751 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01925/0.2925, allocations: 8.258 MB / 0.6831 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.2945, allocations: 199.2 kB / 0.6833 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.2949, allocations: 55.97 kB / 0.6834 GB, free: 0.6758 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002572/0.2974, allocations: 0.9383 MB / 0.6843 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001907/0.2994, allocations: 0.9233 MB / 0.6852 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02304/0.3224, allocations: 5.528 MB / 0.6906 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/0.3225, allocations: 0 / 0.6906 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=186) (initialization_lambda0): time 0.01339/0.3359, allocations: 4.297 MB / 0.6948 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/0.336, allocations: 63.34 kB / 0.6949 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.336, allocations: 4 kB / 0.6949 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005232/0.3412, allocations: 1.523 MB / 0.6964 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.3428, allocations: 279.6 kB / 0.6966 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.3617, allocations: 8.243 MB / 0.7047 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.3636, allocations: 171.4 kB / 0.7048 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/0.3639, allocations: 51.98 kB / 0.7049 GB, free: 10.34 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 (156): * 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: 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 {(20,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000576/0.3645, allocations: 300.1 kB / 0.7052 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/0.3649, allocations: 127.2 kB / 0.7053 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.377, allocations: 3.759 MB / 0.709 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.3771, allocations: 7.984 kB / 0.709 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3771, allocations: 4 kB / 0.709 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.3777, allocations: 227.9 kB / 0.7092 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.3781, allocations: 24 kB / 0.7092 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.3795, allocations: 103.9 kB / 0.7093 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.3806, allocations: 424.3 kB / 0.7097 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005934/0.3865, allocations: 2.134 MB / 0.7118 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004468/0.391, allocations: 2.281 MB / 0.714 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001248/0.3923, allocations: 0.57 MB / 0.7146 GB, free: 292 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.284/0.6763, allocations: 0.7247 MB / 0.7153 GB, free: 84.24 MB / 0.5137 GB Notification: Performance of Backend: time 3.486e-06/0.6764, allocations: 0 / 0.7153 GB, free: 84.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01256/0.6889, allocations: 3.947 MB / 0.7191 GB, free: 83.54 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004774/0.6938, allocations: 2.93 MB / 0.722 GB, free: 82.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.05574/0.7495, allocations: 32.96 MB / 0.7542 GB, free: 65.57 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)