Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 114.2 kB / 16.37 MB, free: 6.012 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 / 240 MB, free: 4.391 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.001542/0.001542, allocations: 188.5 kB / 290.3 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5131/0.5131, allocations: 91.89 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 84.08 kB / 0.5033 GB, free: 6.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3768, allocations: 71.26 MB / 0.5729 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005944/0.3828, allocations: 6.584 MB / 0.5793 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.3869, allocations: 1.961 MB / 0.5812 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009244/0.3878, allocations: 11.53 kB / 0.5812 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007325/0.3886, allocations: 239.1 kB / 0.5815 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3905, allocations: 0.8004 MB / 0.5822 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3917, allocations: 0.6304 MB / 0.5829 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.393, allocations: 1.583 MB / 0.5844 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.3935, allocations: 333.3 kB / 0.5847 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005944/0.3941, allocations: 0.6558 MB / 0.5854 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.3948, allocations: 0.8203 MB / 0.5862 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3949, allocations: 121.2 kB / 0.5863 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.3954, allocations: 259.5 kB / 0.5865 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.3956, allocations: 327 kB / 0.5868 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.396, allocations: 0.6681 MB / 0.5875 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.3975, allocations: 1.663 MB / 0.5891 GB, free: 27.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3975, allocations: 4 kB / 0.5891 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3975, allocations: 0 / 0.5891 GB, free: 27.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.3975, allocations: 1.281 kB / 0.5891 GB, free: 27.75 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008599/0.4061, allocations: 2.683 MB / 0.5917 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4062, allocations: 9.469 kB / 0.5918 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.4113, allocations: 0.7749 MB / 0.5925 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.413, allocations: 0.8835 MB / 0.5934 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4132, allocations: 261.5 kB / 0.5936 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.4134, allocations: 86.06 kB / 0.5937 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.4154, allocations: 1.085 MB / 0.5948 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4155, allocations: 0 / 0.5948 GB, free: 25.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/0.4156, allocations: 31.47 kB / 0.5948 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.4156, allocations: 20.94 kB / 0.5948 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.4175, allocations: 0.9934 MB / 0.5958 GB, free: 24.7 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.006795/0.4243, allocations: 3.824 MB / 0.5995 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.4317, allocations: 2.367 MB / 0.6018 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.433, allocations: 0.6775 MB / 0.6025 GB, free: 21.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.4331, allocations: 20.89 kB / 0.6025 GB, free: 21.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001602/0.4347, allocations: 0.8195 MB / 0.6033 GB, free: 21.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.988e-06/0.4348, allocations: 4.812 kB / 0.6033 GB, free: 21.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02912/0.4639, allocations: 7.081 MB / 0.6102 GB, free: 19.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.464, allocations: 123 kB / 0.6103 GB, free: 19.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.4664, allocations: 1.084 MB / 0.6114 GB, free: 19.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.4667, allocations: 42.39 kB / 0.6114 GB, free: 19.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.4672, allocations: 498.8 kB / 0.6119 GB, free: 18.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.4678, allocations: 357.1 kB / 0.6123 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009444/0.4687, allocations: 288.4 kB / 0.6125 GB, free: 18.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.4688, allocations: 302.2 kB / 0.6128 GB, free: 17.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.4706, allocations: 0.767 MB / 0.6136 GB, free: 17.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.4724, allocations: 0.9332 MB / 0.6145 GB, free: 17.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02295/0.4953, allocations: 5.576 MB / 0.6199 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4954, allocations: 0 / 0.6199 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0129/0.5083, allocations: 4.328 MB / 0.6242 GB, free: 9.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.975e-05/0.5084, allocations: 59.41 kB / 0.6242 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.5085, allocations: 4 kB / 0.6242 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/0.5132, allocations: 1.513 MB / 0.6257 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.5147, allocations: 303.5 kB / 0.626 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.532, allocations: 8.26 MB / 0.6341 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.5341, allocations: 198.8 kB / 0.6342 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/0.5345, allocations: 63.91 kB / 0.6343 GB, free: 14.81 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.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 (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009264/0.5354, allocations: 300.3 kB / 0.6346 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/0.5359, allocations: 134.3 kB / 0.6347 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.5485, allocations: 3.869 MB / 0.6385 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/0.5486, allocations: 12 kB / 0.6385 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.5486, allocations: 8 kB / 0.6385 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.009e-05/0.5486, allocations: 7.969 kB / 0.6385 GB, free: 10.45 MB / 446.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.01559/0.5642, allocations: 5.467 MB / 0.6439 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.5643, allocations: 3.984 kB / 0.6439 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007135/0.565, allocations: 95.84 kB / 0.644 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005495/0.5706, allocations: 1.59 MB / 0.6455 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/0.5708, allocations: 20 kB / 0.6455 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.5911, allocations: 9.638 MB / 0.6549 GB, free: 9.227 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5911, allocations: 4 kB / 0.6549 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.6055, allocations: 4.731 MB / 0.6596 GB, free: 4.457 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/0.6062, allocations: 223.3 kB / 0.6598 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/0.6067, allocations: 16 kB / 0.6598 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.6082, allocations: 111.9 kB / 0.6599 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006864/0.6089, allocations: 196.7 kB / 0.6601 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.6091, allocations: 20 kB / 0.6601 GB, free: 3.871 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.6104, allocations: 0.7274 MB / 0.6608 GB, free: 3.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6104, allocations: 0 / 0.6608 GB, free: 3.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00179/0.6122, allocations: 483.5 kB / 0.6613 GB, free: 2.664 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/0.6125, allocations: 132 kB / 0.6614 GB, free: 2.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00622/0.6187, allocations: 2.513 MB / 0.6639 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6188, allocations: 0 / 0.6639 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/0.623, allocations: 1.586 MB / 0.6654 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.6243, allocations: 110.6 kB / 0.6655 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/0.629, allocations: 2.255 MB / 0.6677 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.6298, allocations: 1.12 MB / 0.6688 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004842/0.6303, allocations: 116 kB / 0.6689 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.6306, allocations: 83.41 kB / 0.669 GB, free: 10.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6307, allocations: 0 / 0.669 GB, free: 10.6 MB / 478.1 MB Notification: Performance of Templates: time 0.03669/0.6673, allocations: 23.44 MB / 0.6919 GB, free: 3.188 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)