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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.0009479, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 168.6 kB / 291.3 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4897/0.4897, allocations: 91.93 MB / 434.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 8 kB / 0.5054 GB, free: 7.234 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 72.47 MB / 0.5762 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004141/0.3466, allocations: 5.607 MB / 0.5816 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003151/0.3497, allocations: 1.762 MB / 0.5834 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005672/0.3503, allocations: 10.41 kB / 0.5834 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.3508, allocations: 159 kB / 0.5835 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3521, allocations: 0.6071 MB / 0.5841 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3531, allocations: 0.5143 MB / 0.5846 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3542, allocations: 1.173 MB / 0.5858 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.3545, allocations: 239.6 kB / 0.586 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.3551, allocations: 468.8 kB / 0.5864 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.3556, allocations: 0.5807 MB / 0.587 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.3557, allocations: 50.03 kB / 0.5871 GB, free: 29.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00035/0.356, allocations: 175.4 kB / 0.5872 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.3561, allocations: 197.9 kB / 0.5874 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.3565, allocations: 0.5139 MB / 0.5879 GB, free: 29.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.3572, allocations: 0.9807 MB / 0.5889 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3572, allocations: 0 / 0.5889 GB, free: 28.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3572, allocations: 0 / 0.5889 GB, free: 28.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.3572, allocations: 0 / 0.5889 GB, free: 28.91 MB / 430.1 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.006598/0.3638, allocations: 2.179 MB / 0.591 GB, free: 27.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3639, allocations: 10 kB / 0.591 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/0.3688, allocations: 0.7633 MB / 0.5918 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/0.3698, allocations: 0.6993 MB / 0.5924 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.3701, allocations: 256.5 kB / 0.5927 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.3702, allocations: 68.66 kB / 0.5928 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.3723, allocations: 1.013 MB / 0.5937 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3723, allocations: 3.938 kB / 0.5937 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.3724, allocations: 26.22 kB / 0.5938 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3724, allocations: 15.5 kB / 0.5938 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.3747, allocations: 1.058 MB / 0.5948 GB, free: 26.39 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.38, allocations: 3.218 MB / 0.598 GB, free: 24.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.382, allocations: 1.389 MB / 0.5993 GB, free: 23.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3836, allocations: 0.7765 MB / 0.6001 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.013e-05/0.3837, allocations: 10.94 kB / 0.6001 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3837, allocations: 38.62 kB / 0.6001 GB, free: 23.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.514e-06/0.3837, allocations: 0 / 0.6001 GB, free: 23.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02998/0.4137, allocations: 8.331 MB / 0.6083 GB, free: 21.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.4138, allocations: 59.03 kB / 0.6083 GB, free: 21.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.4151, allocations: 0.7871 MB / 0.6091 GB, free: 21.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002349/0.4153, allocations: 40.64 kB / 0.6091 GB, free: 21.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.4156, allocations: 433 kB / 0.6095 GB, free: 21.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.4159, allocations: 293 kB / 0.6098 GB, free: 20.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.4161, allocations: 92.14 kB / 0.6099 GB, free: 20.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.4162, allocations: 343.3 kB / 0.6102 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.4178, allocations: 0.7144 MB / 0.6109 GB, free: 20.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.4194, allocations: 0.8369 MB / 0.6117 GB, free: 19.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/0.4384, allocations: 4.943 MB / 0.6166 GB, free: 18.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.4384, allocations: 1.25 kB / 0.6166 GB, free: 18.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01444/0.4529, allocations: 4.958 MB / 0.6214 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.453, allocations: 8 kB / 0.6214 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.453, allocations: 4 kB / 0.6214 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006359/0.4593, allocations: 2.167 MB / 0.6235 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.4602, allocations: 163.8 kB / 0.6237 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/0.4798, allocations: 9.365 MB / 0.6328 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.4814, allocations: 187.1 kB / 0.633 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.4816, allocations: 35.98 kB / 0.6331 GB, free: 2.812 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005513/0.4821, allocations: 221.7 kB / 0.6333 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.4824, allocations: 106.7 kB / 0.6334 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.4964, allocations: 4.731 MB / 0.638 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.4964, allocations: 11.94 kB / 0.638 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4965, allocations: 0 / 0.638 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/0.4965, allocations: 11.92 kB / 0.638 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.5134, allocations: 6.231 MB / 0.6441 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.5134, allocations: 8 kB / 0.6441 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.514, allocations: 87.89 kB / 0.6442 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006686/0.5207, allocations: 2.054 MB / 0.6462 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/0.5209, allocations: 12 kB / 0.6462 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.5409, allocations: 8.229 MB / 0.6542 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.541, allocations: 0 / 0.6542 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/0.5579, allocations: 5.68 MB / 0.6598 GB, free: 7.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.5584, allocations: 183.7 kB / 0.66 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.5587, allocations: 19.98 kB / 0.66 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.5599, allocations: 132 kB / 0.6601 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006722/0.5606, allocations: 196.6 kB / 0.6603 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/0.5607, allocations: 20 kB / 0.6603 GB, free: 6.543 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007473/0.5615, allocations: 0.5303 MB / 0.6608 GB, free: 6.016 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.5615, allocations: 0 / 0.6608 GB, free: 6.016 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001436/0.5629, allocations: 415.4 kB / 0.6612 GB, free: 5.609 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002982/0.5632, allocations: 123.2 kB / 0.6614 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007041/0.5703, allocations: 2.559 MB / 0.6638 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5703, allocations: 0 / 0.6638 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005003/0.5753, allocations: 1.684 MB / 0.6655 GB, free: 1.207 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.5762, allocations: 79.31 kB / 0.6656 GB, free: 1.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003358/0.5795, allocations: 2.087 MB / 0.6676 GB, free: 15.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.5802, allocations: 1.029 MB / 0.6686 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.5805, allocations: 63.42 kB / 0.6687 GB, free: 13.91 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5805, allocations: 3.938 kB / 0.6687 GB, free: 13.9 MB / 478.1 MB Notification: Performance of Templates: time 0.02558/0.6061, allocations: 17.47 MB / 0.6857 GB, free: 12.42 MB / 494.1 MB 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)