Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.397/1.397, allocations: 222.9 MB / 238.8 MB, free: 4.738 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.001699/0.001698, allocations: 192.5 kB / 289.1 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5393/0.5393, allocations: 91.9 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001705, allocations: 71.89 kB / 0.5012 GB, free: 8.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4658, allocations: 71.26 MB / 0.5708 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01671/0.4825, allocations: 23.4 MB / 0.5936 GB, free: 20.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.4969, allocations: 5.144 MB / 0.5987 GB, free: 16.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007881/0.5048, allocations: 56.03 kB / 0.5987 GB, free: 16.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/0.5087, allocations: 0.6613 MB / 0.5994 GB, free: 16.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009475/0.5183, allocations: 1.75 MB / 0.6011 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00603/0.5243, allocations: 1.916 MB / 0.6029 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009762/0.5341, allocations: 5.433 MB / 0.6082 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002855/0.5369, allocations: 1.139 MB / 0.6094 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.5422, allocations: 2.156 MB / 0.6115 GB, free: 9.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006252/0.5485, allocations: 2.815 MB / 0.6142 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002438/0.5509, allocations: 285.8 kB / 0.6145 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.5552, allocations: 428.6 kB / 0.6149 GB, free: 8.223 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002944/0.5581, allocations: 1.005 MB / 0.6159 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008114/0.5663, allocations: 2.46 MB / 0.6183 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.5787, allocations: 5.979 MB / 0.6241 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5788, allocations: 0 / 0.6241 GB, free: 3.223 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5788, allocations: 0 / 0.6241 GB, free: 3.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003149/0.5791, allocations: 0 / 0.6241 GB, free: 3.223 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03669/0.6158, allocations: 9.158 MB / 0.6331 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.6159, allocations: 8.031 kB / 0.6331 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/0.6427, allocations: 4.005 MB / 0.637 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.6501, allocations: 2.647 MB / 0.6396 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009514/0.6511, allocations: 0.9651 MB / 0.6405 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009143/0.652, allocations: 340 kB / 0.6408 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009888/0.6619, allocations: 4.723 MB / 0.6454 GB, free: 2.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.662, allocations: 3.938 kB / 0.6454 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/0.6624, allocations: 148 kB / 0.6456 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.6624, allocations: 84 kB / 0.6457 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008773/0.6712, allocations: 4.248 MB / 0.6498 GB, free: 13.54 MB / 462.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.04151/0.7127, allocations: 18.35 MB / 0.6677 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.7261, allocations: 4.992 MB / 0.6726 GB, free: 4.938 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00704/0.7332, allocations: 2.783 MB / 0.6753 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.7345, allocations: 74.84 kB / 0.6754 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009008/0.7435, allocations: 3.169 MB / 0.6785 GB, free: 14.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=383): time 1.14e-05/0.7436, allocations: 3.984 kB / 0.6785 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=383): time 0.3096/1.053, allocations: 68.04 MB / 0.745 GB, free: 10.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.053, allocations: 145.8 kB / 0.7451 GB, free: 10.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006975/1.06, allocations: 3.214 MB / 0.7482 GB, free: 7.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/1.062, allocations: 97.64 kB / 0.7483 GB, free: 7.113 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001846/1.064, allocations: 1.97 MB / 0.7502 GB, free: 5.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00274/1.066, allocations: 1.313 MB / 0.7515 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00403/1.07, allocations: 0.6704 MB / 0.7522 GB, free: 3.113 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/1.07, allocations: 301.1 kB / 0.7525 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006162/1.077, allocations: 2.585 MB / 0.755 GB, free: 228 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007064/1.084, allocations: 3.225 MB / 0.7581 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3881/1.472, allocations: 18.78 MB / 0.7765 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-05/1.472, allocations: 2.781 kB / 0.7765 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05755/1.53, allocations: 17.24 MB / 0.7933 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/1.53, allocations: 69.11 kB / 0.7934 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/1.53, allocations: 15.31 kB / 0.7934 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02515/1.555, allocations: 7.158 MB / 0.8004 GB, free: 151 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/1.559, allocations: 0.6667 MB / 0.801 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07073/1.629, allocations: 30.62 MB / 0.831 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006584/1.636, allocations: 0.6249 MB / 0.8316 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007939/1.637, allocations: 147.5 kB / 0.8317 GB, free: 136.1 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002021/1.639, allocations: 0.6708 MB / 0.8324 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.64, allocations: 454.3 kB / 0.8328 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04902/1.689, allocations: 16.85 MB / 0.8492 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/1.689, allocations: 36 kB / 0.8493 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-05/1.689, allocations: 28 kB / 0.8493 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/1.689, allocations: 23.83 kB / 0.8493 GB, free: 118.1 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.05792/1.747, allocations: 21.85 MB / 0.8707 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-05/1.747, allocations: 0 / 0.8707 GB, free: 96.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/1.75, allocations: 387.5 kB / 0.871 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02486/1.775, allocations: 7.345 MB / 0.8782 GB, free: 88.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/1.776, allocations: 67.98 kB / 0.8783 GB, free: 88.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07393/1.85, allocations: 28.94 MB / 0.9065 GB, free: 59.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.85, allocations: 5.5 kB / 0.9065 GB, free: 59.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05934/1.91, allocations: 20.2 MB / 0.9263 GB, free: 38.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.912, allocations: 0.5648 MB / 0.9268 GB, free: 38.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/1.913, allocations: 60 kB / 0.9269 GB, free: 38.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004471/1.918, allocations: 379.5 kB / 0.9272 GB, free: 37.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003177/1.921, allocations: 0.7646 MB / 0.928 GB, free: 37.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/1.921, allocations: 92.86 kB / 0.9281 GB, free: 37.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002869/1.924, allocations: 2.109 MB / 0.9301 GB, free: 34.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.924, allocations: 0 / 0.9301 GB, free: 34.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006521/1.931, allocations: 1.798 MB / 0.9319 GB, free: 33.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006349/1.931, allocations: 195.4 kB / 0.9321 GB, free: 32.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02275/1.954, allocations: 9.154 MB / 0.941 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.954, allocations: 1.875 kB / 0.941 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01804/1.972, allocations: 6.146 MB / 0.947 GB, free: 17.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005709/1.978, allocations: 391 kB / 0.9474 GB, free: 17.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.993, allocations: 9.719 MB / 0.9569 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.995, allocations: 2.447 MB / 0.9593 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001882/1.997, allocations: 375.1 kB / 0.9596 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008548/1.998, allocations: 235.4 kB / 0.9599 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of SimCode: time 1.423e-06/1.998, allocations: 0 / 0.9599 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of Templates: time 0.4126/2.41, allocations: 81.52 MB / 1.039 GB, free: 170.7 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)