Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009818/0.0009818, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.281/1.281, allocations: 222.9 MB / 239 MB, free: 4.715 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.001371/0.001371, allocations: 188.5 kB / 289.3 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.448/0.448, allocations: 78.52 MB / 417.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 75.88 kB / 496.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1432, allocations: 68.18 MB / 0.5519 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2433/0.3866, allocations: 6.013 MB / 0.5577 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.3897, allocations: 1.766 MB / 0.5595 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.3901, allocations: 14.41 kB / 0.5595 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.3906, allocations: 160.3 kB / 0.5596 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3921, allocations: 0.6017 MB / 0.5602 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3931, allocations: 0.516 MB / 0.5607 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3942, allocations: 1.214 MB / 0.5619 GB, free: 35.56 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.3946, allocations: 276.5 kB / 0.5622 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.3951, allocations: 0.5215 MB / 0.5627 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.3956, allocations: 0.6345 MB / 0.5633 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.3957, allocations: 86.06 kB / 0.5634 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.3961, allocations: 224 kB / 0.5636 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.3963, allocations: 236.5 kB / 0.5638 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.3966, allocations: 0.5383 MB / 0.5644 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3978, allocations: 1.325 MB / 0.5656 GB, free: 34.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3978, allocations: 0 / 0.5656 GB, free: 34.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3978, allocations: 2.969 kB / 0.5657 GB, free: 34.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3979, allocations: 1.219 kB / 0.5657 GB, free: 34.68 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.00694/0.4048, allocations: 2.338 MB / 0.5679 GB, free: 33.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4049, allocations: 8.812 kB / 0.5679 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.4094, allocations: 0.7523 MB / 0.5687 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.4104, allocations: 0.699 MB / 0.5694 GB, free: 33.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.4106, allocations: 248.9 kB / 0.5696 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4107, allocations: 70.25 kB / 0.5697 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.4125, allocations: 0.9414 MB / 0.5706 GB, free: 33.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4125, allocations: 3.938 kB / 0.5706 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.4126, allocations: 25.66 kB / 0.5706 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.4127, allocations: 19.69 kB / 0.5706 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.4144, allocations: 0.9729 MB / 0.5716 GB, free: 33.19 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.004478/0.4189, allocations: 3.145 MB / 0.5747 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.4206, allocations: 1.313 MB / 0.5759 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.4218, allocations: 0.6946 MB / 0.5766 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/0.4219, allocations: 14.19 kB / 0.5766 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4219, allocations: 41.88 kB / 0.5767 GB, free: 31.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.615e-06/0.4219, allocations: 4 kB / 0.5767 GB, free: 31.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.0248/0.4467, allocations: 6.694 MB / 0.5832 GB, free: 30.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.4468, allocations: 61.38 kB / 0.5833 GB, free: 30.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.4481, allocations: 0.7947 MB / 0.584 GB, free: 29.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.4482, allocations: 37.73 kB / 0.5841 GB, free: 29.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.4485, allocations: 429.8 kB / 0.5845 GB, free: 29.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.4488, allocations: 290 kB / 0.5848 GB, free: 29.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.4491, allocations: 174.3 kB / 0.5849 GB, free: 29.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.4492, allocations: 351.5 kB / 0.5853 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4506, allocations: 0.6363 MB / 0.5859 GB, free: 28.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.452, allocations: 0.7659 MB / 0.5866 GB, free: 28.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/0.4702, allocations: 4.46 MB / 0.591 GB, free: 27.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.4703, allocations: 0.75 kB / 0.591 GB, free: 27.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01335/0.4836, allocations: 4.044 MB / 0.5949 GB, free: 26.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4837, allocations: 6.969 kB / 0.5949 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4837, allocations: 2.219 kB / 0.595 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006153/0.4899, allocations: 1.864 MB / 0.5968 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.4907, allocations: 158.4 kB / 0.5969 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.5106, allocations: 9.106 MB / 0.6058 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.512, allocations: 154.4 kB / 0.606 GB, free: 21.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.5121, allocations: 36.39 kB / 0.606 GB, free: 21.43 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.0003676/0.5124, allocations: 219.7 kB / 0.6062 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5126, allocations: 103.2 kB / 0.6063 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.5244, allocations: 3.82 MB / 0.61 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.5244, allocations: 8.031 kB / 0.61 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5244, allocations: 0 / 0.61 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5245, allocations: 7.922 kB / 0.6101 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.5367, allocations: 5.328 MB / 0.6153 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5368, allocations: 5.875 kB / 0.6153 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.5372, allocations: 91.88 kB / 0.6153 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005078/0.5423, allocations: 1.752 MB / 0.6171 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.5424, allocations: 12 kB / 0.6171 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.5581, allocations: 8.082 MB / 0.625 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5581, allocations: 0 / 0.625 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.5708, allocations: 4.688 MB / 0.6295 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/0.5714, allocations: 187.7 kB / 0.6297 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.5716, allocations: 16.88 kB / 0.6297 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009445/0.5726, allocations: 91.89 kB / 0.6298 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007031/0.5733, allocations: 200.7 kB / 0.63 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.5734, allocations: 17.08 kB / 0.63 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006895/0.5741, allocations: 0.538 MB / 0.6306 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5741, allocations: 0 / 0.6306 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.5754, allocations: 407.5 kB / 0.6309 GB, free: 13.87 MB / 446.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.0002558/0.5756, allocations: 119.2 kB / 0.6311 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006288/0.5819, allocations: 2.324 MB / 0.6333 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.582, allocations: 0 / 0.6333 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004304/0.5863, allocations: 1.502 MB / 0.6348 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.587, allocations: 87 kB / 0.6349 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.59, allocations: 2.012 MB / 0.6368 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5905, allocations: 1.029 MB / 0.6378 GB, free: 6.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.5908, allocations: 76.2 kB / 0.6379 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.591, allocations: 57.22 kB / 0.638 GB, free: 6.613 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.591, allocations: 0 / 0.638 GB, free: 6.613 MB / 446.1 MB Notification: Performance of Templates: time 0.02812/0.6191, allocations: 21.07 MB / 0.6586 GB, free: 1.723 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)