Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.005975/0.005975, allocations: 167 kB / 15.13 MB, free: 5.602 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.269/1.269, allocations: 223.3 MB / 239.2 MB, free: 1.719 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.0007265/0.0007266, allocations: 92.73 kB / 290.3 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.4578/0.4578, allocations: 78.61 MB / 420 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 15.98 kB / 499.9 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3483, allocations: 69.35 MB / 0.5559 GB, free: 38.69 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005037/0.3534, allocations: 5.248 MB / 0.561 GB, free: 37.96 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.3572, allocations: 1.665 MB / 0.5627 GB, free: 36.78 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.3579, allocations: 15.22 kB / 0.5627 GB, free: 36.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.3583, allocations: 142.8 kB / 0.5628 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.3598, allocations: 0.5603 MB / 0.5634 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3609, allocations: 488.4 kB / 0.5638 GB, free: 36.1 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3621, allocations: 1.115 MB / 0.5649 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.3624, allocations: 213.5 kB / 0.5651 GB, free: 35.42 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005528/0.363, allocations: 453.7 kB / 0.5655 GB, free: 35.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005995/0.3636, allocations: 0.5577 MB / 0.5661 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.3637, allocations: 46.69 kB / 0.5661 GB, free: 34.98 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.3641, allocations: 176.8 kB / 0.5663 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3643, allocations: 187 kB / 0.5665 GB, free: 34.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.3645, allocations: 194.9 kB / 0.5667 GB, free: 34.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008042/0.3653, allocations: 0.9875 MB / 0.5676 GB, free: 34.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3653, allocations: 1.031 kB / 0.5676 GB, free: 34.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3653, allocations: 0 / 0.5676 GB, free: 34.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.3654, allocations: 0 / 0.5676 GB, free: 34.38 MB / 426.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.006743/0.3721, allocations: 2.181 MB / 0.5698 GB, free: 33.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3722, allocations: 15.89 kB / 0.5698 GB, free: 33.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004739/0.3769, allocations: 0.7652 MB / 0.5705 GB, free: 33.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3779, allocations: 0.6612 MB / 0.5712 GB, free: 32.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.3782, allocations: 266.1 kB / 0.5714 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.3783, allocations: 62.09 kB / 0.5715 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.3802, allocations: 1.009 MB / 0.5725 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3802, allocations: 0 / 0.5725 GB, free: 32.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.3803, allocations: 24.88 kB / 0.5725 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.3803, allocations: 25.02 kB / 0.5725 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.3823, allocations: 1.05 MB / 0.5735 GB, free: 31.89 MB / 426.7 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.004729/0.3871, allocations: 3.217 MB / 0.5767 GB, free: 30.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.3889, allocations: 1.389 MB / 0.578 GB, free: 29.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.3903, allocations: 0.7672 MB / 0.5788 GB, free: 28.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.703e-05/0.3904, allocations: 12.92 kB / 0.5788 GB, free: 28.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3904, allocations: 41.38 kB / 0.5788 GB, free: 28.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.336e-06/0.3904, allocations: 4 kB / 0.5788 GB, free: 28.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02772/0.4182, allocations: 8.275 MB / 0.5869 GB, free: 27.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.4182, allocations: 69.28 kB / 0.587 GB, free: 27.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/0.4192, allocations: 0.7752 MB / 0.5877 GB, free: 27.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.4194, allocations: 40.7 kB / 0.5878 GB, free: 26.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.4196, allocations: 433.8 kB / 0.5882 GB, free: 26.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.4199, allocations: 290.8 kB / 0.5885 GB, free: 26.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.42, allocations: 19.28 kB / 0.5885 GB, free: 26.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.42, allocations: 347.2 kB / 0.5888 GB, free: 26.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4214, allocations: 0.7115 MB / 0.5895 GB, free: 25.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.423, allocations: 0.8329 MB / 0.5903 GB, free: 25.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.4246, allocations: 0.7604 MB / 0.5911 GB, free: 25.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4247, allocations: 1.344 kB / 0.5911 GB, free: 25.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01445/0.4391, allocations: 4.927 MB / 0.5959 GB, free: 24.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.4392, allocations: 7.109 kB / 0.5959 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4392, allocations: 2.531 kB / 0.5959 GB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006865/0.4461, allocations: 2.166 MB / 0.598 GB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.4469, allocations: 176.3 kB / 0.5982 GB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.4689, allocations: 9.352 MB / 0.6073 GB, free: 19.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4705, allocations: 189.2 kB / 0.6075 GB, free: 19.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.4706, allocations: 37.19 kB / 0.6075 GB, free: 19.64 MB / 426.7 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 (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.0004658/0.4711, allocations: 227.8 kB / 0.6077 GB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4713, allocations: 103.7 kB / 0.6078 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.485, allocations: 4.724 MB / 0.6125 GB, free: 16.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.4851, allocations: 8 kB / 0.6125 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4851, allocations: 4 kB / 0.6125 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.4851, allocations: 3.984 kB / 0.6125 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.4997, allocations: 6.231 MB / 0.6186 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.4997, allocations: 0 / 0.6186 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.5003, allocations: 95.88 kB / 0.6187 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/0.5061, allocations: 2.061 MB / 0.6207 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.5063, allocations: 16 kB / 0.6207 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/0.5233, allocations: 8.206 MB / 0.6287 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5233, allocations: 0 / 0.6287 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/0.5395, allocations: 5.657 MB / 0.6342 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004235/0.54, allocations: 187.7 kB / 0.6344 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.5402, allocations: 19.95 kB / 0.6344 GB, free: 9.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5414, allocations: 132 kB / 0.6345 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/0.542, allocations: 192.6 kB / 0.6347 GB, free: 8.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.468e-05/0.5421, allocations: 31.92 kB / 0.6348 GB, free: 8.852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007118/0.5428, allocations: 0.5185 MB / 0.6353 GB, free: 8.336 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5428, allocations: 4 kB / 0.6353 GB, free: 8.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001496/0.5443, allocations: 399.5 kB / 0.6356 GB, free: 7.941 MB / 442.7 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 (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.0002901/0.5446, allocations: 123.2 kB / 0.6358 GB, free: 7.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00711/0.5517, allocations: 2.558 MB / 0.6383 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5518, allocations: 3.938 kB / 0.6383 GB, free: 5.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004914/0.5567, allocations: 1.69 MB / 0.6399 GB, free: 3.539 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.5576, allocations: 76.16 kB / 0.64 GB, free: 3.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.5606, allocations: 1.96 MB / 0.6419 GB, free: 1.492 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.5613, allocations: 1.025 MB / 0.6429 GB, free: 448 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.5616, allocations: 78.17 kB / 0.643 GB, free: 368 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.5618, allocations: 55.42 kB / 0.643 GB, free: 312 kB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5618, allocations: 0 / 0.643 GB, free: 312 kB / 442.7 MB Notification: Performance of Templates: time 0.02923/0.591, allocations: 18.82 MB / 0.6614 GB, free: 13.48 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)