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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 102.3 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07294/0.07294, allocations: 12.58 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2875/0.2875, allocations: 78.51 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 103 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1427, allocations: 68.14 MB / 0.592 GB, free: 15.64 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008372/0.1511, allocations: 6.995 MB / 0.5988 GB, free: 8.605 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.1556, allocations: 2.006 MB / 0.6008 GB, free: 6.59 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.1568, allocations: 12 kB / 0.6008 GB, free: 6.578 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.1579, allocations: 190.8 kB / 0.601 GB, free: 6.391 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1605, allocations: 0.7209 MB / 0.6017 GB, free: 5.676 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1618, allocations: 0.604 MB / 0.6023 GB, free: 5.078 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.1636, allocations: 1.569 MB / 0.6038 GB, free: 3.504 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004198/0.1641, allocations: 289.3 kB / 0.6041 GB, free: 3.211 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.1648, allocations: 0.6066 MB / 0.6047 GB, free: 2.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008451/0.1656, allocations: 0.8204 MB / 0.6055 GB, free: 1.777 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.1658, allocations: 76 kB / 0.6055 GB, free: 1.703 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.1663, allocations: 199.9 kB / 0.6057 GB, free: 1.508 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.1666, allocations: 294.5 kB / 0.606 GB, free: 1.219 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.1671, allocations: 0.6289 MB / 0.6066 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1686, allocations: 1.642 MB / 0.6082 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1686, allocations: 0 / 0.6082 GB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1686, allocations: 0 / 0.6082 GB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1686, allocations: 0 / 0.6082 GB, free: 14.94 MB / 410.7 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.008781/0.1774, allocations: 2.762 MB / 0.6109 GB, free: 12.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.1775, allocations: 15.98 kB / 0.6109 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.1821, allocations: 0.7671 MB / 0.6117 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.1837, allocations: 0.9139 MB / 0.6126 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/0.184, allocations: 268.2 kB / 0.6128 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.1841, allocations: 84 kB / 0.6129 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.1861, allocations: 1.094 MB / 0.614 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.1862, allocations: 7.875 kB / 0.614 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.1863, allocations: 28 kB / 0.614 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1863, allocations: 20 kB / 0.614 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.1882, allocations: 0.9994 MB / 0.615 GB, free: 7.805 MB / 410.7 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.006202/0.1944, allocations: 3.879 MB / 0.6188 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.2018, allocations: 2.388 MB / 0.6211 GB, free: 1.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2033, allocations: 0.684 MB / 0.6218 GB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.2034, allocations: 20.97 kB / 0.6218 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/0.205, allocations: 0.8295 MB / 0.6226 GB, free: 15.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/0.205, allocations: 0 / 0.6226 GB, free: 15.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02834/0.2333, allocations: 7.214 MB / 0.6297 GB, free: 8.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.2334, allocations: 123.7 kB / 0.6298 GB, free: 8.289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.2354, allocations: 1.119 MB / 0.6309 GB, free: 7.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.2357, allocations: 49.72 kB / 0.6309 GB, free: 7.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003909/0.236, allocations: 0.4968 MB / 0.6314 GB, free: 6.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.2364, allocations: 366.9 kB / 0.6318 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.237, allocations: 291.4 kB / 0.632 GB, free: 5.945 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.41e-05/0.2371, allocations: 305.1 kB / 0.6323 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.2386, allocations: 0.7769 MB / 0.6331 GB, free: 4.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.2403, allocations: 0.9577 MB / 0.634 GB, free: 3.867 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2735/0.5138, allocations: 5.793 MB / 0.6397 GB, free: 49.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5139, allocations: 4.688 kB / 0.6397 GB, free: 49.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01474/0.5286, allocations: 4.448 MB / 0.644 GB, free: 48.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.5288, allocations: 63.92 kB / 0.6441 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5288, allocations: 3.781 kB / 0.6441 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006429/0.5352, allocations: 1.638 MB / 0.6457 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.5368, allocations: 286.9 kB / 0.646 GB, free: 47.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.5567, allocations: 7.938 MB / 0.6537 GB, free: 44.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.5589, allocations: 197.4 kB / 0.6539 GB, free: 44.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/0.5592, allocations: 57.59 kB / 0.654 GB, free: 44.28 MB / 426.7 MB 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.0008589/0.5601, allocations: 303.8 kB / 0.6543 GB, free: 44.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/0.5605, allocations: 135.5 kB / 0.6544 GB, free: 43.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.5735, allocations: 3.902 MB / 0.6582 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.5736, allocations: 10.19 kB / 0.6582 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/0.5736, allocations: 10.31 kB / 0.6582 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/0.5737, allocations: 7.625 kB / 0.6582 GB, free: 43.02 MB / 426.7 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 postOpt removeSimpleEquations (simulation): time 0.01484/0.5885, allocations: 5.513 MB / 0.6636 GB, free: 40.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.5886, allocations: 0 / 0.6636 GB, free: 40.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.5892, allocations: 109 kB / 0.6637 GB, free: 40.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.5945, allocations: 1.589 MB / 0.6653 GB, free: 39.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.5946, allocations: 15.56 kB / 0.6653 GB, free: 39.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/0.6115, allocations: 8.806 MB / 0.6739 GB, free: 31.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6116, allocations: 0 / 0.6739 GB, free: 31.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08908/0.7006, allocations: 33.3 MB / 0.7064 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005608/0.7013, allocations: 231.2 kB / 0.7066 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.7017, allocations: 16 kB / 0.7066 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.7032, allocations: 118.8 kB / 0.7067 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007429/0.7039, allocations: 208.4 kB / 0.7069 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.7041, allocations: 20 kB / 0.707 GB, free: 13.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001382/0.7055, allocations: 0.7631 MB / 0.7077 GB, free: 12.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7055, allocations: 0 / 0.7077 GB, free: 12.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002789/0.7083, allocations: 0.6675 MB / 0.7084 GB, free: 11.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003742/0.7087, allocations: 134.6 kB / 0.7085 GB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007277/0.716, allocations: 2.602 MB / 0.711 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.716, allocations: 0 / 0.711 GB, free: 9.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00451/0.7205, allocations: 1.583 MB / 0.7126 GB, free: 7.469 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.7219, allocations: 104.6 kB / 0.7127 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.7312, allocations: 4.284 MB / 0.7169 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.7322, allocations: 1.168 MB / 0.718 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006466/0.7329, allocations: 124.1 kB / 0.7181 GB, free: 1.703 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/0.7333, allocations: 83.41 kB / 0.7182 GB, free: 1.621 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.7333, allocations: 0 / 0.7182 GB, free: 1.621 MB / 442.7 MB Notification: Performance of Templates: time 0.05449/0.7878, allocations: 32.57 MB / 0.75 GB, free: 1.109 MB / 474.7 MB 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)