Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.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 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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008913, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.478/1.478, allocations: 223.3 MB / 239.4 MB, free: 5.402 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.001504/0.001504, allocations: 172.5 kB / 290.6 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5556/0.5556, allocations: 91.93 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004267, allocations: 12 kB / 0.5048 GB, free: 7.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 72.47 MB / 0.5755 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01017/0.4334, allocations: 13.98 MB / 0.5892 GB, free: 26.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008042/0.4415, allocations: 3.646 MB / 0.5927 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.4449, allocations: 30.75 kB / 0.5928 GB, free: 24.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4471, allocations: 439.3 kB / 0.5932 GB, free: 24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005857/0.453, allocations: 1.236 MB / 0.5944 GB, free: 23.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.4569, allocations: 1.422 MB / 0.5958 GB, free: 22.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.4629, allocations: 3.602 MB / 0.5993 GB, free: 20.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.4645, allocations: 0.7887 MB / 0.6001 GB, free: 20.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.4672, allocations: 1.364 MB / 0.6014 GB, free: 19.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.4702, allocations: 1.813 MB / 0.6032 GB, free: 18.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008418/0.4711, allocations: 145.5 kB / 0.6033 GB, free: 18.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.4724, allocations: 281.4 kB / 0.6036 GB, free: 18.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.473, allocations: 0.6198 MB / 0.6042 GB, free: 18.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.4746, allocations: 1.51 MB / 0.6057 GB, free: 17.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.4814, allocations: 3.782 MB / 0.6094 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4814, allocations: 0 / 0.6094 GB, free: 15.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.4814, allocations: 1.031 kB / 0.6094 GB, free: 15.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001966/0.4816, allocations: 4 kB / 0.6094 GB, free: 15.89 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02635/0.508, allocations: 6.221 MB / 0.6154 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.5081, allocations: 9.219 kB / 0.6154 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.5247, allocations: 2.305 MB / 0.6177 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006132/0.5309, allocations: 1.9 MB / 0.6196 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008971/0.5319, allocations: 0.7576 MB / 0.6203 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.5332, allocations: 220.1 kB / 0.6205 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009182/0.5424, allocations: 3.26 MB / 0.6237 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.5425, allocations: 0 / 0.6237 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.5428, allocations: 90.45 kB / 0.6238 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.5428, allocations: 50.16 kB / 0.6238 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007686/0.5505, allocations: 3 MB / 0.6267 GB, free: 8.703 MB / 430.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.02213/0.5727, allocations: 10.23 MB / 0.6367 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.5859, allocations: 4.903 MB / 0.6415 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005854/0.5918, allocations: 2.198 MB / 0.6437 GB, free: 6.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.5925, allocations: 41.88 kB / 0.6437 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006984/0.5995, allocations: 2.443 MB / 0.6461 GB, free: 4.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=250): time 9.388e-06/0.5996, allocations: 3.938 kB / 0.6461 GB, free: 4.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=250): time 0.1436/0.7432, allocations: 35.56 MB / 0.6808 GB, free: 0.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.7434, allocations: 184.2 kB / 0.681 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005993/0.7494, allocations: 2.337 MB / 0.6833 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/0.7505, allocations: 73.7 kB / 0.6834 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/0.7518, allocations: 1.172 MB / 0.6845 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001942/0.7538, allocations: 0.8858 MB / 0.6854 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.7551, allocations: 296.7 kB / 0.6856 GB, free: 11.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7552, allocations: 305.1 kB / 0.6859 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006165/0.7614, allocations: 2.181 MB / 0.6881 GB, free: 9.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006693/0.7682, allocations: 2.565 MB / 0.6906 GB, free: 6.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06609/0.8343, allocations: 15.81 MB / 0.706 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.8344, allocations: 7.938 kB / 0.706 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=425) (initialization): time 0.05455/0.8889, allocations: 15.43 MB / 0.7211 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.8891, allocations: 121.1 kB / 0.7212 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.8891, allocations: 8 kB / 0.7212 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02246/0.9116, allocations: 6.418 MB / 0.7275 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/0.9152, allocations: 0.5773 MB / 0.728 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07136/0.9866, allocations: 24.93 MB / 0.7524 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006055/0.9927, allocations: 0.5909 MB / 0.753 GB, free: 6.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/0.9938, allocations: 116 kB / 0.7531 GB, free: 6.137 MB / 0.545 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 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 (336): * Single equations (assignments): 331 * 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,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002725/0.9965, allocations: 0.5434 MB / 0.7536 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/0.998, allocations: 300.2 kB / 0.7539 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04996/1.048, allocations: 14.8 MB / 0.7683 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.048, allocations: 24 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.374e-05/1.048, allocations: 20 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.968e-05/1.048, allocations: 11.95 kB / 0.7684 GB, free: 6.328 MB / 0.5606 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.3669/1.415, allocations: 18.44 MB / 0.7864 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/1.415, allocations: 1.344 kB / 0.7864 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/1.417, allocations: 246.9 kB / 0.7866 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02171/1.439, allocations: 6.274 MB / 0.7928 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008861/1.44, allocations: 52.5 kB / 0.7928 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06297/1.503, allocations: 25.52 MB / 0.8177 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.503, allocations: 3.688 kB / 0.8177 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0475/1.55, allocations: 17.38 MB / 0.8347 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.552, allocations: 418.3 kB / 0.8351 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009317/1.553, allocations: 48 kB / 0.8352 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.557, allocations: 407.8 kB / 0.8356 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002237/1.559, allocations: 0.571 MB / 0.8361 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/1.559, allocations: 67.75 kB / 0.8362 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002195/1.561, allocations: 1.545 MB / 0.8377 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/1.561, allocations: 0 / 0.8377 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004014/1.565, allocations: 1.196 MB / 0.8389 GB, free: 133.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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.0004474/1.566, allocations: 170.8 kB / 0.839 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01832/1.584, allocations: 7.578 MB / 0.8464 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.584, allocations: 4.25 kB / 0.8464 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01494/1.599, allocations: 5.118 MB / 0.8514 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/1.603, allocations: 265.2 kB / 0.8517 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/1.612, allocations: 6.777 MB / 0.8583 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.613, allocations: 1.822 MB / 0.8601 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001406/1.615, allocations: 266.7 kB / 0.8603 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005893/1.615, allocations: 167.4 kB / 0.8605 GB, free: 112 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.615, allocations: 0 / 0.8605 GB, free: 112 MB / 0.5606 GB Notification: Performance of Templates: time 0.08881/1.704, allocations: 58.64 MB / 0.9178 GB, free: 53.38 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)