Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07888/0.07888, allocations: 12.6 MB / 28.91 MB, free: 0.5977 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.001083/0.001083, allocations: 111.5 kB / 32.51 MB, free: 3.531 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.401/1.401, 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.001398/0.001398, allocations: 195.4 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4557/0.4557, allocations: 78.51 MB / 420 MB, free: 11.25 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.002615/0.002615, allocations: 144.4 kB / 0.5565 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1363, allocations: 68.12 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007044/0.1434, allocations: 6.699 MB / 0.6296 GB, free: 8.676 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.1477, allocations: 1.951 MB / 0.6315 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009064/0.1487, allocations: 12 kB / 0.6315 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.1495, allocations: 237.9 kB / 0.6318 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.1516, allocations: 0.8836 MB / 0.6326 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.1529, allocations: 0.6274 MB / 0.6332 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1546, allocations: 1.647 MB / 0.6348 GB, free: 3.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.1551, allocations: 322.4 kB / 0.6351 GB, free: 2.988 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.1559, allocations: 0.6808 MB / 0.6358 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008496/0.1568, allocations: 0.8635 MB / 0.6367 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.157, allocations: 128 kB / 0.6368 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.1574, allocations: 255.9 kB / 0.637 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.1577, allocations: 346.5 kB / 0.6374 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.1583, allocations: 0.6874 MB / 0.638 GB, free: 32 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.1599, allocations: 1.701 MB / 0.6397 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1599, allocations: 0 / 0.6397 GB, free: 14.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.903e-06/0.1599, allocations: 3.984 kB / 0.6397 GB, free: 14.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.1599, allocations: 4 kB / 0.6397 GB, free: 14.32 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009314/0.1693, allocations: 2.754 MB / 0.6424 GB, free: 11.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1693, allocations: 11.98 kB / 0.6424 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.1745, allocations: 0.7748 MB / 0.6431 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.1762, allocations: 0.9101 MB / 0.644 GB, free: 9.742 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.1765, allocations: 264.2 kB / 0.6443 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.1767, allocations: 83.91 kB / 0.6444 GB, free: 9.363 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.1789, allocations: 1.098 MB / 0.6454 GB, free: 8.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1789, allocations: 15.84 kB / 0.6455 GB, free: 8.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.179, allocations: 32 kB / 0.6455 GB, free: 8.207 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.179, allocations: 16 kB / 0.6455 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.1811, allocations: 0.9955 MB / 0.6465 GB, free: 7.195 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.006664/0.1878, allocations: 3.871 MB / 0.6503 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007596/0.1954, allocations: 2.384 MB / 0.6526 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.197, allocations: 0.6918 MB / 0.6533 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.1972, allocations: 12.98 kB / 0.6533 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.1988, allocations: 0.8217 MB / 0.6541 GB, free: 15.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.156e-06/0.1988, allocations: 0 / 0.6541 GB, free: 15.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02956/0.2284, allocations: 7.229 MB / 0.6611 GB, free: 7.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.2285, allocations: 115.8 kB / 0.6612 GB, free: 7.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.2302, allocations: 1.119 MB / 0.6623 GB, free: 6.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.2304, allocations: 45.7 kB / 0.6624 GB, free: 6.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.2308, allocations: 0.5007 MB / 0.6629 GB, free: 6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.2311, allocations: 362.8 kB / 0.6632 GB, free: 5.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004791/0.2316, allocations: 295.4 kB / 0.6635 GB, free: 5.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.2317, allocations: 309.1 kB / 0.6638 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.2333, allocations: 0.7808 MB / 0.6646 GB, free: 4.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.2351, allocations: 0.9537 MB / 0.6655 GB, free: 3.266 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02469/0.2598, allocations: 5.79 MB / 0.6711 GB, free: 13.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.2598, allocations: 0 / 0.6711 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01474/0.2746, allocations: 4.45 MB / 0.6755 GB, free: 8.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.2747, allocations: 67.33 kB / 0.6755 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.2747, allocations: 4 kB / 0.6756 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006156/0.2809, allocations: 1.634 MB / 0.6771 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.2824, allocations: 295.6 kB / 0.6774 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/0.3036, allocations: 8.592 MB / 0.6858 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/0.3057, allocations: 210.7 kB / 0.686 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.306, allocations: 55.97 kB / 0.6861 GB, free: 13.89 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: 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 (167): * Single equations (assignments): 164 * 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,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008493/0.3069, allocations: 308.3 kB / 0.6864 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.3073, allocations: 130.4 kB / 0.6865 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.3205, allocations: 3.893 MB / 0.6903 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/0.3206, allocations: 7.984 kB / 0.6903 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3206, allocations: 0 / 0.6903 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005121/0.3211, allocations: 227.2 kB / 0.6905 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.3215, allocations: 23.94 kB / 0.6905 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.323, allocations: 119.8 kB / 0.6907 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/0.3241, allocations: 436.3 kB / 0.6911 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007059/0.3312, allocations: 2.287 MB / 0.6933 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004733/0.3359, allocations: 2.304 MB / 0.6956 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00134/0.3373, allocations: 0.5778 MB / 0.6961 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001397/0.3387, allocations: 0.7591 MB / 0.6969 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of Backend: time 8.02e-07/0.3387, allocations: 0 / 0.6969 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.3456, allocations: 2.155 MB / 0.699 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004325/0.35, allocations: 2.982 MB / 0.7019 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.3349/0.6849, allocations: 23.43 MB / 0.7248 GB, free: 86.37 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)