Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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 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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001176, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.3 MB, free: 4.609 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.001339/0.001339, allocations: 187.6 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4973/0.4973, allocations: 91.89 MB / 431.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 83.86 kB / 0.502 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3218, allocations: 71.26 MB / 0.5716 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004763/0.3266, allocations: 5.704 MB / 0.5771 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.3294, allocations: 1.73 MB / 0.5788 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004564/0.3298, allocations: 12.19 kB / 0.5788 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00047/0.3303, allocations: 201 kB / 0.579 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.332, allocations: 0.6837 MB / 0.5797 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3331, allocations: 0.5564 MB / 0.5802 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3343, allocations: 1.22 MB / 0.5814 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.3347, allocations: 275.7 kB / 0.5817 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.3353, allocations: 0.5161 MB / 0.5822 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.3358, allocations: 0.6301 MB / 0.5828 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3359, allocations: 88.88 kB / 0.5829 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.3363, allocations: 229.2 kB / 0.5831 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.3365, allocations: 231.5 kB / 0.5833 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.3368, allocations: 0.5396 MB / 0.5839 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009625/0.3378, allocations: 1.328 MB / 0.5852 GB, free: 29.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3378, allocations: 4 kB / 0.5852 GB, free: 29.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3378, allocations: 0 / 0.5852 GB, free: 29.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3378, allocations: 3.938 kB / 0.5852 GB, free: 29.07 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.007158/0.345, allocations: 2.329 MB / 0.5875 GB, free: 28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.345, allocations: 9.062 kB / 0.5875 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.3452, allocations: 122.3 kB / 0.5876 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/0.35, allocations: 0.7507 MB / 0.5883 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.351, allocations: 0.7044 MB / 0.589 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3513, allocations: 242.4 kB / 0.5892 GB, free: 27.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.3514, allocations: 72.08 kB / 0.5893 GB, free: 27.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.3534, allocations: 0.9395 MB / 0.5902 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3534, allocations: 1.219 kB / 0.5902 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.353e-05/0.3535, allocations: 29.75 kB / 0.5902 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3535, allocations: 15.75 kB / 0.5903 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.3557, allocations: 0.9677 MB / 0.5912 GB, free: 26.36 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.005086/0.3608, allocations: 3.159 MB / 0.5943 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3626, allocations: 1.309 MB / 0.5956 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.364, allocations: 0.6954 MB / 0.5962 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.313e-05/0.3641, allocations: 15.8 kB / 0.5963 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3641, allocations: 45.78 kB / 0.5963 GB, free: 23.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.565e-06/0.3641, allocations: 1.312 kB / 0.5963 GB, free: 23.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02828/0.3924, allocations: 6.688 MB / 0.6028 GB, free: 22.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3925, allocations: 65.12 kB / 0.6029 GB, free: 22.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3936, allocations: 0.7836 MB / 0.6037 GB, free: 21.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3938, allocations: 40.05 kB / 0.6037 GB, free: 21.65 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.394, allocations: 430 kB / 0.6041 GB, free: 21.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.3943, allocations: 292.6 kB / 0.6044 GB, free: 21.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.3946, allocations: 179.1 kB / 0.6046 GB, free: 20.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.3947, allocations: 347.1 kB / 0.6049 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.3962, allocations: 0.6398 MB / 0.6055 GB, free: 20.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.3978, allocations: 0.7681 MB / 0.6063 GB, free: 20.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0184/0.4162, allocations: 4.456 MB / 0.6106 GB, free: 18.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4162, allocations: 0 / 0.6106 GB, free: 18.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01323/0.4295, allocations: 4.044 MB / 0.6146 GB, free: 17.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4295, allocations: 6.812 kB / 0.6146 GB, free: 17.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.4295, allocations: 1.094 kB / 0.6146 GB, free: 17.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/0.4357, allocations: 1.864 MB / 0.6164 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/0.4365, allocations: 159.8 kB / 0.6166 GB, free: 16.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/0.4555, allocations: 9.109 MB / 0.6254 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4569, allocations: 155 kB / 0.6256 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.457, allocations: 35.98 kB / 0.6256 GB, free: 6.672 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.0003718/0.4574, allocations: 222.6 kB / 0.6258 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.4575, allocations: 102.8 kB / 0.6259 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.4697, allocations: 3.821 MB / 0.6297 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4697, allocations: 8 kB / 0.6297 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4697, allocations: 0 / 0.6297 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4697, allocations: 3.984 kB / 0.6297 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.4842, allocations: 5.332 MB / 0.6349 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.4843, allocations: 4 kB / 0.6349 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.4848, allocations: 87.83 kB / 0.635 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/0.4911, allocations: 1.745 MB / 0.6367 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.4912, allocations: 12 kB / 0.6367 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.5113, allocations: 8.096 MB / 0.6446 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5113, allocations: 0 / 0.6446 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.5266, allocations: 4.684 MB / 0.6492 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.527, allocations: 187.5 kB / 0.6494 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.5272, allocations: 20.06 kB / 0.6494 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5282, allocations: 91.89 kB / 0.6495 GB, free: 13.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005858/0.5288, allocations: 196.7 kB / 0.6496 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.5289, allocations: 23.92 kB / 0.6497 GB, free: 13.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007168/0.5296, allocations: 0.5342 MB / 0.6502 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5296, allocations: 0 / 0.6502 GB, free: 13.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001201/0.5308, allocations: 399.6 kB / 0.6506 GB, free: 12.77 MB / 462.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.01532/0.5462, allocations: 5.261 MB / 0.6557 GB, free: 7.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006959/0.5531, allocations: 2.315 MB / 0.658 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5532, allocations: 4.062 kB / 0.658 GB, free: 5.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/0.5579, allocations: 1.507 MB / 0.6594 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.5587, allocations: 75.31 kB / 0.6595 GB, free: 3.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/0.5954, allocations: 14.38 MB / 0.6736 GB, free: 4.855 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5961, allocations: 1.029 MB / 0.6746 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.5964, allocations: 78.19 kB / 0.6746 GB, free: 3.719 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.5969, allocations: 379.3 kB / 0.675 GB, free: 3.348 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.597, allocations: 0 / 0.675 GB, free: 3.348 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.6571, allocations: 30.25 MB / 0.7045 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.12, allocations: 11.8 kB / 0.7045 GB, free: 5.203 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)