Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004568/0.004568, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.222/1.222, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008375/0.0008375, allocations: 100.6 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4426/0.4426, allocations: 79.43 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 0.489 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.315, allocations: 69.51 MB / 0.5569 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.425, allocations: 98.9 MB / 0.6535 GB, free: 6.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.4252, allocations: 82.11 kB / 0.6536 GB, free: 6.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06355/0.4887, allocations: 25.77 MB / 0.6787 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4888, allocations: 0 / 0.6787 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.4889, allocations: 20 kB / 0.6788 GB, free: 12.67 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005119/0.494, allocations: 1.963 MB / 0.6807 GB, free: 10.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.494, allocations: 19.97 kB / 0.6807 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.4972, allocations: 0.5603 MB / 0.6812 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.4987, allocations: 0.7321 MB / 0.682 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.499, allocations: 268.2 kB / 0.6822 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.4992, allocations: 76 kB / 0.6823 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.5015, allocations: 1.147 MB / 0.6834 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.5015, allocations: 0 / 0.6834 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.5016, allocations: 28 kB / 0.6834 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.5017, allocations: 20 kB / 0.6835 GB, free: 7.703 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.5041, allocations: 1.241 MB / 0.6847 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.5101, allocations: 3.541 MB / 0.6881 GB, free: 2.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.5121, allocations: 1.486 MB / 0.6896 GB, free: 1.168 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.5122, allocations: 16.98 kB / 0.6896 GB, free: 1.152 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5122, allocations: 51.5 kB / 0.6896 GB, free: 1.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.886e-06/0.5122, allocations: 0 / 0.6896 GB, free: 1.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02645/0.5387, allocations: 8.262 MB / 0.6977 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.5388, allocations: 60.41 kB / 0.6978 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5399, allocations: 0.7496 MB / 0.6985 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.5401, allocations: 41.7 kB / 0.6985 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.5405, allocations: 0.4892 MB / 0.699 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.5409, allocations: 331.1 kB / 0.6993 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.5409, allocations: 16 kB / 0.6993 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5411, allocations: 345.9 kB / 0.6997 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.5426, allocations: 0.7124 MB / 0.7004 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.5442, allocations: 0.8117 MB / 0.7012 GB, free: 5.172 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.5458, allocations: 0.7497 MB / 0.7019 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5458, allocations: 0 / 0.7019 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01388/0.5597, allocations: 4.942 MB / 0.7067 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.5598, allocations: 8 kB / 0.7067 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.5598, allocations: 0 / 0.7067 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006351/0.5661, allocations: 2.173 MB / 0.7089 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/0.567, allocations: 163.8 kB / 0.709 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.5876, allocations: 9.781 MB / 0.7186 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5891, allocations: 211.1 kB / 0.7188 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.5893, allocations: 31.98 kB / 0.7188 GB, free: 2.973 MB / 0.5105 GB 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.0006602/0.59, allocations: 230.9 kB / 0.719 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5903, allocations: 114.6 kB / 0.7191 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.6042, allocations: 4.967 MB / 0.724 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.6043, allocations: 8 kB / 0.724 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6043, allocations: 7.984 kB / 0.724 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-05/0.6043, allocations: 3.984 kB / 0.724 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.6203, allocations: 6.558 MB / 0.7304 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.6204, allocations: 0 / 0.7304 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007987/0.6212, allocations: 143.8 kB / 0.7305 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/0.6271, allocations: 2.059 MB / 0.7325 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.6273, allocations: 20 kB / 0.7326 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0183/0.6456, allocations: 8.659 MB / 0.741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6457, allocations: 0 / 0.741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.6618, allocations: 5.982 MB / 0.7469 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.6623, allocations: 203.4 kB / 0.7471 GB, free: 5.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.6626, allocations: 24.02 kB / 0.7471 GB, free: 5.652 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.6639, allocations: 164.1 kB / 0.7472 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/0.6646, allocations: 216.6 kB / 0.7474 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6648, allocations: 20 kB / 0.7475 GB, free: 5.262 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000855/0.6656, allocations: 0.5809 MB / 0.748 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6656, allocations: 0 / 0.748 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001407/0.667, allocations: 431.3 kB / 0.7484 GB, free: 4.25 MB / 0.5417 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 () * 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.0003155/0.6674, allocations: 143.2 kB / 0.7486 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006655/0.674, allocations: 2.591 MB / 0.7511 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6741, allocations: 0.5625 kB / 0.7511 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.6788, allocations: 1.795 MB / 0.7529 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006709/0.6795, allocations: 73.97 kB / 0.7529 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.6833, allocations: 2.302 MB / 0.7552 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.6839, allocations: 1.107 MB / 0.7563 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.6843, allocations: 73.48 kB / 0.7563 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6845, allocations: 47.42 kB / 0.7564 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of SimCode: time 3.286e-06/0.6845, allocations: 4 kB / 0.7564 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.2514/0.9359, allocations: 19.34 MB / 0.7753 GB, free: 149.5 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)