Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009577/0.0009576, allocations: 175 kB / 12.73 MB, free: 2.59 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.215/1.215, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.0008443/0.0008444, allocations: 99.89 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4412/0.4412, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.713e-05, allocations: 8 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 69.34 MB / 0.548 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.428, allocations: 96.75 MB / 0.6425 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4283, allocations: 79.95 kB / 0.6426 GB, free: 3.727 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0593/0.4876, allocations: 22.93 MB / 0.6649 GB, free: 12.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4876, allocations: 0 / 0.6649 GB, free: 12.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.3e-05/0.4877, allocations: 19.94 kB / 0.665 GB, free: 12.61 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004193/0.4919, allocations: 1.583 MB / 0.6665 GB, free: 10.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4919, allocations: 15.97 kB / 0.6665 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/0.4952, allocations: 0.5332 MB / 0.6671 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.4966, allocations: 0.6641 MB / 0.6677 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.4969, allocations: 259.4 kB / 0.6679 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.497, allocations: 67.95 kB / 0.668 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.4986, allocations: 0.7719 MB / 0.6688 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4986, allocations: 0 / 0.6688 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.4987, allocations: 24 kB / 0.6688 GB, free: 8.559 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4987, allocations: 19.94 kB / 0.6688 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.5001, allocations: 0.7745 MB / 0.6696 GB, free: 7.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.5054, allocations: 3.19 MB / 0.6727 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.507, allocations: 1.142 MB / 0.6738 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.5078, allocations: 0.5388 MB / 0.6743 GB, free: 2.613 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.5079, allocations: 8.781 kB / 0.6743 GB, free: 2.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5079, allocations: 43.34 kB / 0.6744 GB, free: 2.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.605e-06/0.5079, allocations: 0 / 0.6744 GB, free: 2.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.369/0.8769, allocations: 3.956 MB / 0.6782 GB, free: 106.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.877, allocations: 61.84 kB / 0.6783 GB, free: 106.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.8787, allocations: 0.6571 MB / 0.6789 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.879, allocations: 42.83 kB / 0.679 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/0.8795, allocations: 433.6 kB / 0.6794 GB, free: 106.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.8799, allocations: 286.1 kB / 0.6797 GB, free: 106.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.393e-05/0.88, allocations: 16 kB / 0.6797 GB, free: 106.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.8801, allocations: 333 kB / 0.68 GB, free: 106 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.8813, allocations: 403.5 kB / 0.6804 GB, free: 106 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.8826, allocations: 0.4905 MB / 0.6809 GB, free: 105.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.8839, allocations: 441.6 kB / 0.6813 GB, free: 105.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8839, allocations: 0.875 kB / 0.6813 GB, free: 105.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01977/0.9037, allocations: 4.074 MB / 0.6853 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.9038, allocations: 6.125 kB / 0.6853 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.9039, allocations: 7.578 kB / 0.6853 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008508/0.9124, allocations: 1.808 MB / 0.687 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.9133, allocations: 115.2 kB / 0.6871 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.9344, allocations: 7.096 MB / 0.6941 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.9363, allocations: 177 kB / 0.6942 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.9364, allocations: 27.48 kB / 0.6943 GB, free: 102.9 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0003208/0.9368, allocations: 150.3 kB / 0.6944 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.9371, allocations: 98.94 kB / 0.6945 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/0.9547, allocations: 4.083 MB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.9548, allocations: 6.625 kB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9548, allocations: 3.875 kB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.9548, allocations: 3.844 kB / 0.6985 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/0.9756, allocations: 5.559 MB / 0.7039 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.9757, allocations: 0 / 0.7039 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.9766, allocations: 100.1 kB / 0.704 GB, free: 99.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00814/0.9847, allocations: 1.676 MB / 0.7057 GB, free: 98.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.985, allocations: 12 kB / 0.7057 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/1.005, allocations: 6.337 MB / 0.7119 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.005, allocations: 0 / 0.7119 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.025, allocations: 4.754 MB / 0.7165 GB, free: 88.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/1.025, allocations: 202 kB / 0.7167 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/1.025, allocations: 16 kB / 0.7167 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.027, allocations: 129.5 kB / 0.7168 GB, free: 88.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008659/1.028, allocations: 195.4 kB / 0.717 GB, free: 88.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.028, allocations: 23.61 kB / 0.7171 GB, free: 88.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009067/1.029, allocations: 0.5104 MB / 0.7176 GB, free: 87.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.029, allocations: 3.938 kB / 0.7176 GB, free: 87.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001578/1.03, allocations: 396.5 kB / 0.7179 GB, free: 87.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.0003123/1.031, allocations: 132 kB / 0.7181 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00747/1.038, allocations: 1.906 MB / 0.7199 GB, free: 85.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.038, allocations: 0 / 0.7199 GB, free: 85.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.045, allocations: 1.43 MB / 0.7213 GB, free: 84.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/1.045, allocations: 66.95 kB / 0.7214 GB, free: 84.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/1.049, allocations: 1.18 MB / 0.7225 GB, free: 83.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/1.049, allocations: 1.049 MB / 0.7236 GB, free: 82.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004169/1.05, allocations: 60.44 kB / 0.7236 GB, free: 82.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/1.05, allocations: 39.44 kB / 0.7237 GB, free: 82.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.05, allocations: 0 / 0.7237 GB, free: 82.17 MB / 490.7 MB Notification: Performance of Templates: time 0.03795/1.088, allocations: 18.34 MB / 0.7416 GB, free: 64.27 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)