Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 169.7 kB / 16.1 MB, free: 5.688 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.327/1.327, allocations: 223.3 MB / 240.1 MB, free: 11.7 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.001045/0.001045, allocations: 95.14 kB / 291.3 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4845/0.4845, allocations: 78.62 MB / 421 MB, free: 9.113 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.000412, allocations: 12 kB / 0.4894 GB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 69.35 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005511/0.3387, allocations: 6.53 MB / 0.5635 GB, free: 12.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004546/0.3433, allocations: 2.044 MB / 0.5655 GB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.3449, allocations: 12 kB / 0.5655 GB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.346, allocations: 186.8 kB / 0.5657 GB, free: 10.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.349, allocations: 0.7328 MB / 0.5664 GB, free: 9.277 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3505, allocations: 0.6026 MB / 0.567 GB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002121/0.3526, allocations: 1.573 MB / 0.5685 GB, free: 7.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005903/0.3532, allocations: 289.4 kB / 0.5688 GB, free: 6.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.3543, allocations: 0.5909 MB / 0.5694 GB, free: 6.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.3555, allocations: 0.7893 MB / 0.5702 GB, free: 5.418 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004819/0.356, allocations: 64 kB / 0.5702 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008435/0.3568, allocations: 195.8 kB / 0.5704 GB, free: 5.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005158/0.3573, allocations: 278.6 kB / 0.5707 GB, free: 4.891 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009549/0.3583, allocations: 0.6461 MB / 0.5713 GB, free: 4.234 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.3596, allocations: 1.284 MB / 0.5726 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3596, allocations: 3.938 kB / 0.5726 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3596, allocations: 0 / 0.5726 GB, free: 2.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.694e-05/0.3597, allocations: 0 / 0.5726 GB, free: 2.945 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008118/0.3678, allocations: 2.587 MB / 0.5751 GB, free: 300 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3679, allocations: 12.03 kB / 0.5751 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.3728, allocations: 0.7904 MB / 0.5759 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.3746, allocations: 0.9257 MB / 0.5768 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.375, allocations: 268.2 kB / 0.577 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.3752, allocations: 87.91 kB / 0.5771 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.3775, allocations: 1.168 MB / 0.5783 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.3775, allocations: 0 / 0.5783 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.967e-05/0.3777, allocations: 32 kB / 0.5783 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.3777, allocations: 20 kB / 0.5783 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.3798, allocations: 1.07 MB / 0.5794 GB, free: 11.82 MB / 394.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.006874/0.3867, allocations: 4.004 MB / 0.5833 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007889/0.3946, allocations: 2.949 MB / 0.5861 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.3961, allocations: 0.7543 MB / 0.5869 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.3962, allocations: 24.95 kB / 0.5869 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001694/0.3979, allocations: 0.8958 MB / 0.5878 GB, free: 2.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.805e-06/0.3979, allocations: 0 / 0.5878 GB, free: 2.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.0285/0.4264, allocations: 8.644 MB / 0.5962 GB, free: 10.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.4265, allocations: 111.8 kB / 0.5963 GB, free: 10.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.4283, allocations: 1.151 MB / 0.5975 GB, free: 8.891 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4285, allocations: 45.7 kB / 0.5975 GB, free: 8.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.4289, allocations: 0.4931 MB / 0.598 GB, free: 8.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.4293, allocations: 370.8 kB / 0.5983 GB, free: 7.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.4295, allocations: 149.6 kB / 0.5985 GB, free: 7.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4296, allocations: 301.1 kB / 0.5988 GB, free: 7.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001686/0.4313, allocations: 0.8629 MB / 0.5996 GB, free: 6.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.4332, allocations: 1.032 MB / 0.6006 GB, free: 5.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02465/0.4579, allocations: 6.377 MB / 0.6068 GB, free: 15.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.4579, allocations: 0 / 0.6068 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01466/0.4726, allocations: 5.344 MB / 0.6121 GB, free: 9.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.4726, allocations: 59.41 kB / 0.6121 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4727, allocations: 4 kB / 0.6121 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/0.4789, allocations: 1.943 MB / 0.614 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4803, allocations: 295.6 kB / 0.6143 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.5001, allocations: 8.948 MB / 0.623 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.5022, allocations: 254.5 kB / 0.6233 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5023, allocations: 59.97 kB / 0.6233 GB, free: 14.03 MB / 442.7 MB 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 order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006327/0.503, allocations: 304.2 kB / 0.6236 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.5032, allocations: 130.4 kB / 0.6238 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.5165, allocations: 4.764 MB / 0.6284 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.5165, allocations: 12 kB / 0.6284 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5165, allocations: 4 kB / 0.6284 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.5166, allocations: 15.97 kB / 0.6284 GB, free: 8.77 MB / 442.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.01536/0.5319, allocations: 6.391 MB / 0.6347 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.532, allocations: 0 / 0.6347 GB, free: 2.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/0.5326, allocations: 103.8 kB / 0.6348 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005633/0.5382, allocations: 1.883 MB / 0.6366 GB, free: 284 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.5383, allocations: 16 kB / 0.6366 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.5578, allocations: 9.693 MB / 0.6461 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5578, allocations: 0 / 0.6461 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.573, allocations: 5.721 MB / 0.6517 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/0.5736, allocations: 231.2 kB / 0.6519 GB, free: 292 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.5738, allocations: 20 kB / 0.6519 GB, free: 272 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.575, allocations: 147.9 kB / 0.6521 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/0.5756, allocations: 188.7 kB / 0.6522 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.5757, allocations: 27.98 kB / 0.6523 GB, free: 15.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.5769, allocations: 0.7713 MB / 0.653 GB, free: 15.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5769, allocations: 0 / 0.653 GB, free: 15.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001435/0.5784, allocations: 491.6 kB / 0.6535 GB, free: 14.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.5787, allocations: 144 kB / 0.6536 GB, free: 14.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006803/0.5855, allocations: 2.901 MB / 0.6565 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5855, allocations: 0 / 0.6565 GB, free: 11.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004353/0.5898, allocations: 1.838 MB / 0.6583 GB, free: 9.676 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.5908, allocations: 121.6 kB / 0.6584 GB, free: 9.559 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.5953, allocations: 3.023 MB / 0.6613 GB, free: 6.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.596, allocations: 1.132 MB / 0.6624 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.5964, allocations: 83.41 kB / 0.6625 GB, free: 5.258 MB / 474.7 MB Notification: Performance of SimCode: time 5.1e-07/0.5964, allocations: 0 / 0.6625 GB, free: 5.258 MB / 474.7 MB Notification: Performance of Templates: time 0.285/0.8814, allocations: 24.06 MB / 0.686 GB, free: 116.5 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)