Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 115.2 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 240.1 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 196.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4392/0.4392, allocations: 78.54 MB / 419.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 83.88 kB / 0.5544 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3192, allocations: 68.16 MB / 0.6209 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01028/0.3295, allocations: 13.58 MB / 0.6342 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007664/0.3372, allocations: 3.464 MB / 0.6376 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002594/0.3398, allocations: 28 kB / 0.6376 GB, free: 9.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3417, allocations: 0.5615 MB / 0.6381 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005265/0.347, allocations: 1.574 MB / 0.6397 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.3507, allocations: 1.508 MB / 0.6412 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005251/0.356, allocations: 3.718 MB / 0.6448 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.3576, allocations: 0.8973 MB / 0.6457 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.36, allocations: 1.532 MB / 0.6472 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.3628, allocations: 1.952 MB / 0.6491 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.3638, allocations: 284 kB / 0.6493 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.3652, allocations: 431.9 kB / 0.6497 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.366, allocations: 0.7623 MB / 0.6505 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.3676, allocations: 1.627 MB / 0.6521 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.3717, allocations: 4 MB / 0.656 GB, free: 6.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3717, allocations: 0 / 0.656 GB, free: 6.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3717, allocations: 4 kB / 0.656 GB, free: 6.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.3718, allocations: 0 / 0.656 GB, free: 6.188 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02207/0.3938, allocations: 6.681 MB / 0.6625 GB, free: 15.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3939, allocations: 12.03 kB / 0.6625 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.4088, allocations: 2.292 MB / 0.6648 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.413, allocations: 1.896 MB / 0.6666 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008176/0.4138, allocations: 0.7289 MB / 0.6673 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000907/0.4148, allocations: 219.9 kB / 0.6675 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007962/0.4227, allocations: 3.031 MB / 0.6705 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.03e-05/0.4228, allocations: 3.984 kB / 0.6705 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/0.4233, allocations: 87.94 kB / 0.6706 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.4234, allocations: 51.98 kB / 0.6706 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006562/0.43, allocations: 2.776 MB / 0.6733 GB, free: 4.035 MB / 478.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.02028/0.4503, allocations: 9.811 MB / 0.6829 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.4613, allocations: 4.184 MB / 0.687 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004364/0.4657, allocations: 1.96 MB / 0.6889 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.4662, allocations: 41.95 kB / 0.689 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005281/0.4715, allocations: 2.232 MB / 0.6911 GB, free: 1.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 7.143e-06/0.4716, allocations: 0 / 0.6911 GB, free: 1.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=247): time 0.1268/0.5984, allocations: 29.48 MB / 0.7199 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.5985, allocations: 180.2 kB / 0.7201 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/0.6019, allocations: 2.281 MB / 0.7223 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006002/0.6025, allocations: 73.7 kB / 0.7224 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008403/0.6034, allocations: 1.189 MB / 0.7236 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.6045, allocations: 0.9063 MB / 0.7245 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.6056, allocations: 0.558 MB / 0.725 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.6057, allocations: 305.1 kB / 0.7253 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004214/0.61, allocations: 1.943 MB / 0.7272 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004513/0.6145, allocations: 2.318 MB / 0.7295 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05498/0.6695, allocations: 13.99 MB / 0.7431 GB, free: 11.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.6695, allocations: 7.938 kB / 0.7431 GB, free: 11.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04012/0.7097, allocations: 12.29 MB / 0.7551 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.7098, allocations: 125 kB / 0.7552 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.7098, allocations: 7.984 kB / 0.7553 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/0.728, allocations: 5.317 MB / 0.7604 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/0.7311, allocations: 0.5617 MB / 0.761 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3214/1.052, allocations: 23.52 MB / 0.784 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004146/1.057, allocations: 492.6 kB / 0.7844 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/1.057, allocations: 118 kB / 0.7845 GB, free: 121.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.058, allocations: 0.5362 MB / 0.7851 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/1.059, allocations: 308.7 kB / 0.7854 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03509/1.094, allocations: 11.91 MB / 0.797 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/1.094, allocations: 11.58 kB / 0.797 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.094, allocations: 3.844 kB / 0.797 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/1.095, allocations: 423.5 kB / 0.7974 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/1.095, allocations: 43.84 kB / 0.7974 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.098, allocations: 300.8 kB / 0.7977 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004145/1.102, allocations: 1.415 MB / 0.7991 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01485/1.117, allocations: 5.889 MB / 0.8049 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01071/1.128, allocations: 5.908 MB / 0.8106 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003237/1.131, allocations: 1.611 MB / 0.8122 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001953/1.133, allocations: 1.508 MB / 0.8137 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of Backend: time 5.81e-07/1.133, allocations: 0 / 0.8137 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.147, allocations: 5.194 MB / 0.8188 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006982/1.154, allocations: 6.329 MB / 0.8249 GB, free: 94.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.07496/1.229, allocations: 60.66 MB / 0.8842 GB, free: 33.9 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)