Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 101.3 kB / 15.98 MB, free: 6.348 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.326/1.326, allocations: 222.9 MB / 239.6 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.001297/0.001297, allocations: 188.5 kB / 289.9 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4642/0.4642, allocations: 78.53 MB / 418.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 75.88 kB / 497.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 68.18 MB / 0.5525 GB, free: 2.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.2438/0.391, allocations: 6.944 MB / 0.5593 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.3943, allocations: 2.022 MB / 0.5613 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.3947, allocations: 13.03 kB / 0.5613 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.3954, allocations: 182.4 kB / 0.5614 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.3969, allocations: 0.7169 MB / 0.5621 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.398, allocations: 0.5967 MB / 0.5627 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.3993, allocations: 1.632 MB / 0.5643 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004063/0.3997, allocations: 324.4 kB / 0.5646 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006009/0.4004, allocations: 0.6783 MB / 0.5653 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007505/0.4011, allocations: 0.8575 MB / 0.5661 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.4013, allocations: 125.6 kB / 0.5663 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.4017, allocations: 268.9 kB / 0.5665 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.402, allocations: 343.5 kB / 0.5668 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.4024, allocations: 0.691 MB / 0.5675 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.4034, allocations: 1.311 MB / 0.5688 GB, free: 34.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4034, allocations: 0 / 0.5688 GB, free: 34.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4034, allocations: 0 / 0.5688 GB, free: 34.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4034, allocations: 6.656 kB / 0.5688 GB, free: 34.17 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.007911/0.4113, allocations: 2.754 MB / 0.5715 GB, free: 33.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4114, allocations: 8.281 kB / 0.5715 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.416, allocations: 0.7859 MB / 0.5723 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.4172, allocations: 0.91 MB / 0.5732 GB, free: 32.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.4174, allocations: 262.4 kB / 0.5734 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.4176, allocations: 87.05 kB / 0.5735 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4195, allocations: 1.097 MB / 0.5746 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.4195, allocations: 4.938 kB / 0.5746 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.4196, allocations: 30.62 kB / 0.5746 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.4196, allocations: 16.75 kB / 0.5746 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4214, allocations: 1.003 MB / 0.5756 GB, free: 32.38 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.005512/0.4269, allocations: 3.88 MB / 0.5794 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006674/0.4336, allocations: 2.384 MB / 0.5817 GB, free: 29.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.435, allocations: 0.6841 MB / 0.5824 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.4351, allocations: 23.02 kB / 0.5824 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.4367, allocations: 0.8378 MB / 0.5832 GB, free: 29.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.146e-06/0.4368, allocations: 0 / 0.5832 GB, free: 29.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.0299/0.4667, allocations: 7.209 MB / 0.5903 GB, free: 27.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.4668, allocations: 114.7 kB / 0.5904 GB, free: 27.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.4687, allocations: 1.124 MB / 0.5915 GB, free: 27.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/0.469, allocations: 46.98 kB / 0.5915 GB, free: 27.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.4693, allocations: 0.4998 MB / 0.592 GB, free: 26.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.4696, allocations: 362.4 kB / 0.5923 GB, free: 26.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005619/0.4702, allocations: 293.3 kB / 0.5926 GB, free: 26.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.4703, allocations: 306.6 kB / 0.5929 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.4718, allocations: 0.7803 MB / 0.5937 GB, free: 25.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.4735, allocations: 0.9518 MB / 0.5946 GB, free: 25.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02425/0.4978, allocations: 5.818 MB / 0.6003 GB, free: 23.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.4978, allocations: 1.406 kB / 0.6003 GB, free: 23.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01495/0.5128, allocations: 4.449 MB / 0.6046 GB, free: 22.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.978e-05/0.5129, allocations: 63.06 kB / 0.6047 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.5129, allocations: 3.938 kB / 0.6047 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/0.5189, allocations: 1.639 MB / 0.6063 GB, free: 21.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.5205, allocations: 291.8 kB / 0.6066 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.5398, allocations: 8.608 MB / 0.615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.542, allocations: 206.2 kB / 0.6152 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.5424, allocations: 67.91 kB / 0.6152 GB, free: 14.77 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 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 (167): * Single equations (assignments): 164 * 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.0008262/0.5432, allocations: 303.8 kB / 0.6155 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.5436, allocations: 122.5 kB / 0.6156 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.5551, allocations: 3.907 MB / 0.6195 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.5551, allocations: 11.94 kB / 0.6195 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.183e-05/0.5552, allocations: 8 kB / 0.6195 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/0.5552, allocations: 3.984 kB / 0.6195 GB, free: 10.39 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 postOpt removeSimpleEquations (simulation): time 0.01369/0.5689, allocations: 5.512 MB / 0.6249 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.569, allocations: 0.75 kB / 0.6249 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/0.5697, allocations: 103.8 kB / 0.625 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/0.5746, allocations: 1.592 MB / 0.6265 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002407/0.5749, allocations: 20 kB / 0.6265 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.5945, allocations: 9.662 MB / 0.636 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5946, allocations: 0 / 0.636 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.6088, allocations: 4.774 MB / 0.6406 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005821/0.6094, allocations: 231.2 kB / 0.6409 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004953/0.6099, allocations: 23.94 kB / 0.6409 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.6114, allocations: 110 kB / 0.641 GB, free: 3.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006907/0.6121, allocations: 200.7 kB / 0.6412 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.6123, allocations: 23.98 kB / 0.6412 GB, free: 3.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001288/0.6136, allocations: 0.7631 MB / 0.6419 GB, free: 2.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6136, allocations: 0 / 0.6419 GB, free: 2.914 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001801/0.6154, allocations: 487.5 kB / 0.6424 GB, free: 2.438 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.6157, allocations: 136.5 kB / 0.6425 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/0.6226, allocations: 2.638 MB / 0.6451 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6227, allocations: 4.125 kB / 0.6451 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004135/0.6268, allocations: 1.572 MB / 0.6467 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.6283, allocations: 119.6 kB / 0.6468 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.6333, allocations: 2.845 MB / 0.6495 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.6341, allocations: 1.128 MB / 0.6506 GB, free: 9.906 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.6346, allocations: 87.41 kB / 0.6507 GB, free: 9.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6346, allocations: 0 / 0.6507 GB, free: 9.82 MB / 462.1 MB Notification: Performance of Templates: time 0.03136/0.6659, allocations: 23.88 MB / 0.6741 GB, free: 2.121 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)