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.001313/0.001313, allocations: 100.1 kB / 15.88 MB, free: 12 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.329/1.329, allocations: 222.9 MB / 239.5 MB, free: 4.754 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.001376/0.001376, allocations: 192.5 kB / 289.8 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4967/0.4967, allocations: 91.91 MB / 431.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 0.5018 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3447, allocations: 71.27 MB / 0.5714 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005638/0.3504, allocations: 6.044 MB / 0.5773 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.3538, allocations: 1.781 MB / 0.5791 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.3549, allocations: 10.5 kB / 0.5791 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.3556, allocations: 164.9 kB / 0.5793 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.3578, allocations: 0.5973 MB / 0.5798 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3591, allocations: 0.5354 MB / 0.5804 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.3607, allocations: 1.172 MB / 0.5815 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004748/0.3612, allocations: 242.2 kB / 0.5817 GB, free: 30.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.3621, allocations: 490.2 kB / 0.5822 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.363, allocations: 0.6092 MB / 0.5828 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.3633, allocations: 57.56 kB / 0.5829 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006408/0.3639, allocations: 184.6 kB / 0.583 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.3642, allocations: 213 kB / 0.5832 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.3648, allocations: 0.5099 MB / 0.5837 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009897/0.3658, allocations: 1.005 MB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3659, allocations: 4 kB / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3659, allocations: 0 / 0.5847 GB, free: 29.01 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.002e-05/0.3659, allocations: 0 / 0.5847 GB, free: 29.01 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.007233/0.3732, allocations: 2.332 MB / 0.587 GB, free: 27.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3732, allocations: 9.5 kB / 0.587 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.3781, allocations: 0.7504 MB / 0.5877 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.3792, allocations: 0.7019 MB / 0.5884 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.3794, allocations: 248.7 kB / 0.5887 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3795, allocations: 71.52 kB / 0.5887 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.3814, allocations: 0.9381 MB / 0.5896 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3814, allocations: 3.938 kB / 0.5896 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.3815, allocations: 25.84 kB / 0.5897 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3815, allocations: 16.69 kB / 0.5897 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.3836, allocations: 0.9743 MB / 0.5906 GB, free: 26.38 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.005057/0.3887, allocations: 3.151 MB / 0.5937 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.3905, allocations: 1.312 MB / 0.595 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.3918, allocations: 0.696 MB / 0.5957 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.3919, allocations: 9.969 kB / 0.5957 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.392, allocations: 41.66 kB / 0.5957 GB, free: 23.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.336e-06/0.392, allocations: 5.281 kB / 0.5957 GB, free: 23.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02657/0.4185, allocations: 6.694 MB / 0.6023 GB, free: 22.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.4186, allocations: 60.62 kB / 0.6023 GB, free: 22.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.4198, allocations: 0.7906 MB / 0.6031 GB, free: 21.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002001/0.42, allocations: 37.83 kB / 0.6031 GB, free: 21.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.4202, allocations: 428.8 kB / 0.6035 GB, free: 21.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.4205, allocations: 292.8 kB / 0.6038 GB, free: 21.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003408/0.4209, allocations: 173.9 kB / 0.604 GB, free: 21.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/0.4209, allocations: 352.8 kB / 0.6043 GB, free: 20.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4223, allocations: 0.635 MB / 0.6049 GB, free: 20.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4238, allocations: 0.7675 MB / 0.6057 GB, free: 20.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01724/0.441, allocations: 4.441 MB / 0.61 GB, free: 18.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.4411, allocations: 1.156 kB / 0.61 GB, free: 18.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01308/0.4542, allocations: 4.044 MB / 0.614 GB, free: 17.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.4542, allocations: 6.125 kB / 0.614 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4543, allocations: 6.438 kB / 0.614 GB, free: 17.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.4602, allocations: 1.855 MB / 0.6158 GB, free: 16.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008551/0.4611, allocations: 166.4 kB / 0.616 GB, free: 16.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01744/0.4786, allocations: 8.369 MB / 0.6241 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.48, allocations: 143.1 kB / 0.6243 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.4801, allocations: 36 kB / 0.6243 GB, free: 8.113 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.0004299/0.4806, allocations: 237.5 kB / 0.6245 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.4808, allocations: 98.78 kB / 0.6246 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.4921, allocations: 3.817 MB / 0.6284 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.4921, allocations: 19.92 kB / 0.6284 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4921, allocations: 4 kB / 0.6284 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.4922, allocations: 7.984 kB / 0.6284 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.5055, allocations: 5.317 MB / 0.6336 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.5056, allocations: 0 / 0.6336 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.5062, allocations: 91.83 kB / 0.6337 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.512, allocations: 1.737 MB / 0.6354 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001597/0.5122, allocations: 16 kB / 0.6354 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/0.5294, allocations: 7.366 MB / 0.6426 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5295, allocations: 0 / 0.6426 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/0.5438, allocations: 4.684 MB / 0.6471 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.5443, allocations: 183.7 kB / 0.6473 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.5445, allocations: 12 kB / 0.6473 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009454/0.5454, allocations: 99.89 kB / 0.6474 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006524/0.5461, allocations: 196.6 kB / 0.6476 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.894e-05/0.5462, allocations: 20 kB / 0.6476 GB, free: 15.87 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006443/0.5468, allocations: 0.5264 MB / 0.6481 GB, free: 15.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.5468, allocations: 0 / 0.6481 GB, free: 15.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001134/0.548, allocations: 419.4 kB / 0.6485 GB, free: 14.94 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.000252/0.5482, allocations: 123.2 kB / 0.6487 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006333/0.5546, allocations: 2.258 MB / 0.6509 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.5546, allocations: 0 / 0.6509 GB, free: 12.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004688/0.5593, allocations: 1.463 MB / 0.6523 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5604, allocations: 79.58 kB / 0.6524 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.5637, allocations: 2.049 MB / 0.6544 GB, free: 8.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.5643, allocations: 1.025 MB / 0.6554 GB, free: 7.859 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.5646, allocations: 59.42 kB / 0.6554 GB, free: 7.805 MB / 462.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5646, allocations: 7.938 kB / 0.6554 GB, free: 7.797 MB / 462.1 MB Notification: Performance of Templates: time 0.0219/0.5865, allocations: 17.56 MB / 0.6726 GB, free: 6.219 MB / 478.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)