Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.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 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.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 86.11 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4738/0.4738, allocations: 78.07 MB / 409.3 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.562e-05, allocations: 4 kB / 484.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 69.37 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4655, allocations: 97.8 MB / 0.6368 GB, free: 1.746 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.4657, allocations: 79.95 kB / 0.6369 GB, free: 1.668 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06466/0.5304, allocations: 25.41 MB / 0.6617 GB, free: 8.312 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.5304, allocations: 4 kB / 0.6617 GB, free: 8.309 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.314e-05/0.5305, allocations: 27.94 kB / 0.6617 GB, free: 8.281 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004957/0.5355, allocations: 1.766 MB / 0.6634 GB, free: 6.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5355, allocations: 12.03 kB / 0.6635 GB, free: 6.457 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.5388, allocations: 0.5564 MB / 0.664 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.5403, allocations: 0.7285 MB / 0.6647 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.5405, allocations: 240.2 kB / 0.6649 GB, free: 4.844 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5407, allocations: 48 kB / 0.665 GB, free: 4.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/0.5421, allocations: 0.8201 MB / 0.6658 GB, free: 3.977 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5436, allocations: 0.757 MB / 0.6665 GB, free: 3.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5436, allocations: 4 kB / 0.6665 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.5437, allocations: 0 / 0.6665 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5437, allocations: 19.98 kB / 0.6665 GB, free: 3.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/0.5498, allocations: 3.429 MB / 0.6699 GB, free: 15.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.5512, allocations: 1.196 MB / 0.6711 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008141/0.552, allocations: 0.5583 MB / 0.6716 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.5521, allocations: 20.69 kB / 0.6716 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5522, allocations: 43.34 kB / 0.6717 GB, free: 13.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.635e-06/0.5522, allocations: 0 / 0.6717 GB, free: 13.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01231/0.5645, allocations: 3.996 MB / 0.6756 GB, free: 9.668 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.5646, allocations: 64.19 kB / 0.6756 GB, free: 9.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.5659, allocations: 0.6873 MB / 0.6763 GB, free: 8.887 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.5661, allocations: 25.7 kB / 0.6763 GB, free: 8.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.5665, allocations: 0.5009 MB / 0.6768 GB, free: 8.348 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.5669, allocations: 323 kB / 0.6771 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.567, allocations: 0 / 0.6771 GB, free: 8.027 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5671, allocations: 345.9 kB / 0.6775 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.5678, allocations: 428 kB / 0.6779 GB, free: 7.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.5686, allocations: 0.516 MB / 0.6784 GB, free: 6.719 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.5693, allocations: 471.5 kB / 0.6788 GB, free: 6.262 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.5693, allocations: 3.953 kB / 0.6788 GB, free: 6.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0122/0.5815, allocations: 4.09 MB / 0.6828 GB, free: 2.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5816, allocations: 4 kB / 0.6828 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.5816, allocations: 4 kB / 0.6828 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005609/0.5872, allocations: 1.68 MB / 0.6845 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/0.5882, allocations: 175.8 kB / 0.6846 GB, free: 296 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.6026, allocations: 7.071 MB / 0.6915 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.6041, allocations: 183.2 kB / 0.6917 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.6042, allocations: 34.48 kB / 0.6917 GB, free: 8.879 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.6045, allocations: 118 kB / 0.6919 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.6047, allocations: 126.5 kB / 0.692 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.6166, allocations: 4.124 MB / 0.696 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.6166, allocations: 8 kB / 0.696 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6166, allocations: 3.953 kB / 0.696 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.6167, allocations: 9.094 kB / 0.696 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.6307, allocations: 5.658 MB / 0.7015 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6308, allocations: 0 / 0.7015 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008809/0.6317, allocations: 147.8 kB / 0.7017 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00534/0.637, allocations: 1.664 MB / 0.7033 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.6372, allocations: 4 kB / 0.7033 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01239/0.6496, allocations: 6.199 MB / 0.7094 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6497, allocations: 0 / 0.7094 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.6634, allocations: 4.911 MB / 0.7142 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.6639, allocations: 207.4 kB / 0.7144 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/0.6641, allocations: 0 / 0.7144 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.6652, allocations: 143.9 kB / 0.7145 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006285/0.6658, allocations: 218.3 kB / 0.7147 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.6659, allocations: 25.86 kB / 0.7147 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007385/0.6666, allocations: 0.5225 MB / 0.7152 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6667, allocations: 4 kB / 0.7152 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00122/0.6679, allocations: 391.4 kB / 0.7156 GB, free: 116 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002947/0.6682, allocations: 135.9 kB / 0.7158 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004943/0.6731, allocations: 1.943 MB / 0.7177 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6732, allocations: 0 / 0.7177 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004199/0.6774, allocations: 1.451 MB / 0.7191 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.6781, allocations: 52.42 kB / 0.7191 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.6809, allocations: 1.43 MB / 0.7205 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.6815, allocations: 1.114 MB / 0.7216 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003307/0.6819, allocations: 74.33 kB / 0.7217 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.6821, allocations: 51.42 kB / 0.7217 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of SimCode: time 1.984e-06/0.6821, allocations: 0 / 0.7217 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of Templates: time 0.02996/0.712, allocations: 18.19 MB / 0.7395 GB, free: 7.781 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)