Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.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.001127/0.001126, allocations: 173.1 kB / 16.12 MB, free: 5.691 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.351/1.351, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007085/0.0007085, allocations: 81.25 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2953/0.2953, allocations: 42.28 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.000421, allocations: 19.98 kB / 429.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.108, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2946/0.4027, allocations: 93.27 MB / 0.5667 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.403, allocations: 84.58 kB / 0.5667 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06623/0.4693, allocations: 24.57 MB / 0.5907 GB, free: 5.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4693, allocations: 0 / 0.5907 GB, free: 5.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001168/0.4694, allocations: 21.69 kB / 0.5908 GB, free: 5.672 MB / 410.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.005561/0.475, allocations: 1.95 MB / 0.5927 GB, free: 3.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4751, allocations: 15.97 kB / 0.5927 GB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.4784, allocations: 0.5603 MB / 0.5932 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.48, allocations: 0.7751 MB / 0.594 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.4803, allocations: 272.2 kB / 0.5942 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.4805, allocations: 72 kB / 0.5943 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.483, allocations: 1.155 MB / 0.5954 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.4831, allocations: 4 kB / 0.5954 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.4832, allocations: 32 kB / 0.5955 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.4832, allocations: 20 kB / 0.5955 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.486, allocations: 1.23 MB / 0.5967 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006849/0.4929, allocations: 3.549 MB / 0.6002 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.4952, allocations: 1.488 MB / 0.6016 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.497, allocations: 0.8671 MB / 0.6025 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.4971, allocations: 24.97 kB / 0.6025 GB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4971, allocations: 43.56 kB / 0.6025 GB, free: 9.188 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/0.4972, allocations: 0 / 0.6025 GB, free: 9.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.02724/0.5244, allocations: 8.295 MB / 0.6106 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.5245, allocations: 60.41 kB / 0.6107 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.526, allocations: 0.8566 MB / 0.6115 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.5262, allocations: 45.7 kB / 0.6116 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.5266, allocations: 0.4892 MB / 0.612 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/0.5271, allocations: 331.2 kB / 0.6123 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.5273, allocations: 19.94 kB / 0.6124 GB, free: 15.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5274, allocations: 338 kB / 0.6127 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.5291, allocations: 0.7086 MB / 0.6134 GB, free: 13.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.5309, allocations: 0.8272 MB / 0.6142 GB, free: 13.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/0.545, allocations: 4.58 MB / 0.6187 GB, free: 8.504 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.5451, allocations: 4 kB / 0.6187 GB, free: 8.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01404/0.5591, allocations: 4.884 MB / 0.6234 GB, free: 3.602 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.5592, allocations: 8 kB / 0.6234 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.5592, allocations: 0 / 0.6234 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006563/0.5658, allocations: 2.18 MB / 0.6256 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.5667, allocations: 159.8 kB / 0.6257 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02146/0.5881, allocations: 9.339 MB / 0.6348 GB, free: 7.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.5897, allocations: 215.1 kB / 0.635 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.5899, allocations: 24 kB / 0.6351 GB, free: 7.551 MB / 458.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.0006659/0.5906, allocations: 242.6 kB / 0.6353 GB, free: 7.305 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.5909, allocations: 122.5 kB / 0.6354 GB, free: 7.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.6049, allocations: 4.963 MB / 0.6403 GB, free: 2.207 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.605, allocations: 8 kB / 0.6403 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.605, allocations: 0 / 0.6403 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.605, allocations: 11.98 kB / 0.6403 GB, free: 2.188 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.6214, allocations: 6.55 MB / 0.6467 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6214, allocations: 0 / 0.6467 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/0.6223, allocations: 147.8 kB / 0.6468 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/0.6286, allocations: 2.062 MB / 0.6488 GB, free: 9.289 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/0.6288, allocations: 16 kB / 0.6489 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.6471, allocations: 8.209 MB / 0.6569 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6471, allocations: 0 / 0.6569 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.6632, allocations: 5.989 MB / 0.6627 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.6636, allocations: 203.5 kB / 0.6629 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.6639, allocations: 20.06 kB / 0.6629 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.6651, allocations: 159.9 kB / 0.6631 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007394/0.6659, allocations: 216.6 kB / 0.6633 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.582e-05/0.666, allocations: 23.98 kB / 0.6633 GB, free: 10.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008755/0.6668, allocations: 0.5848 MB / 0.6639 GB, free: 9.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6668, allocations: 3.938 kB / 0.6639 GB, free: 9.676 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001296/0.6681, allocations: 423.4 kB / 0.6643 GB, free: 9.262 MB / 490.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.0003332/0.6685, allocations: 139.2 kB / 0.6644 GB, free: 9.117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006887/0.6754, allocations: 2.596 MB / 0.667 GB, free: 6.512 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6754, allocations: 4 kB / 0.667 GB, free: 6.508 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.6805, allocations: 1.783 MB / 0.6687 GB, free: 4.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6818, allocations: 94.94 kB / 0.6688 GB, free: 4.617 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00425/0.686, allocations: 2.271 MB / 0.671 GB, free: 2.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.6868, allocations: 1.088 MB / 0.6721 GB, free: 1.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003928/0.6872, allocations: 73.44 kB / 0.6721 GB, free: 1.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.6874, allocations: 51.42 kB / 0.6722 GB, free: 1.082 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6874, allocations: 0 / 0.6722 GB, free: 1.082 MB / 490.7 MB Notification: Performance of Templates: time 0.2199/0.9073, allocations: 19.35 MB / 0.6911 GB, free: 127.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)