Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 174.6 kB / 15.77 MB, free: 6.324 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.356/1.356, allocations: 223.3 MB / 239.8 MB, free: 1.73 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.0008748/0.0008748, allocations: 100.7 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4715/0.4715, allocations: 78.62 MB / 420.7 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003808, allocations: 8 kB / 0.4888 GB, free: 2.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4162, allocations: 69.35 MB / 0.5565 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01217/0.4284, allocations: 12.97 MB / 0.5692 GB, free: 32.39 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009388/0.4378, allocations: 3.499 MB / 0.5726 GB, free: 29.86 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.4415, allocations: 35.28 kB / 0.5726 GB, free: 29.86 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4431, allocations: 398.5 kB / 0.573 GB, free: 29.68 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.4486, allocations: 1.205 MB / 0.5742 GB, free: 28.86 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003635/0.4522, allocations: 1.294 MB / 0.5754 GB, free: 28.2 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004926/0.4572, allocations: 3.405 MB / 0.5788 GB, free: 26.46 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.4583, allocations: 0.6962 MB / 0.5794 GB, free: 26.13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.4603, allocations: 1.337 MB / 0.5808 GB, free: 25.53 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.4623, allocations: 1.76 MB / 0.5825 GB, free: 24.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004296/0.4627, allocations: 145.1 kB / 0.5826 GB, free: 24.76 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.4636, allocations: 270.6 kB / 0.5829 GB, free: 24.72 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.4641, allocations: 0.6003 MB / 0.5835 GB, free: 24.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.4647, allocations: 0.5279 MB / 0.584 GB, free: 24.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.4672, allocations: 2.997 MB / 0.5869 GB, free: 23.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4672, allocations: 2.812 kB / 0.5869 GB, free: 23.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4672, allocations: 0 / 0.5869 GB, free: 23.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.624e-05/0.4673, allocations: 4 kB / 0.5869 GB, free: 23.12 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02085/0.4882, allocations: 6.254 MB / 0.593 GB, free: 20.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4882, allocations: 8.969 kB / 0.593 GB, free: 20.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.5028, allocations: 2.305 MB / 0.5953 GB, free: 20.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/0.5077, allocations: 1.806 MB / 0.597 GB, free: 19.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006804/0.5084, allocations: 0.7558 MB / 0.5978 GB, free: 18.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.5089, allocations: 222.3 kB / 0.598 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007323/0.5163, allocations: 3.241 MB / 0.6011 GB, free: 17.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.5163, allocations: 0 / 0.6011 GB, free: 17.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.5166, allocations: 85.97 kB / 0.6012 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/0.5166, allocations: 57.19 kB / 0.6013 GB, free: 17.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006481/0.5231, allocations: 2.985 MB / 0.6042 GB, free: 16.38 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.02214/0.5453, allocations: 10.2 MB / 0.6142 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/0.5583, allocations: 4.891 MB / 0.6189 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005435/0.5638, allocations: 2.18 MB / 0.6211 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/0.5642, allocations: 45.95 kB / 0.6211 GB, free: 7.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005044/0.5692, allocations: 2.436 MB / 0.6235 GB, free: 5.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 7.564e-06/0.5693, allocations: 7.938 kB / 0.6235 GB, free: 5.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.1315/0.7008, allocations: 35.36 MB / 0.658 GB, free: 1.547 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.7009, allocations: 180.2 kB / 0.6582 GB, free: 1.332 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/0.7052, allocations: 2.325 MB / 0.6605 GB, free: 14.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008757/0.7061, allocations: 65.7 kB / 0.6605 GB, free: 14.92 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.7071, allocations: 1.176 MB / 0.6617 GB, free: 13.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.7086, allocations: 0.8819 MB / 0.6625 GB, free: 12.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/0.7093, allocations: 68 kB / 0.6626 GB, free: 12.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.7095, allocations: 429 kB / 0.663 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005/0.7145, allocations: 2.173 MB / 0.6651 GB, free: 10.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/0.7202, allocations: 2.552 MB / 0.6676 GB, free: 7.527 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005423/0.7257, allocations: 2.444 MB / 0.67 GB, free: 5.043 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.7257, allocations: 7.953 kB / 0.67 GB, free: 5.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.0464/0.7721, allocations: 15.31 MB / 0.685 GB, free: 5.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.7723, allocations: 118.8 kB / 0.6851 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.7723, allocations: 8 kB / 0.6851 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/0.7943, allocations: 6.497 MB / 0.6914 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/0.7977, allocations: 0.5734 MB / 0.692 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0683/0.866, allocations: 26.53 MB / 0.7179 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/0.8721, allocations: 0.587 MB / 0.7185 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009833/0.8731, allocations: 120 kB / 0.7186 GB, free: 2.902 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.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 order3_2.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.002426/0.8756, allocations: 0.5369 MB / 0.7191 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/0.8768, allocations: 304.2 kB / 0.7194 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04568/0.9225, allocations: 14.77 MB / 0.7338 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.9226, allocations: 28 kB / 0.7339 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-05/0.9227, allocations: 16 kB / 0.7339 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.286e-05/0.9228, allocations: 15.94 kB / 0.7339 GB, free: 3.121 MB / 0.5261 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.0533/0.9761, allocations: 18.41 MB / 0.7519 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.9762, allocations: 0 / 0.7519 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/0.978, allocations: 251.7 kB / 0.7521 GB, free: 252 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02082/0.9989, allocations: 6.271 MB / 0.7582 GB, free: 9.961 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001149/1, allocations: 51.98 kB / 0.7583 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3803/1.38, allocations: 25.49 MB / 0.7832 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.381, allocations: 8.766 kB / 0.7832 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05471/1.435, allocations: 17.35 MB / 0.8001 GB, free: 161 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.437, allocations: 419.8 kB / 0.8005 GB, free: 160.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000807/1.437, allocations: 51.31 kB / 0.8006 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003503/1.441, allocations: 406 kB / 0.801 GB, free: 160.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002434/1.443, allocations: 0.5775 MB / 0.8015 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.444, allocations: 65.98 kB / 0.8016 GB, free: 160.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002687/1.446, allocations: 1.526 MB / 0.8031 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.01e-07/1.446, allocations: 0 / 0.8031 GB, free: 159.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004617/1.451, allocations: 1.195 MB / 0.8043 GB, free: 159.8 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005361/1.452, allocations: 177.8 kB / 0.8044 GB, free: 159.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02104/1.473, allocations: 7.697 MB / 0.8119 GB, free: 157 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.473, allocations: 0 / 0.8119 GB, free: 157 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01443/1.487, allocations: 5.103 MB / 0.8169 GB, free: 155.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.49, allocations: 264.7 kB / 0.8172 GB, free: 155 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/1.498, allocations: 6.554 MB / 0.8236 GB, free: 149.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.499, allocations: 1.821 MB / 0.8254 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009066/1.5, allocations: 178.9 kB / 0.8255 GB, free: 148 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/1.5, allocations: 0 / 0.8255 GB, free: 148 MB / 0.5573 GB Notification: Performance of Templates: time 0.07458/1.575, allocations: 70.06 MB / 0.8939 GB, free: 80.46 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)