Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005677/0.005677, allocations: 100.2 kB / 15.87 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.5 MB, free: 4.82 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.001452/0.001452, allocations: 184.5 kB / 289.8 MB, free: 2.555 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.527/0.527, allocations: 91.9 MB / 431.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 76.06 kB / 0.5019 GB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3431, allocations: 71.26 MB / 0.5714 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005097/0.3482, allocations: 6.116 MB / 0.5774 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.3512, allocations: 1.792 MB / 0.5792 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.3517, allocations: 11.19 kB / 0.5792 GB, free: 32.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.3521, allocations: 158.6 kB / 0.5793 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3534, allocations: 0.6138 MB / 0.5799 GB, free: 31.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.3544, allocations: 0.5131 MB / 0.5804 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.3552, allocations: 1.195 MB / 0.5816 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.3556, allocations: 243.2 kB / 0.5818 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005003/0.3561, allocations: 0.489 MB / 0.5823 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.3566, allocations: 0.6088 MB / 0.5829 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3567, allocations: 55.34 kB / 0.583 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.3571, allocations: 193.5 kB / 0.5831 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3572, allocations: 211.1 kB / 0.5833 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.3576, allocations: 0.5119 MB / 0.5838 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.3583, allocations: 1.02 MB / 0.5848 GB, free: 29.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3583, allocations: 3.188 kB / 0.5848 GB, free: 29.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3584, allocations: 0 / 0.5848 GB, free: 29.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3584, allocations: 3.094 kB / 0.5848 GB, free: 29.27 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006932/0.3653, allocations: 2.349 MB / 0.5871 GB, free: 28.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.3654, allocations: 8.844 kB / 0.5871 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.3703, allocations: 0.7576 MB / 0.5879 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3713, allocations: 0.713 MB / 0.5886 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.3715, allocations: 246.6 kB / 0.5888 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3717, allocations: 69.02 kB / 0.5889 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.3736, allocations: 0.9515 MB / 0.5898 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3737, allocations: 7.875 kB / 0.5898 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.3738, allocations: 25.47 kB / 0.5898 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3738, allocations: 16 kB / 0.5899 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.3757, allocations: 0.9858 MB / 0.5908 GB, free: 26.6 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.004928/0.3807, allocations: 3.166 MB / 0.5939 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3825, allocations: 1.308 MB / 0.5952 GB, free: 23.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.3838, allocations: 0.698 MB / 0.5959 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.3839, allocations: 13.69 kB / 0.5959 GB, free: 23.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3839, allocations: 46.38 kB / 0.5959 GB, free: 23.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/0.384, allocations: 1.062 kB / 0.5959 GB, free: 23.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02697/0.4109, allocations: 6.767 MB / 0.6025 GB, free: 22.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.411, allocations: 60.31 kB / 0.6026 GB, free: 22.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.4123, allocations: 0.8041 MB / 0.6034 GB, free: 21.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002161/0.4125, allocations: 41.64 kB / 0.6034 GB, free: 21.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.4128, allocations: 428.2 kB / 0.6038 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.4131, allocations: 294.3 kB / 0.6041 GB, free: 21.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.4135, allocations: 185.9 kB / 0.6043 GB, free: 21.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.4136, allocations: 344.5 kB / 0.6046 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.415, allocations: 0.6491 MB / 0.6052 GB, free: 20.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4165, allocations: 0.7762 MB / 0.606 GB, free: 20.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.4343, allocations: 4.491 MB / 0.6104 GB, free: 19.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.4344, allocations: 1.031 kB / 0.6104 GB, free: 19.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01384/0.4482, allocations: 4.121 MB / 0.6144 GB, free: 17.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.4483, allocations: 6.594 kB / 0.6144 GB, free: 17.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4484, allocations: 5.438 kB / 0.6144 GB, free: 17.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/0.4545, allocations: 1.786 MB / 0.6162 GB, free: 16.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.4554, allocations: 167.7 kB / 0.6163 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/0.4737, allocations: 8.592 MB / 0.6247 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.4753, allocations: 155 kB / 0.6249 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/0.4755, allocations: 35.98 kB / 0.6249 GB, free: 7.695 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005107/0.476, allocations: 225.9 kB / 0.6251 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.4763, allocations: 98.78 kB / 0.6252 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.4876, allocations: 3.833 MB / 0.629 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4876, allocations: 12 kB / 0.629 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4876, allocations: 0 / 0.629 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.4877, allocations: 3.984 kB / 0.629 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.5017, allocations: 5.356 MB / 0.6342 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.5018, allocations: 0 / 0.6342 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.5024, allocations: 83.89 kB / 0.6343 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/0.5083, allocations: 1.749 MB / 0.636 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.5085, allocations: 20 kB / 0.636 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.5262, allocations: 7.346 MB / 0.6432 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5262, allocations: 0 / 0.6432 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.5406, allocations: 4.715 MB / 0.6478 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.5411, allocations: 183.7 kB / 0.648 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.5414, allocations: 16 kB / 0.648 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.5425, allocations: 91.89 kB / 0.6481 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007397/0.5433, allocations: 200.6 kB / 0.6483 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.5434, allocations: 20 kB / 0.6483 GB, free: 15.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007791/0.5442, allocations: 0.5382 MB / 0.6488 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5442, allocations: 0 / 0.6488 GB, free: 14.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00146/0.5456, allocations: 403.6 kB / 0.6492 GB, free: 14.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002961/0.5459, allocations: 141.8 kB / 0.6493 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006442/0.5524, allocations: 2.293 MB / 0.6516 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5524, allocations: 0 / 0.6516 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004474/0.5569, allocations: 1.461 MB / 0.653 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.558, allocations: 79.33 kB / 0.6531 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.5617, allocations: 2.129 MB / 0.6551 GB, free: 8.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.5624, allocations: 1.029 MB / 0.6561 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.5627, allocations: 59.42 kB / 0.6562 GB, free: 7.172 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5627, allocations: 0 / 0.6562 GB, free: 7.172 MB / 462.1 MB Notification: Performance of Templates: time 0.02461/0.5873, allocations: 17.75 MB / 0.6735 GB, free: 5.406 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)