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.001477/0.001477, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.29/1.29, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008129/0.000813, allocations: 95.75 kB / 266.6 MB, free: 9.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0672/0.0672, allocations: 12.59 MB / 327.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3051/0.3051, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.822e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09849, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.349/0.4475, allocations: 99.81 MB / 0.6869 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.4477, allocations: 78.58 kB / 0.687 GB, free: 15.62 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.5549, allocations: 24.65 MB / 0.7111 GB, free: 10.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.555, allocations: 0 / 0.7111 GB, free: 10.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.629e-05/0.555, allocations: 23.94 kB / 0.7111 GB, free: 10.76 MB / 458.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.004801/0.5598, allocations: 1.764 MB / 0.7128 GB, free: 9.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5599, allocations: 11.98 kB / 0.7129 GB, free: 9.051 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.5631, allocations: 0.5658 MB / 0.7134 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.5645, allocations: 0.7193 MB / 0.7141 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/0.5647, allocations: 269.7 kB / 0.7144 GB, free: 7.617 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.5649, allocations: 73.31 kB / 0.7144 GB, free: 7.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.5664, allocations: 0.8649 MB / 0.7153 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5664, allocations: 0 / 0.7153 GB, free: 7.012 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.5665, allocations: 37.92 kB / 0.7153 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5666, allocations: 16 kB / 0.7153 GB, free: 6.984 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.568, allocations: 0.8535 MB / 0.7162 GB, free: 6.457 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005891/0.5739, allocations: 3.54 MB / 0.7196 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.5752, allocations: 1.209 MB / 0.7208 GB, free: 2.695 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.576, allocations: 0.5834 MB / 0.7214 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5761, allocations: 20.14 kB / 0.7214 GB, free: 2.363 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5762, allocations: 41.66 kB / 0.7214 GB, free: 2.316 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 2.776e-06/0.5762, allocations: 0 / 0.7214 GB, free: 2.316 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.02325/0.5994, allocations: 4.055 MB / 0.7254 GB, free: 14.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.5995, allocations: 64.12 kB / 0.7255 GB, free: 14.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.6011, allocations: 0.7341 MB / 0.7262 GB, free: 14.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.6013, allocations: 42.2 kB / 0.7262 GB, free: 14.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.6018, allocations: 0.4964 MB / 0.7267 GB, free: 13.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004598/0.6022, allocations: 332.8 kB / 0.727 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6024, allocations: 17.94 kB / 0.727 GB, free: 13.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6025, allocations: 334.9 kB / 0.7273 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.6037, allocations: 437.3 kB / 0.7278 GB, free: 13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.6051, allocations: 0.5388 MB / 0.7283 GB, free: 12.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.6064, allocations: 474.7 kB / 0.7287 GB, free: 12.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6064, allocations: 0 / 0.7287 GB, free: 12.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01876/0.6252, allocations: 4.182 MB / 0.7328 GB, free: 8.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.6252, allocations: 8 kB / 0.7328 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6253, allocations: 0 / 0.7328 GB, free: 8.762 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008663/0.6339, allocations: 1.795 MB / 0.7346 GB, free: 7.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.6352, allocations: 163.1 kB / 0.7347 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02281/0.658, allocations: 7.091 MB / 0.7417 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.66, allocations: 211.1 kB / 0.7419 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.6603, allocations: 31.98 kB / 0.7419 GB, free: 1.59 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.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 (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.0004101/0.6607, allocations: 148.9 kB / 0.742 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004143/0.6611, allocations: 118.5 kB / 0.7422 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/0.6802, allocations: 4.216 MB / 0.7463 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/0.6803, allocations: 12 kB / 0.7463 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6803, allocations: 4 kB / 0.7463 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.6803, allocations: 3.984 kB / 0.7463 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02265/0.703, allocations: 5.794 MB / 0.752 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.7031, allocations: 0 / 0.752 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7042, allocations: 155.7 kB / 0.7521 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008041/0.7123, allocations: 1.679 MB / 0.7537 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.7125, allocations: 23.98 kB / 0.7538 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02038/0.7329, allocations: 6.313 MB / 0.7599 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.733, allocations: 0 / 0.7599 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/0.7535, allocations: 4.953 MB / 0.7648 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/0.754, allocations: 207.5 kB / 0.765 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/0.7543, allocations: 19.98 kB / 0.765 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.756, allocations: 151.9 kB / 0.7651 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/0.7571, allocations: 220.4 kB / 0.7653 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.7573, allocations: 20 kB / 0.7654 GB, free: 9.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001314/0.7586, allocations: 0.5739 MB / 0.7659 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7586, allocations: 0 / 0.7659 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00198/0.7606, allocations: 423.5 kB / 0.7663 GB, free: 8.223 MB / 0.4948 GB 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 () * 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.0004107/0.761, allocations: 151 kB / 0.7665 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007878/0.7689, allocations: 2.008 MB / 0.7684 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.769, allocations: 0 / 0.7684 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006135/0.7751, allocations: 1.488 MB / 0.7699 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.7759, allocations: 80.38 kB / 0.77 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.7802, allocations: 1.394 MB / 0.7713 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.7811, allocations: 1.104 MB / 0.7724 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005408/0.7817, allocations: 73.48 kB / 0.7725 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/0.782, allocations: 51.42 kB / 0.7725 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.782, allocations: 0 / 0.7725 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of Templates: time 0.05246/0.8345, allocations: 19.32 MB / 0.7914 GB, free: 14.47 MB / 0.5261 GB 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)