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.001162/0.001162, allocations: 180.4 kB / 15.45 MB, free: 6.234 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.26/1.26, allocations: 223.3 MB / 239.5 MB, free: 1.605 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.000766/0.000766, allocations: 96.25 kB / 290.7 MB, free: 13.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4339/0.4339, allocations: 78.61 MB / 420.4 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 0.4888 GB, free: 2.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3544, allocations: 69.36 MB / 0.5565 GB, free: 38.96 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004525/0.359, allocations: 5.581 MB / 0.562 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3619, allocations: 1.756 MB / 0.5637 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.3624, allocations: 14.78 kB / 0.5637 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.3628, allocations: 154 kB / 0.5638 GB, free: 35.86 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.3641, allocations: 0.6044 MB / 0.5644 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3651, allocations: 0.5105 MB / 0.5649 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3664, allocations: 1.168 MB / 0.5661 GB, free: 35.17 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.3667, allocations: 245.1 kB / 0.5663 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.3673, allocations: 471.1 kB / 0.5667 GB, free: 34.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005986/0.3679, allocations: 0.5811 MB / 0.5673 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.368, allocations: 46.84 kB / 0.5674 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.3684, allocations: 177.7 kB / 0.5675 GB, free: 34.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3686, allocations: 204.8 kB / 0.5677 GB, free: 34.49 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.369, allocations: 0.5119 MB / 0.5682 GB, free: 34.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.3699, allocations: 1.259 MB / 0.5695 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3699, allocations: 0 / 0.5695 GB, free: 33.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3699, allocations: 0 / 0.5695 GB, free: 33.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.37, allocations: 2.812 kB / 0.5695 GB, free: 33.66 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.006041/0.376, allocations: 2.177 MB / 0.5716 GB, free: 32.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3761, allocations: 7.969 kB / 0.5716 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004498/0.3806, allocations: 0.761 MB / 0.5723 GB, free: 32.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008562/0.3814, allocations: 0.6967 MB / 0.573 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.3817, allocations: 272.6 kB / 0.5733 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.3818, allocations: 65.38 kB / 0.5733 GB, free: 31.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3836, allocations: 1.012 MB / 0.5743 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3836, allocations: 9.031 kB / 0.5743 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.3837, allocations: 25.5 kB / 0.5744 GB, free: 31.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.3837, allocations: 19.94 kB / 0.5744 GB, free: 31.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.3856, allocations: 1.054 MB / 0.5754 GB, free: 31.12 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.004373/0.39, allocations: 3.215 MB / 0.5785 GB, free: 29.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3917, allocations: 1.385 MB / 0.5799 GB, free: 28.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.3929, allocations: 0.7683 MB / 0.5806 GB, free: 28.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.393, allocations: 24.69 kB / 0.5807 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.393, allocations: 45.09 kB / 0.5807 GB, free: 28.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.393, allocations: 0 / 0.5807 GB, free: 28.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02395/0.417, allocations: 8.311 MB / 0.5888 GB, free: 26.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.417, allocations: 61.62 kB / 0.5889 GB, free: 26.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.4179, allocations: 0.7973 MB / 0.5897 GB, free: 26.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.4181, allocations: 40.98 kB / 0.5897 GB, free: 26.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.4183, allocations: 427.2 kB / 0.5901 GB, free: 25.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.4185, allocations: 288.3 kB / 0.5904 GB, free: 25.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4186, allocations: 91.66 kB / 0.5905 GB, free: 25.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.4187, allocations: 347.4 kB / 0.5908 GB, free: 25.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.4201, allocations: 0.7155 MB / 0.5915 GB, free: 25.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.4215, allocations: 0.8385 MB / 0.5923 GB, free: 24.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/0.4379, allocations: 4.944 MB / 0.5972 GB, free: 23.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.438, allocations: 1.312 kB / 0.5972 GB, free: 23.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01377/0.4518, allocations: 4.949 MB / 0.602 GB, free: 22.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.4518, allocations: 7.344 kB / 0.602 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4519, allocations: 2.359 kB / 0.602 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006391/0.4583, allocations: 2.179 MB / 0.6041 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.4591, allocations: 168.3 kB / 0.6043 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.4782, allocations: 9.364 MB / 0.6134 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4796, allocations: 187.1 kB / 0.6136 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.4798, allocations: 39.98 kB / 0.6136 GB, free: 15.25 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 (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.0005146/0.4804, allocations: 222.1 kB / 0.6139 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.4806, allocations: 102.7 kB / 0.614 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/0.4919, allocations: 4.727 MB / 0.6186 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4919, allocations: 11.94 kB / 0.6186 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4919, allocations: 4 kB / 0.6186 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.4919, allocations: 3.984 kB / 0.6186 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.5049, allocations: 6.235 MB / 0.6247 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.505, allocations: 0 / 0.6247 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.5055, allocations: 95.89 kB / 0.6248 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005207/0.5107, allocations: 2.054 MB / 0.6268 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.5108, allocations: 19.98 kB / 0.6268 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/0.5275, allocations: 8.23 MB / 0.6348 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5275, allocations: 0 / 0.6348 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/0.5417, allocations: 5.673 MB / 0.6404 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.5421, allocations: 191.6 kB / 0.6406 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.5423, allocations: 16 kB / 0.6406 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.5433, allocations: 132 kB / 0.6407 GB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006071/0.544, allocations: 192.7 kB / 0.6409 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.544, allocations: 20 kB / 0.6409 GB, free: 2.988 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00072/0.5448, allocations: 0.5341 MB / 0.6414 GB, free: 2.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5448, allocations: 0 / 0.6414 GB, free: 2.457 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00147/0.5462, allocations: 403.5 kB / 0.6418 GB, free: 2.062 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 (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.0002586/0.5465, allocations: 123.2 kB / 0.6419 GB, free: 1.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006166/0.5527, allocations: 2.566 MB / 0.6444 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5527, allocations: 0.5625 kB / 0.6444 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004291/0.557, allocations: 1.682 MB / 0.6461 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.5578, allocations: 76.95 kB / 0.6461 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5608, allocations: 2.058 MB / 0.6482 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.5614, allocations: 1.029 MB / 0.6492 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002804/0.5617, allocations: 78.17 kB / 0.6492 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5619, allocations: 47.44 kB / 0.6493 GB, free: 10.33 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5619, allocations: 0 / 0.6493 GB, free: 10.33 MB / 458.7 MB Notification: Performance of Templates: time 0.03085/0.5927, allocations: 19.37 MB / 0.6682 GB, free: 6.965 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)