Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008168/0.0008167, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 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.0009231/0.0009231, allocations: 164.5 kB / 291.3 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.5231/0.5231, allocations: 91.93 MB / 434.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 8 kB / 0.5054 GB, free: 7.219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3511, allocations: 72.47 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01568/0.3668, allocations: 22.66 MB / 0.5983 GB, free: 20.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.3783, allocations: 5.172 MB / 0.6034 GB, free: 16.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004496/0.3828, allocations: 55.22 kB / 0.6034 GB, free: 16.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3855, allocations: 0.672 MB / 0.6041 GB, free: 16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007672/0.3932, allocations: 1.739 MB / 0.6058 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.3983, allocations: 1.925 MB / 0.6076 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008914/0.4072, allocations: 5.509 MB / 0.613 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.4101, allocations: 1.139 MB / 0.6141 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.4146, allocations: 2.085 MB / 0.6162 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/0.4197, allocations: 2.731 MB / 0.6188 GB, free: 8.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002118/0.4218, allocations: 242.9 kB / 0.6191 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.425, allocations: 374.1 kB / 0.6194 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.4272, allocations: 0.9465 MB / 0.6203 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005862/0.4331, allocations: 2.418 MB / 0.6227 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008849/0.442, allocations: 4.684 MB / 0.6273 GB, free: 4.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.442, allocations: 0.7031 kB / 0.6273 GB, free: 4.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.596e-06/0.442, allocations: 0 / 0.6273 GB, free: 4.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003465/0.4424, allocations: 0 / 0.6273 GB, free: 4.332 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.0329/0.4753, allocations: 8.498 MB / 0.6356 GB, free: 340 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4754, allocations: 9.156 kB / 0.6356 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/0.5035, allocations: 4.052 MB / 0.6395 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007561/0.5111, allocations: 2.698 MB / 0.6422 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001321/0.5125, allocations: 0.9964 MB / 0.6432 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/0.5143, allocations: 344 kB / 0.6435 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.5303, allocations: 5.016 MB / 0.6484 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.5304, allocations: 0 / 0.6484 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001153/0.5316, allocations: 147.9 kB / 0.6485 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-05/0.5317, allocations: 84 kB / 0.6486 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.5437, allocations: 4.521 MB / 0.653 GB, free: 14.59 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.04349/0.5872, allocations: 18.91 MB / 0.6715 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/0.6021, allocations: 5.775 MB / 0.6771 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007144/0.6093, allocations: 3.058 MB / 0.6801 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/0.6101, allocations: 66.92 kB / 0.6802 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008799/0.6189, allocations: 3.462 MB / 0.6836 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 7.644e-06/0.619, allocations: 0 / 0.6836 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3335/0.9525, allocations: 80.4 MB / 0.7621 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.9526, allocations: 149.8 kB / 0.7622 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00735/0.96, allocations: 3.274 MB / 0.7654 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/0.9613, allocations: 89.7 kB / 0.7655 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001833/0.9631, allocations: 1.967 MB / 0.7674 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002557/0.9657, allocations: 1.328 MB / 0.7687 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.9671, allocations: 350.9 kB / 0.769 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9673, allocations: 305.1 kB / 0.7693 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007255/0.9745, allocations: 2.886 MB / 0.7722 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2952/1.27, allocations: 3.507 MB / 0.7756 GB, free: 159 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07668/1.346, allocations: 21.03 MB / 0.7961 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.193e-05/1.347, allocations: 4.594 kB / 0.7961 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.06774/1.414, allocations: 21.03 MB / 0.8167 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.252e-05/1.414, allocations: 61.97 kB / 0.8167 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/1.414, allocations: 17.47 kB / 0.8167 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02736/1.442, allocations: 8.633 MB / 0.8252 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/1.446, allocations: 0.6821 MB / 0.8258 GB, free: 146 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09223/1.538, allocations: 35.41 MB / 0.8604 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007835/1.546, allocations: 0.7601 MB / 0.8612 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.547, allocations: 156 kB / 0.8613 GB, free: 110.8 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.004394/1.552, allocations: 0.671 MB / 0.862 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/1.554, allocations: 466.2 kB / 0.8624 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06121/1.615, allocations: 20.67 MB / 0.8826 GB, free: 88.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/1.615, allocations: 47.92 kB / 0.8827 GB, free: 88.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-05/1.615, allocations: 28 kB / 0.8827 GB, free: 88.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/1.615, allocations: 15.94 kB / 0.8827 GB, free: 88.81 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.07146/1.687, allocations: 25.72 MB / 0.9078 GB, free: 63.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/1.687, allocations: 0 / 0.9078 GB, free: 63.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.69, allocations: 395.5 kB / 0.9082 GB, free: 62.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02691/1.716, allocations: 8.684 MB / 0.9167 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/1.718, allocations: 71.98 kB / 0.9167 GB, free: 53.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0816/1.799, allocations: 32.69 MB / 0.9487 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.799, allocations: 0 / 0.9487 GB, free: 20.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06812/1.867, allocations: 24.35 MB / 0.9724 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002136/1.87, allocations: 0.5648 MB / 0.973 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002374/1.872, allocations: 64 kB / 0.9731 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006409/1.878, allocations: 0.5035 MB / 0.9735 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003911/1.882, allocations: 0.7724 MB / 0.9743 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009593/1.883, allocations: 99.92 kB / 0.9744 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004567/1.888, allocations: 2.145 MB / 0.9765 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.71e-07/1.888, allocations: 3.938 kB / 0.9765 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008596/1.897, allocations: 1.822 MB / 0.9783 GB, free: 6.469 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.00121/1.898, allocations: 197.8 kB / 0.9785 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.03004/1.928, allocations: 10.35 MB / 0.9886 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.928, allocations: 0 / 0.9886 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.02254/1.95, allocations: 7.08 MB / 0.9955 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006238/1.957, allocations: 382.4 kB / 0.9958 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.309/2.266, allocations: 10.09 MB / 1.006 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/2.268, allocations: 2.457 MB / 1.008 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/2.27, allocations: 265.1 kB / 1.008 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/2.27, allocations: 0 / 1.008 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1361/2.406, allocations: 88.42 MB / 1.095 GB, free: 124.7 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)