Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01256/0.01256, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 90.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08181/0.08181, allocations: 12.6 MB / 330.5 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4573/0.4573, allocations: 78.51 MB / 460 MB, free: 3.453 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005763, allocations: 21.06 kB / 0.5285 GB, free: 35.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 69.34 MB / 0.5962 GB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3911/0.5343, allocations: 99.9 MB / 0.6937 GB, free: 98.41 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.5346, allocations: 80.44 kB / 0.6938 GB, free: 98.41 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06236/0.5969, allocations: 24.74 MB / 0.718 GB, free: 91.35 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.597, allocations: 0 / 0.718 GB, free: 91.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.578e-05/0.597, allocations: 27.12 kB / 0.718 GB, free: 91.34 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004771/0.6018, allocations: 1.971 MB / 0.7199 GB, free: 90.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.6019, allocations: 11.58 kB / 0.7199 GB, free: 90.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.605, allocations: 0.571 MB / 0.7205 GB, free: 89.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.6066, allocations: 0.727 MB / 0.7212 GB, free: 89.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.6068, allocations: 262.6 kB / 0.7215 GB, free: 88.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.6069, allocations: 73.78 kB / 0.7215 GB, free: 88.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.6091, allocations: 1.158 MB / 0.7227 GB, free: 87.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6091, allocations: 0 / 0.7227 GB, free: 87.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.6092, allocations: 28 kB / 0.7227 GB, free: 87.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.6092, allocations: 20 kB / 0.7227 GB, free: 87.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6114, allocations: 1.238 MB / 0.7239 GB, free: 86.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.6171, allocations: 3.53 MB / 0.7274 GB, free: 83.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.6189, allocations: 1.498 MB / 0.7288 GB, free: 81.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.619, allocations: 16.95 kB / 0.7288 GB, free: 81.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.619, allocations: 43.56 kB / 0.7289 GB, free: 81.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.436e-06/0.619, allocations: 0 / 0.7289 GB, free: 81.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02521/0.6443, allocations: 8.267 MB / 0.7369 GB, free: 73.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.6443, allocations: 60.41 kB / 0.737 GB, free: 72.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.6454, allocations: 0.7458 MB / 0.7377 GB, free: 72.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.6456, allocations: 41.7 kB / 0.7378 GB, free: 72.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.6459, allocations: 0.493 MB / 0.7383 GB, free: 71.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.6462, allocations: 331.2 kB / 0.7386 GB, free: 71.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.6463, allocations: 16 kB / 0.7386 GB, free: 71.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.6463, allocations: 338 kB / 0.7389 GB, free: 70.98 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.6477, allocations: 0.7086 MB / 0.7396 GB, free: 70.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.649, allocations: 0.8156 MB / 0.7404 GB, free: 69.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.6503, allocations: 0.7536 MB / 0.7411 GB, free: 68.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.6503, allocations: 0 / 0.7411 GB, free: 68.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01268/0.663, allocations: 4.938 MB / 0.746 GB, free: 63.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.6631, allocations: 4 kB / 0.746 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6631, allocations: 4 kB / 0.746 GB, free: 63.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005893/0.669, allocations: 2.174 MB / 0.7481 GB, free: 61.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/0.6699, allocations: 167.8 kB / 0.7482 GB, free: 61.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/0.6895, allocations: 9.786 MB / 0.7578 GB, free: 51.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6912, allocations: 207.1 kB / 0.758 GB, free: 51.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/0.6915, allocations: 36 kB / 0.758 GB, free: 51.21 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.000945/0.6924, allocations: 234.3 kB / 0.7583 GB, free: 50.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.6929, allocations: 126.5 kB / 0.7584 GB, free: 50.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/0.7058, allocations: 4.963 MB / 0.7632 GB, free: 45.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7058, allocations: 8 kB / 0.7632 GB, free: 45.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7059, allocations: 0 / 0.7632 GB, free: 45.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/0.7059, allocations: 3.984 kB / 0.7632 GB, free: 45.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.7215, allocations: 6.554 MB / 0.7696 GB, free: 39.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.7216, allocations: 0 / 0.7696 GB, free: 39.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.7224, allocations: 143.8 kB / 0.7698 GB, free: 39.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005584/0.728, allocations: 2.063 MB / 0.7718 GB, free: 36.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003154/0.7284, allocations: 16 kB / 0.7718 GB, free: 36.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.7455, allocations: 8.657 MB / 0.7803 GB, free: 28.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7456, allocations: 0 / 0.7803 GB, free: 28.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/0.7648, allocations: 5.993 MB / 0.7861 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/0.7655, allocations: 203.3 kB / 0.7863 GB, free: 21.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005586/0.7661, allocations: 16 kB / 0.7863 GB, free: 21.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.7679, allocations: 155.9 kB / 0.7865 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/0.769, allocations: 212.6 kB / 0.7867 GB, free: 21.54 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/0.7692, allocations: 31.94 kB / 0.7867 GB, free: 21.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001338/0.7706, allocations: 0.5887 MB / 0.7873 GB, free: 20.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7706, allocations: 0 / 0.7873 GB, free: 20.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002337/0.773, allocations: 423.5 kB / 0.7877 GB, free: 20.49 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0004572/0.7734, allocations: 139.1 kB / 0.7878 GB, free: 20.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009015/0.7825, allocations: 2.598 MB / 0.7903 GB, free: 17.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7825, allocations: 0 / 0.7903 GB, free: 17.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006514/0.789, allocations: 1.792 MB / 0.7921 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7904, allocations: 76.38 kB / 0.7922 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.7965, allocations: 2.308 MB / 0.7944 GB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.7973, allocations: 1.107 MB / 0.7955 GB, free: 12.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006014/0.7979, allocations: 69.48 kB / 0.7956 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.7983, allocations: 55.42 kB / 0.7956 GB, free: 12.26 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7983, allocations: 0 / 0.7956 GB, free: 12.26 MB / 474.7 MB Notification: Performance of Templates: time 0.04414/0.8425, allocations: 19.33 MB / 0.8145 GB, free: 8.941 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)