Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 169.3 kB / 16.1 MB, free: 5.691 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.283/1.283, allocations: 223.3 MB / 240.1 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000827/0.0008267, allocations: 94.28 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4401/0.4401, allocations: 78.61 MB / 421 MB, free: 9.125 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 11.94 kB / 0.4894 GB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 69.35 MB / 0.5571 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.008818/0.3019, allocations: 13.88 MB / 0.5707 GB, free: 4.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006995/0.3089, allocations: 3.609 MB / 0.5742 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002731/0.3117, allocations: 31.94 kB / 0.5743 GB, free: 1.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.3135, allocations: 437.1 kB / 0.5747 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.3183, allocations: 1.232 MB / 0.5759 GB, free: 15.54 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.322, allocations: 1.414 MB / 0.5773 GB, free: 14.14 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005006/0.327, allocations: 3.581 MB / 0.5808 GB, free: 10.55 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.3286, allocations: 0.7924 MB / 0.5815 GB, free: 9.703 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.3311, allocations: 1.349 MB / 0.5828 GB, free: 8.348 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/0.3338, allocations: 1.792 MB / 0.5846 GB, free: 6.547 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009296/0.3348, allocations: 144 kB / 0.5847 GB, free: 6.406 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.3362, allocations: 287.8 kB / 0.585 GB, free: 6.125 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.3374, allocations: 0.6217 MB / 0.5856 GB, free: 5.5 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.3399, allocations: 1.5 MB / 0.5871 GB, free: 3.984 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.343, allocations: 2.987 MB / 0.59 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3431, allocations: 0 / 0.59 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3431, allocations: 0 / 0.59 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.05e-05/0.3431, allocations: 0 / 0.59 GB, free: 0.9883 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0196/0.3627, allocations: 6.183 MB / 0.596 GB, free: 10.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3628, allocations: 11.97 kB / 0.596 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/0.3772, allocations: 2.302 MB / 0.5983 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.3814, allocations: 1.906 MB / 0.6002 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007272/0.3821, allocations: 0.7526 MB / 0.6009 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004421/0.3826, allocations: 216 kB / 0.6011 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006281/0.3889, allocations: 3.239 MB / 0.6043 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.3889, allocations: 4 kB / 0.6043 GB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.3892, allocations: 83.94 kB / 0.6043 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/0.3892, allocations: 48 kB / 0.6044 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005918/0.3951, allocations: 2.999 MB / 0.6073 GB, free: 14.87 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.01796/0.4131, allocations: 10.19 MB / 0.6173 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.4243, allocations: 4.887 MB / 0.622 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004514/0.4288, allocations: 2.175 MB / 0.6242 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.4292, allocations: 45.95 kB / 0.6242 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004752/0.434, allocations: 2.443 MB / 0.6266 GB, free: 10.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.809e-06/0.434, allocations: 0 / 0.6266 GB, free: 10.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=249): time 0.1218/0.5558, allocations: 33.64 MB / 0.6594 GB, free: 8.789 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.556, allocations: 180.2 kB / 0.6596 GB, free: 8.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.5596, allocations: 2.317 MB / 0.6619 GB, free: 6.238 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006699/0.5603, allocations: 73.7 kB / 0.6619 GB, free: 6.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009378/0.5613, allocations: 1.172 MB / 0.6631 GB, free: 4.977 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/0.5624, allocations: 0.8819 MB / 0.664 GB, free: 4.082 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.5628, allocations: 288.6 kB / 0.6642 GB, free: 3.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5629, allocations: 301.1 kB / 0.6645 GB, free: 3.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004557/0.5675, allocations: 2.177 MB / 0.6666 GB, free: 1.316 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004678/0.5722, allocations: 2.553 MB / 0.6691 GB, free: 14.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3156/0.8878, allocations: 15.67 MB / 0.6844 GB, free: 108.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/0.8878, allocations: 3.906 kB / 0.6844 GB, free: 108.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04526/0.9331, allocations: 15.37 MB / 0.6994 GB, free: 106.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.9332, allocations: 118.5 kB / 0.6996 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.9333, allocations: 7.844 kB / 0.6996 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01681/0.9501, allocations: 6.243 MB / 0.7057 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/0.9531, allocations: 0.5851 MB / 0.7062 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05331/1.006, allocations: 24.5 MB / 0.7302 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/1.011, allocations: 0.5835 MB / 0.7307 GB, free: 80.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/1.011, allocations: 116 kB / 0.7308 GB, free: 80.61 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001899/1.013, allocations: 0.5405 MB / 0.7314 GB, free: 80.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009362/1.014, allocations: 304.2 kB / 0.7317 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03677/1.051, allocations: 14.78 MB / 0.7461 GB, free: 64.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/1.051, allocations: 24 kB / 0.7461 GB, free: 64.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.741e-05/1.051, allocations: 20 kB / 0.7461 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.088e-05/1.051, allocations: 15.95 kB / 0.7461 GB, free: 64.82 MB / 490.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.04268/1.094, allocations: 18.41 MB / 0.7641 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.094, allocations: 0 / 0.7641 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.096, allocations: 251.7 kB / 0.7644 GB, free: 46.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01686/1.113, allocations: 6.284 MB / 0.7705 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006897/1.113, allocations: 52.86 kB / 0.7705 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05155/1.165, allocations: 25.52 MB / 0.7955 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.165, allocations: 4 kB / 0.7955 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04436/1.209, allocations: 17.36 MB / 0.8124 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.21, allocations: 418 kB / 0.8128 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.212, allocations: 47.98 kB / 0.8129 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.215, allocations: 419.7 kB / 0.8133 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00244/1.218, allocations: 0.5645 MB / 0.8138 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004635/1.218, allocations: 63.98 kB / 0.8139 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002978/1.221, allocations: 1.531 MB / 0.8154 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/1.221, allocations: 4 kB / 0.8154 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004801/1.226, allocations: 1.182 MB / 0.8165 GB, free: 8.105 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (158): * 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: 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 {(67,21,7.5%)} * 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.0006786/1.227, allocations: 181.5 kB / 0.8167 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01922/1.246, allocations: 7.547 MB / 0.8241 GB, free: 292 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.246, allocations: 0 / 0.8241 GB, free: 292 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0136/1.26, allocations: 5.108 MB / 0.8291 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.263, allocations: 267.5 kB / 0.8293 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.275, allocations: 6.755 MB / 0.8359 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.277, allocations: 1.818 MB / 0.8377 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009865/1.278, allocations: 179.4 kB / 0.8379 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of SimCode: time 7.72e-07/1.278, allocations: 0 / 0.8379 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of Templates: time 0.08922/1.367, allocations: 63.93 MB / 0.9003 GB, free: 2.047 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)