Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004844/0.004844, allocations: 169.2 kB / 15.11 MB, free: 5.582 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.21/1.21, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008181/0.0008179, allocations: 99.03 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.414/0.414, allocations: 79.42 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003891, allocations: 8 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 69.5 MB / 0.5569 GB, free: 38.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.4273, allocations: 97.41 MB / 0.652 GB, free: 8.168 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.4275, allocations: 80.92 kB / 0.6521 GB, free: 8.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05807/0.4856, allocations: 23.31 MB / 0.6749 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4856, allocations: 0 / 0.6749 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.4857, allocations: 16 kB / 0.6749 GB, free: 0.6445 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004406/0.4901, allocations: 1.76 MB / 0.6766 GB, free: 14.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4901, allocations: 12.03 kB / 0.6766 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.4933, allocations: 0.5371 MB / 0.6772 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.4945, allocations: 0.6641 MB / 0.6778 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002662/0.4948, allocations: 263.4 kB / 0.678 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4949, allocations: 67.95 kB / 0.6781 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.4969, allocations: 1.006 MB / 0.6791 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.4969, allocations: 0 / 0.6791 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.497, allocations: 28 kB / 0.6791 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.497, allocations: 19.94 kB / 0.6791 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.4991, allocations: 1.051 MB / 0.6802 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005331/0.5044, allocations: 3.206 MB / 0.6833 GB, free: 7.742 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.5064, allocations: 1.377 MB / 0.6846 GB, free: 6.246 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/0.5065, allocations: 12.64 kB / 0.6847 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.5065, allocations: 43.22 kB / 0.6847 GB, free: 6.184 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.415e-06/0.5066, allocations: 0 / 0.6847 GB, free: 6.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.02532/0.5319, allocations: 7.767 MB / 0.6923 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.532, allocations: 60.06 kB / 0.6923 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.5331, allocations: 0.661 MB / 0.693 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5332, allocations: 41.7 kB / 0.693 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.5335, allocations: 432.3 kB / 0.6934 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/0.5338, allocations: 287.8 kB / 0.6937 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.5339, allocations: 20 kB / 0.6937 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.534, allocations: 330 kB / 0.694 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.5353, allocations: 0.6266 MB / 0.6947 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.5366, allocations: 0.7296 MB / 0.6954 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5379, allocations: 0.6599 MB / 0.696 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.5379, allocations: 0 / 0.696 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01332/0.5512, allocations: 4.719 MB / 0.7006 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5513, allocations: 4 kB / 0.7006 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5513, allocations: 4 kB / 0.7006 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.5577, allocations: 2.181 MB / 0.7028 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.5584, allocations: 119.8 kB / 0.7029 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.5792, allocations: 9.791 MB / 0.7124 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.5805, allocations: 171.2 kB / 0.7126 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/0.5806, allocations: 31.98 kB / 0.7126 GB, free: 9.32 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.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 (59): * Single equations (assignments): 58 * 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.0004818/0.5811, allocations: 215.6 kB / 0.7128 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.5813, allocations: 98.78 kB / 0.7129 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.5945, allocations: 4.739 MB / 0.7176 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.5946, allocations: 8 kB / 0.7176 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5946, allocations: 7.938 kB / 0.7176 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/0.5946, allocations: 3.984 kB / 0.7176 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.6094, allocations: 6.215 MB / 0.7236 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6095, allocations: 3.938 kB / 0.7237 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.61, allocations: 91.89 kB / 0.7237 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.616, allocations: 2.055 MB / 0.7257 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.6162, allocations: 12 kB / 0.7258 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01833/0.6345, allocations: 8.651 MB / 0.7342 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6346, allocations: 7.938 kB / 0.7342 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.6492, allocations: 5.653 MB / 0.7397 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.6497, allocations: 183.7 kB / 0.7399 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6498, allocations: 20 kB / 0.7399 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008928/0.6507, allocations: 124 kB / 0.74 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.6513, allocations: 204.6 kB / 0.7402 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.6514, allocations: 20 kB / 0.7403 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006607/0.6521, allocations: 0.5185 MB / 0.7408 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6521, allocations: 0 / 0.7408 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001077/0.6531, allocations: 395.5 kB / 0.7411 GB, free: 11.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.00028/0.6534, allocations: 143 kB / 0.7413 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006068/0.6595, allocations: 2.396 MB / 0.7436 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6595, allocations: 0 / 0.7436 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.6641, allocations: 1.678 MB / 0.7453 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006381/0.6647, allocations: 76.17 kB / 0.7453 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.6675, allocations: 1.983 MB / 0.7473 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.668, allocations: 1.048 MB / 0.7483 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.6683, allocations: 57.14 kB / 0.7483 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6685, allocations: 43.44 kB / 0.7484 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of SimCode: time 7.81e-07/0.6685, allocations: 0 / 0.7484 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.02607/0.6945, allocations: 18.38 MB / 0.7663 GB, free: 1.902 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)