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.000943/0.0009432, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.29/1.29, allocations: 223.3 MB / 239 MB, free: 5.516 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.0009808/0.0009808, allocations: 175.8 kB / 290.3 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4243/0.4243, allocations: 78.56 MB / 419.9 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006274/0.0006275, allocations: 19.94 kB / 499.8 MB, free: 6.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1467, allocations: 69.36 MB / 0.5558 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.2311/0.3778, allocations: 5.252 MB / 0.5609 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.3807, allocations: 1.648 MB / 0.5625 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004492/0.3812, allocations: 14.75 kB / 0.5626 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.3816, allocations: 148.3 kB / 0.5627 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3829, allocations: 0.561 MB / 0.5632 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/0.3838, allocations: 487.2 kB / 0.5637 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.385, allocations: 1.119 MB / 0.5648 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003425/0.3854, allocations: 214.7 kB / 0.565 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.3859, allocations: 451.4 kB / 0.5654 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.3864, allocations: 0.5565 MB / 0.566 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-05/0.3865, allocations: 49.53 kB / 0.566 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.3869, allocations: 175.8 kB / 0.5662 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.3871, allocations: 186.1 kB / 0.5664 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.3872, allocations: 195.5 kB / 0.5666 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.388, allocations: 0.9865 MB / 0.5675 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.388, allocations: 0 / 0.5675 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.388, allocations: 0 / 0.5675 GB, free: 35.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.388, allocations: 0 / 0.5675 GB, free: 35.99 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.005967/0.394, allocations: 2.183 MB / 0.5697 GB, free: 35.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.394, allocations: 11.75 kB / 0.5697 GB, free: 35.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/0.3986, allocations: 0.7681 MB / 0.5704 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.3997, allocations: 0.6611 MB / 0.5711 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.3999, allocations: 259.7 kB / 0.5713 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.4001, allocations: 71.09 kB / 0.5714 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.402, allocations: 1.011 MB / 0.5724 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.402, allocations: 0 / 0.5724 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.4021, allocations: 28.97 kB / 0.5724 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4021, allocations: 14.22 kB / 0.5724 GB, free: 34.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.404, allocations: 1.056 MB / 0.5734 GB, free: 34.52 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.004616/0.4086, allocations: 3.214 MB / 0.5766 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.4103, allocations: 1.379 MB / 0.5779 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.4116, allocations: 0.7691 MB / 0.5787 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.4117, allocations: 9.469 kB / 0.5787 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4117, allocations: 47 kB / 0.5787 GB, free: 31.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.505e-06/0.4117, allocations: 1.969 kB / 0.5787 GB, free: 31.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02438/0.4361, allocations: 8.276 MB / 0.5868 GB, free: 30.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.4362, allocations: 62.72 kB / 0.5869 GB, free: 30.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/0.4371, allocations: 0.7794 MB / 0.5876 GB, free: 30.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.4373, allocations: 40.83 kB / 0.5877 GB, free: 30.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.4376, allocations: 431.2 kB / 0.5881 GB, free: 29.74 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.4378, allocations: 290.5 kB / 0.5884 GB, free: 29.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.4379, allocations: 20.28 kB / 0.5884 GB, free: 29.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.438, allocations: 347.1 kB / 0.5887 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.4393, allocations: 0.7095 MB / 0.5894 GB, free: 28.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.4408, allocations: 0.8368 MB / 0.5902 GB, free: 28.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.4422, allocations: 0.7587 MB / 0.591 GB, free: 28.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4422, allocations: 1.125 kB / 0.591 GB, free: 28.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01305/0.4552, allocations: 4.93 MB / 0.5958 GB, free: 27.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4553, allocations: 7.5 kB / 0.5958 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4553, allocations: 1.5 kB / 0.5958 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006245/0.4616, allocations: 2.162 MB / 0.5979 GB, free: 26.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008419/0.4624, allocations: 170.8 kB / 0.5981 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.4821, allocations: 9.351 MB / 0.6072 GB, free: 22.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4834, allocations: 188.3 kB / 0.6074 GB, free: 22.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.4835, allocations: 37.09 kB / 0.6074 GB, free: 22.77 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 (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.0003903/0.4839, allocations: 237.9 kB / 0.6076 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.4841, allocations: 102.4 kB / 0.6077 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.4963, allocations: 4.719 MB / 0.6123 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4964, allocations: 12 kB / 0.6124 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4964, allocations: 4 kB / 0.6124 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.4964, allocations: 4.547 kB / 0.6124 GB, free: 19.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/0.5092, allocations: 6.229 MB / 0.6184 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5092, allocations: 0 / 0.6184 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.5097, allocations: 95.83 kB / 0.6185 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005308/0.5151, allocations: 2.055 MB / 0.6205 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.5152, allocations: 18.8 kB / 0.6206 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/0.5304, allocations: 8.212 MB / 0.6286 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5304, allocations: 0.5469 kB / 0.6286 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/0.544, allocations: 5.661 MB / 0.6341 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.5445, allocations: 184.4 kB / 0.6343 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.5447, allocations: 23.89 kB / 0.6343 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.5455, allocations: 128 kB / 0.6344 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005476/0.546, allocations: 196.6 kB / 0.6346 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.5461, allocations: 20.88 kB / 0.6346 GB, free: 12.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006123/0.5467, allocations: 0.5302 MB / 0.6352 GB, free: 12.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5467, allocations: 0 / 0.6352 GB, free: 12.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001193/0.5479, allocations: 407.5 kB / 0.6355 GB, free: 11.94 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 (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.0002902/0.5482, allocations: 119.2 kB / 0.6357 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006199/0.5545, allocations: 2.553 MB / 0.6382 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5545, allocations: 3.938 kB / 0.6382 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004537/0.559, allocations: 1.684 MB / 0.6398 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.5598, allocations: 75.88 kB / 0.6399 GB, free: 7.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.5629, allocations: 1.958 MB / 0.6418 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/0.5635, allocations: 1.029 MB / 0.6428 GB, free: 4.461 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.5639, allocations: 76.48 kB / 0.6429 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.564, allocations: 51.44 kB / 0.6429 GB, free: 4.336 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.564, allocations: 0 / 0.6429 GB, free: 4.336 MB / 446.1 MB Notification: Performance of Templates: time 0.02837/0.5924, allocations: 18.84 MB / 0.6613 GB, free: 1.68 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: