Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008083/0.0008084, allocations: 175.6 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.3 MB / 239.5 MB, free: 1.602 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007342/0.0007342, allocations: 95.34 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4075/0.4075, allocations: 78.61 MB / 420.4 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 12 kB / 0.4888 GB, free: 2.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3069, allocations: 69.34 MB / 0.5565 GB, free: 38.98 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.009316/0.3162, allocations: 13.7 MB / 0.5699 GB, free: 31.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007362/0.3236, allocations: 3.58 MB / 0.5734 GB, free: 29.07 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.3269, allocations: 32.03 kB / 0.5734 GB, free: 29.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.3284, allocations: 441.6 kB / 0.5738 GB, free: 28.89 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004868/0.3333, allocations: 1.223 MB / 0.575 GB, free: 28.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.3366, allocations: 1.404 MB / 0.5764 GB, free: 27.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004792/0.3414, allocations: 3.519 MB / 0.5798 GB, free: 25.56 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3428, allocations: 0.7896 MB / 0.5806 GB, free: 25.12 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.3448, allocations: 1.327 MB / 0.5819 GB, free: 24.5 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.3465, allocations: 1.773 MB / 0.5836 GB, free: 23.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003409/0.3468, allocations: 145.8 kB / 0.5838 GB, free: 23.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007522/0.3476, allocations: 269.6 kB / 0.584 GB, free: 23.64 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.348, allocations: 0.605 MB / 0.5846 GB, free: 23.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.3491, allocations: 1.49 MB / 0.5861 GB, free: 22.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.3515, allocations: 3.708 MB / 0.5897 GB, free: 20.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3515, allocations: 0 / 0.5897 GB, free: 20.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3515, allocations: 3 kB / 0.5897 GB, free: 20.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.412e-05/0.3516, allocations: 0 / 0.5897 GB, free: 20.88 MB / 426.7 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.01805/0.3696, allocations: 6.119 MB / 0.5957 GB, free: 18.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3697, allocations: 10.72 kB / 0.5957 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.3829, allocations: 2.295 MB / 0.5979 GB, free: 18.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003507/0.3864, allocations: 1.882 MB / 0.5998 GB, free: 17.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005904/0.387, allocations: 0.7539 MB / 0.6005 GB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.3875, allocations: 217.5 kB / 0.6007 GB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006099/0.3936, allocations: 3.226 MB / 0.6039 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.3937, allocations: 1.344 kB / 0.6039 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3939, allocations: 84.44 kB / 0.6039 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.3939, allocations: 53.75 kB / 0.604 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006026/0.4, allocations: 2.982 MB / 0.6069 GB, free: 14.09 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 preOpt removeSimpleEquations (simulation): time 0.01865/0.4186, allocations: 10.12 MB / 0.6168 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.4291, allocations: 4.863 MB / 0.6215 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.4331, allocations: 2.169 MB / 0.6237 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002946/0.4334, allocations: 41.95 kB / 0.6237 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.4373, allocations: 2.432 MB / 0.6261 GB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=247): time 3.997e-06/0.4373, allocations: 0 / 0.6261 GB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=247): time 0.1227/0.56, allocations: 36.49 MB / 0.6617 GB, free: 13.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.5602, allocations: 188.2 kB / 0.6619 GB, free: 13.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.5634, allocations: 2.281 MB / 0.6641 GB, free: 11.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008231/0.5642, allocations: 73.7 kB / 0.6642 GB, free: 10.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.5651, allocations: 1.168 MB / 0.6653 GB, free: 9.773 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009522/0.5661, allocations: 0.8703 MB / 0.6662 GB, free: 8.891 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.5665, allocations: 284.5 kB / 0.6664 GB, free: 8.605 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.5666, allocations: 305.1 kB / 0.6667 GB, free: 8.305 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004075/0.5706, allocations: 2.15 MB / 0.6688 GB, free: 6.152 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004365/0.575, allocations: 2.514 MB / 0.6713 GB, free: 3.547 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04954/0.6246, allocations: 15.43 MB / 0.6864 GB, free: 3.887 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.6246, allocations: 4 kB / 0.6864 GB, free: 3.883 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03945/0.6641, allocations: 15.1 MB / 0.7011 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.6642, allocations: 118.8 kB / 0.7012 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.6642, allocations: 11.94 kB / 0.7012 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01727/0.6815, allocations: 6.297 MB / 0.7074 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/0.6842, allocations: 0.5578 MB / 0.7079 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0548/0.739, allocations: 24.78 MB / 0.7321 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/0.7432, allocations: 0.5792 MB / 0.7327 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005136/0.7437, allocations: 124 kB / 0.7328 GB, free: 4.059 MB / 0.5261 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.00141/0.7451, allocations: 0.535 MB / 0.7333 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006888/0.7458, allocations: 300.3 kB / 0.7336 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03949/0.7853, allocations: 14.75 MB / 0.748 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.7854, allocations: 24 kB / 0.748 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.965e-05/0.7854, allocations: 20 kB / 0.7481 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.826e-05/0.7855, allocations: 15.95 kB / 0.7481 GB, free: 4.355 MB / 0.5417 GB 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.04393/0.8294, allocations: 18.34 MB / 0.766 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.8294, allocations: 0 / 0.766 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.8308, allocations: 243.6 kB / 0.7662 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2145/1.045, allocations: 6.262 MB / 0.7723 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004958/1.046, allocations: 47.72 kB / 0.7724 GB, free: 162.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04787/1.094, allocations: 25.54 MB / 0.7973 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.094, allocations: 0 / 0.7973 GB, free: 155.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04388/1.138, allocations: 17.3 MB / 0.8142 GB, free: 152 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/1.139, allocations: 420.2 kB / 0.8146 GB, free: 151.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.139, allocations: 49.09 kB / 0.8147 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/1.142, allocations: 406.2 kB / 0.815 GB, free: 151.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001865/1.143, allocations: 0.5672 MB / 0.8156 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.144, allocations: 67.16 kB / 0.8157 GB, free: 151.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001731/1.145, allocations: 1.511 MB / 0.8171 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.145, allocations: 0 / 0.8171 GB, free: 150.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002408/1.148, allocations: 1.167 MB / 0.8183 GB, free: 150.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/1.148, allocations: 173.7 kB / 0.8184 GB, free: 150.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01467/1.163, allocations: 7.488 MB / 0.8258 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.163, allocations: 128 / 0.8258 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.174, allocations: 5.092 MB / 0.8307 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.176, allocations: 261.9 kB / 0.831 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/1.183, allocations: 6.525 MB / 0.8374 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/1.184, allocations: 1.809 MB / 0.8391 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009481/1.185, allocations: 261.3 kB / 0.8394 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/1.185, allocations: 159.6 kB / 0.8395 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/1.185, allocations: 0 / 0.8395 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.0691/1.254, allocations: 57.77 MB / 0.8959 GB, free: 79.38 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)