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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006017/0.006017, allocations: 169.5 kB / 15.13 MB, free: 6.023 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.392/1.392, allocations: 223.3 MB / 239.1 MB, free: 15.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009656/0.0009657, allocations: 105.1 kB / 290.3 MB, free: 4.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.531/0.531, allocations: 78.62 MB / 420 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 500 MB, free: 7.133 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1387, allocations: 69.36 MB / 0.556 GB, free: 1.711 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005572/0.1444, allocations: 5.246 MB / 0.5611 GB, free: 12.44 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.148, allocations: 1.662 MB / 0.5628 GB, free: 10.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000694/0.1488, allocations: 12 kB / 0.5628 GB, free: 10.76 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.1492, allocations: 139 kB / 0.5629 GB, free: 10.62 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.1507, allocations: 0.5672 MB / 0.5635 GB, free: 10.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1517, allocations: 489.9 kB / 0.5639 GB, free: 9.578 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1529, allocations: 1.108 MB / 0.565 GB, free: 8.465 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1532, allocations: 211.3 kB / 0.5652 GB, free: 8.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.1537, allocations: 449.9 kB / 0.5656 GB, free: 7.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.1543, allocations: 0.5716 MB / 0.5662 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.1544, allocations: 44 kB / 0.5662 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.1547, allocations: 167.9 kB / 0.5664 GB, free: 7.027 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.1549, allocations: 191 kB / 0.5666 GB, free: 6.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1551, allocations: 201.1 kB / 0.5668 GB, free: 6.637 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000864/0.1559, allocations: 0.9818 MB / 0.5677 GB, free: 5.652 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1559, allocations: 4 kB / 0.5677 GB, free: 5.648 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.156, allocations: 0 / 0.5677 GB, free: 5.648 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.156, allocations: 0 / 0.5677 GB, free: 5.648 MB / 442.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.007092/0.1631, allocations: 2.178 MB / 0.5699 GB, free: 3.418 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1631, allocations: 8.031 kB / 0.5699 GB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/0.1634, allocations: 118.5 kB / 0.57 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.1683, allocations: 0.7634 MB / 0.5707 GB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1694, allocations: 0.659 MB / 0.5714 GB, free: 1.816 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.1697, allocations: 267.5 kB / 0.5716 GB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.1698, allocations: 67.94 kB / 0.5717 GB, free: 1.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.172, allocations: 1.014 MB / 0.5727 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.172, allocations: 0 / 0.5727 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.1721, allocations: 24 kB / 0.5727 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1722, allocations: 19.95 kB / 0.5727 GB, free: 396 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2528/0.425, allocations: 1.048 MB / 0.5737 GB, free: 44.69 MB / 442.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.005003/0.43, allocations: 3.217 MB / 0.5769 GB, free: 43.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.4319, allocations: 1.382 MB / 0.5782 GB, free: 43.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4333, allocations: 0.7703 MB / 0.579 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.567e-05/0.4334, allocations: 14.98 kB / 0.579 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.4334, allocations: 43.22 kB / 0.579 GB, free: 43.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.4334, allocations: 0 / 0.579 GB, free: 43.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02785/0.4613, allocations: 8.273 MB / 0.5871 GB, free: 42.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4613, allocations: 61.69 kB / 0.5872 GB, free: 42.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.4624, allocations: 0.7835 MB / 0.5879 GB, free: 42.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.4626, allocations: 41.45 kB / 0.588 GB, free: 42.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4629, allocations: 431.5 kB / 0.5884 GB, free: 42.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.4633, allocations: 290.2 kB / 0.5887 GB, free: 42.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.4633, allocations: 20.56 kB / 0.5887 GB, free: 42.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4635, allocations: 346.7 kB / 0.589 GB, free: 41.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.465, allocations: 0.7192 MB / 0.5897 GB, free: 41.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4665, allocations: 0.8275 MB / 0.5905 GB, free: 41.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.4682, allocations: 0.7571 MB / 0.5913 GB, free: 41.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4682, allocations: 0 / 0.5913 GB, free: 41.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01337/0.4816, allocations: 4.936 MB / 0.5961 GB, free: 40.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.4817, allocations: 6.344 kB / 0.5961 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.4817, allocations: 3.344 kB / 0.5961 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006067/0.4878, allocations: 2.16 MB / 0.5982 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.4886, allocations: 172 kB / 0.5984 GB, free: 40.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/0.5076, allocations: 9.345 MB / 0.6075 GB, free: 36.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.509, allocations: 192.5 kB / 0.6077 GB, free: 36.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.5091, allocations: 34.53 kB / 0.6077 GB, free: 36.44 MB / 442.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.0003877/0.5095, allocations: 233.1 kB / 0.6079 GB, free: 36.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.5096, allocations: 103.3 kB / 0.608 GB, free: 36.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.5232, allocations: 4.721 MB / 0.6126 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5232, allocations: 8.25 kB / 0.6127 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5232, allocations: 0.9375 kB / 0.6127 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.5232, allocations: 6.938 kB / 0.6127 GB, free: 35.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.5387, allocations: 6.236 MB / 0.6188 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.5387, allocations: 0 / 0.6188 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.5392, allocations: 94.23 kB / 0.6188 GB, free: 33.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00632/0.5455, allocations: 2.054 MB / 0.6208 GB, free: 32.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-05/0.5456, allocations: 16.09 kB / 0.6209 GB, free: 32.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.5631, allocations: 8.215 MB / 0.6289 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5632, allocations: 0 / 0.6289 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.5771, allocations: 5.66 MB / 0.6344 GB, free: 24.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.5775, allocations: 195.6 kB / 0.6346 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5776, allocations: 12.75 kB / 0.6346 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/0.5785, allocations: 132.7 kB / 0.6347 GB, free: 23.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/0.5791, allocations: 196.6 kB / 0.6349 GB, free: 23.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.5791, allocations: 20 kB / 0.6349 GB, free: 23.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005539/0.5797, allocations: 0.5185 MB / 0.6354 GB, free: 23.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5797, allocations: 4 kB / 0.6355 GB, free: 23.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001077/0.5808, allocations: 403.5 kB / 0.6358 GB, free: 22.81 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.01429/0.5951, allocations: 6.237 MB / 0.6419 GB, free: 16.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006008/0.6011, allocations: 2.554 MB / 0.6444 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6012, allocations: 0 / 0.6444 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004387/0.6056, allocations: 1.689 MB / 0.6461 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.6063, allocations: 80.11 kB / 0.6461 GB, free: 12.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/0.6264, allocations: 10.25 MB / 0.6562 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.6268, allocations: 1.021 MB / 0.6572 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.6272, allocations: 80.16 kB / 0.6572 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.6276, allocations: 375.3 kB / 0.6576 GB, free: 264 kB / 442.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6276, allocations: 0 / 0.6576 GB, free: 264 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04668/0.6743, allocations: 27.15 MB / 0.6841 GB, free: 5.438 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.6745, allocations: 201.1 kB / 0.6843 GB, free: 5.203 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/3.625, allocations: 0 / 0.6843 GB, free: 5.203 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)