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.005072/0.005072, allocations: 170.7 kB / 15.12 MB, free: 5.559 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.311/1.311, allocations: 223.2 MB / 239 MB, free: 1.762 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.0009242/0.0009241, allocations: 98.3 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4474/0.4474, allocations: 78.58 MB / 419.9 MB, free: 44.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003664, allocations: 8 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004707/0.3503, allocations: 4.972 MB / 0.5606 GB, free: 38.29 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.3536, allocations: 1.69 MB / 0.5623 GB, free: 37.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/0.3542, allocations: 16.34 kB / 0.5623 GB, free: 37.09 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.3547, allocations: 147.5 kB / 0.5624 GB, free: 37.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3561, allocations: 0.6238 MB / 0.563 GB, free: 36.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3572, allocations: 486.9 kB / 0.5635 GB, free: 36.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.3583, allocations: 0.8018 MB / 0.5643 GB, free: 35.92 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.3587, allocations: 213.5 kB / 0.5645 GB, free: 35.82 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005345/0.3592, allocations: 452.2 kB / 0.5649 GB, free: 35.61 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.3598, allocations: 0.547 MB / 0.5655 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.3599, allocations: 46.44 kB / 0.5655 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.3604, allocations: 159.5 kB / 0.5657 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3605, allocations: 191.4 kB / 0.5658 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.3607, allocations: 198.3 kB / 0.566 GB, free: 35.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.3615, allocations: 0.9445 MB / 0.5669 GB, free: 34.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.3615, allocations: 0 / 0.5669 GB, free: 34.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3615, allocations: 0 / 0.5669 GB, free: 34.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3616, allocations: 0 / 0.5669 GB, free: 34.79 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.006928/0.3685, allocations: 2.184 MB / 0.5691 GB, free: 33.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3686, allocations: 8.594 kB / 0.5691 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/0.3733, allocations: 0.7729 MB / 0.5698 GB, free: 33.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3746, allocations: 0.6589 MB / 0.5705 GB, free: 33.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.3749, allocations: 257.8 kB / 0.5707 GB, free: 33.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.375, allocations: 67.44 kB / 0.5708 GB, free: 33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.3768, allocations: 1.002 MB / 0.5718 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3769, allocations: 4 kB / 0.5718 GB, free: 32.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.3769, allocations: 29.22 kB / 0.5718 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.377, allocations: 17.7 kB / 0.5718 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.3789, allocations: 1.05 MB / 0.5728 GB, free: 32.3 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.004785/0.3837, allocations: 3.318 MB / 0.5761 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3855, allocations: 1.385 MB / 0.5774 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.538e-05/0.3856, allocations: 17.12 kB / 0.5775 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.3856, allocations: 42.19 kB / 0.5775 GB, free: 29.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 2.865e-06/0.3856, allocations: 2.938 kB / 0.5775 GB, free: 29.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02658/0.4122, allocations: 8.271 MB / 0.5856 GB, free: 28.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4123, allocations: 60.81 kB / 0.5856 GB, free: 27.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/0.4132, allocations: 0.7779 MB / 0.5864 GB, free: 27.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002026/0.4135, allocations: 45.17 kB / 0.5864 GB, free: 27.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4137, allocations: 435 kB / 0.5869 GB, free: 27.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.414, allocations: 287.2 kB / 0.5871 GB, free: 26.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.4141, allocations: 21.06 kB / 0.5871 GB, free: 26.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.4141, allocations: 347.2 kB / 0.5875 GB, free: 26.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.4155, allocations: 0.7099 MB / 0.5882 GB, free: 26.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.4169, allocations: 0.8316 MB / 0.589 GB, free: 26.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.4183, allocations: 0.7576 MB / 0.5897 GB, free: 25.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4183, allocations: 1.062 kB / 0.5897 GB, free: 25.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01433/0.4327, allocations: 4.93 MB / 0.5945 GB, free: 24.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.4328, allocations: 5.031 kB / 0.5945 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4328, allocations: 6.781 kB / 0.5945 GB, free: 24.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/0.4395, allocations: 2.164 MB / 0.5967 GB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.4404, allocations: 168.4 kB / 0.5968 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/0.4626, allocations: 9.803 MB / 0.6064 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.4642, allocations: 188.7 kB / 0.6066 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.4644, allocations: 39.17 kB / 0.6066 GB, free: 20.07 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.0004548/0.4648, allocations: 224.7 kB / 0.6068 GB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.465, allocations: 102.9 kB / 0.6069 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.4787, allocations: 4.728 MB / 0.6115 GB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.4788, allocations: 8 kB / 0.6116 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4788, allocations: 0 / 0.6116 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.4789, allocations: 7.969 kB / 0.6116 GB, free: 16.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.4933, allocations: 6.239 MB / 0.6177 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.4934, allocations: 0 / 0.6177 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/0.4939, allocations: 95.89 kB / 0.6177 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.4997, allocations: 2.054 MB / 0.6197 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.4999, allocations: 16 kB / 0.6198 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/0.5173, allocations: 8.643 MB / 0.6282 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5174, allocations: 0 / 0.6282 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01598/0.5334, allocations: 5.665 MB / 0.6337 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.5339, allocations: 183.7 kB / 0.6339 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.5341, allocations: 27.88 kB / 0.6339 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5352, allocations: 132 kB / 0.6341 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000618/0.5358, allocations: 196.6 kB / 0.6343 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/0.5359, allocations: 24 kB / 0.6343 GB, free: 9.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007057/0.5366, allocations: 0.5224 MB / 0.6348 GB, free: 8.648 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5366, allocations: 3.938 kB / 0.6348 GB, free: 8.645 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001408/0.538, allocations: 403.5 kB / 0.6352 GB, free: 8.25 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.0002713/0.5383, allocations: 127.2 kB / 0.6353 GB, free: 8.113 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006992/0.5453, allocations: 2.554 MB / 0.6378 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5453, allocations: 0 / 0.6378 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004987/0.5503, allocations: 1.686 MB / 0.6394 GB, free: 3.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.5512, allocations: 67.3 kB / 0.6395 GB, free: 3.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.5545, allocations: 1.973 MB / 0.6414 GB, free: 1.809 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.5552, allocations: 1.049 MB / 0.6424 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.5556, allocations: 86.11 kB / 0.6425 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.5558, allocations: 55.42 kB / 0.6426 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5558, allocations: 0 / 0.6426 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of Templates: time 0.02985/0.5856, allocations: 18.78 MB / 0.6609 GB, free: 13.81 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)