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.000928/0.0009281, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008851/0.0008852, allocations: 95.47 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.495/0.495, allocations: 78.95 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.397e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1705, allocations: 69.52 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.62, allocations: 98.16 MB / 0.6383 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.6203, allocations: 75.89 kB / 0.6384 GB, free: 15.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06899/0.6893, allocations: 25.36 MB / 0.6631 GB, free: 6.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6894, allocations: 0 / 0.6631 GB, free: 6.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.826e-05/0.6894, allocations: 21.31 kB / 0.6632 GB, free: 6.57 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.004679/0.6941, allocations: 1.766 MB / 0.6649 GB, free: 4.758 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.6942, allocations: 8.031 kB / 0.6649 GB, free: 4.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.6975, allocations: 0.5603 MB / 0.6654 GB, free: 4.188 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.6989, allocations: 0.7205 MB / 0.6661 GB, free: 3.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.6992, allocations: 232.2 kB / 0.6664 GB, free: 3.148 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.6994, allocations: 44 kB / 0.6664 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/0.7009, allocations: 0.8163 MB / 0.6672 GB, free: 2.289 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.7023, allocations: 0.761 MB / 0.6679 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.7024, allocations: 0 / 0.6679 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.7024, allocations: 0 / 0.6679 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.7025, allocations: 23.06 kB / 0.668 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.7084, allocations: 3.405 MB / 0.6713 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.7098, allocations: 1.184 MB / 0.6724 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.7106, allocations: 0.5505 MB / 0.673 GB, free: 12.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.7107, allocations: 20.75 kB / 0.673 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7107, allocations: 43.34 kB / 0.673 GB, free: 12.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.7108, allocations: 0 / 0.673 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01217/0.7229, allocations: 3.994 MB / 0.6769 GB, free: 8.023 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.723, allocations: 64.19 kB / 0.677 GB, free: 7.949 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.7242, allocations: 0.6711 MB / 0.6777 GB, free: 7.262 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.7244, allocations: 29.7 kB / 0.6777 GB, free: 7.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.7248, allocations: 0.4969 MB / 0.6782 GB, free: 6.723 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.7252, allocations: 315.2 kB / 0.6785 GB, free: 6.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.7253, allocations: 0 / 0.6785 GB, free: 6.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7254, allocations: 334 kB / 0.6788 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.7261, allocations: 424.1 kB / 0.6792 GB, free: 5.664 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.7269, allocations: 0.5193 MB / 0.6797 GB, free: 5.113 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/0.7277, allocations: 457.2 kB / 0.6801 GB, free: 4.664 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.7277, allocations: 3.953 kB / 0.6801 GB, free: 4.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0128/0.7405, allocations: 4.09 MB / 0.6841 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.7406, allocations: 11.95 kB / 0.6841 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.7406, allocations: 4 kB / 0.6841 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005853/0.7464, allocations: 1.694 MB / 0.6858 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.7474, allocations: 159.8 kB / 0.686 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01435/0.7618, allocations: 6.88 MB / 0.6927 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.7635, allocations: 179.2 kB / 0.6928 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.663e-05/0.7636, allocations: 35.98 kB / 0.6929 GB, free: 7.473 MB / 0.4948 GB 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.0003386/0.764, allocations: 125.2 kB / 0.693 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.7642, allocations: 118.5 kB / 0.6931 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.7765, allocations: 4.118 MB / 0.6971 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.7766, allocations: 8 kB / 0.6971 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7766, allocations: 3.953 kB / 0.6971 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.461e-05/0.7766, allocations: 3.984 kB / 0.6971 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.791, allocations: 5.634 MB / 0.7027 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.7911, allocations: 1.125 kB / 0.7027 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.792, allocations: 143.8 kB / 0.7028 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.7971, allocations: 1.671 MB / 0.7044 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.7973, allocations: 4 kB / 0.7044 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.8097, allocations: 6.203 MB / 0.7105 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8098, allocations: 0 / 0.7105 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/0.8233, allocations: 4.86 MB / 0.7152 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.8239, allocations: 204.9 kB / 0.7154 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.824, allocations: 4.062 kB / 0.7154 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8251, allocations: 143.9 kB / 0.7156 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/0.8258, allocations: 212.3 kB / 0.7158 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.951e-05/0.8259, allocations: 23.98 kB / 0.7158 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006904/0.8266, allocations: 0.5149 MB / 0.7163 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8266, allocations: 0 / 0.7163 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001195/0.8278, allocations: 383.5 kB / 0.7167 GB, free: 14.8 MB / 0.5261 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.0003007/0.8281, allocations: 139 kB / 0.7168 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004895/0.833, allocations: 1.93 MB / 0.7187 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.833, allocations: 0 / 0.7187 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003962/0.837, allocations: 1.448 MB / 0.7201 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.8376, allocations: 48.31 kB / 0.7201 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.8407, allocations: 1.354 MB / 0.7215 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/0.8416, allocations: 1.111 MB / 0.7225 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003513/0.8419, allocations: 69.44 kB / 0.7226 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.8421, allocations: 51.44 kB / 0.7227 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.8422, allocations: 0 / 0.7227 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.03423/0.8764, allocations: 17.91 MB / 0.7401 GB, free: 6.859 MB / 0.5417 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)