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.001522/0.001522, allocations: 180 kB / 15.45 MB, free: 6.234 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.379/1.379, allocations: 223.3 MB / 239.5 MB, free: 15.7 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.0008145/0.0008145, allocations: 93.06 kB / 290.6 MB, free: 4.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4853/0.4853, allocations: 78.61 MB / 420.4 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 16 kB / 0.4889 GB, free: 6.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 69.35 MB / 0.5566 GB, free: 1.297 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005543/0.1273, allocations: 5.584 MB / 0.5621 GB, free: 11.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.1309, allocations: 1.763 MB / 0.5638 GB, free: 9.91 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000514/0.1314, allocations: 8 kB / 0.5638 GB, free: 9.902 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1318, allocations: 155 kB / 0.5639 GB, free: 9.75 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1333, allocations: 0.6042 MB / 0.5645 GB, free: 9.148 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1344, allocations: 0.5096 MB / 0.565 GB, free: 8.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1356, allocations: 1.167 MB / 0.5662 GB, free: 7.473 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.1359, allocations: 231.6 kB / 0.5664 GB, free: 7.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.1365, allocations: 473.7 kB / 0.5668 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.1371, allocations: 0.5869 MB / 0.5674 GB, free: 6.184 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1372, allocations: 48 kB / 0.5675 GB, free: 6.137 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.1376, allocations: 175.8 kB / 0.5676 GB, free: 5.965 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1378, allocations: 187 kB / 0.5678 GB, free: 5.781 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.1382, allocations: 0.518 MB / 0.5683 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1394, allocations: 1.261 MB / 0.5695 GB, free: 3.988 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1394, allocations: 0 / 0.5695 GB, free: 3.988 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1394, allocations: 4 kB / 0.5695 GB, free: 3.984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1394, allocations: 0 / 0.5695 GB, free: 3.984 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.006667/0.1461, allocations: 2.174 MB / 0.5717 GB, free: 1.758 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1461, allocations: 8.031 kB / 0.5717 GB, free: 1.75 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.1464, allocations: 122.4 kB / 0.5718 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.1512, allocations: 0.7634 MB / 0.5725 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.1524, allocations: 0.701 MB / 0.5732 GB, free: 112 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2146/0.367, allocations: 259.8 kB / 0.5735 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.3673, allocations: 63.72 kB / 0.5735 GB, free: 44.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/0.3693, allocations: 1.02 MB / 0.5745 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.3694, allocations: 0.5 kB / 0.5745 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/0.3694, allocations: 31.81 kB / 0.5746 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3695, allocations: 16.62 kB / 0.5746 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.3715, allocations: 1.049 MB / 0.5756 GB, free: 44.48 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.004922/0.3765, allocations: 3.212 MB / 0.5787 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.3783, allocations: 1.388 MB / 0.5801 GB, free: 43.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.3796, allocations: 0.7719 MB / 0.5808 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3797, allocations: 16.53 kB / 0.5809 GB, free: 43.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3797, allocations: 42.91 kB / 0.5809 GB, free: 43.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 2.896e-06/0.3797, allocations: 0.5938 kB / 0.5809 GB, free: 43.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02712/0.4069, allocations: 8.324 MB / 0.589 GB, free: 42.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.407, allocations: 60.41 kB / 0.5891 GB, free: 42.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.408, allocations: 0.7859 MB / 0.5899 GB, free: 42.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.4082, allocations: 41.36 kB / 0.5899 GB, free: 42.28 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.4085, allocations: 429.3 kB / 0.5903 GB, free: 42.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000297/0.4088, allocations: 288.6 kB / 0.5906 GB, free: 41.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.409, allocations: 99.56 kB / 0.5907 GB, free: 41.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.4091, allocations: 344.2 kB / 0.591 GB, free: 41.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4106, allocations: 0.7177 MB / 0.5917 GB, free: 41.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/0.4121, allocations: 0.8353 MB / 0.5925 GB, free: 41.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01626/0.4284, allocations: 4.945 MB / 0.5974 GB, free: 40.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4284, allocations: 0 / 0.5974 GB, free: 40.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01273/0.4412, allocations: 4.95 MB / 0.6022 GB, free: 39.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4412, allocations: 5.906 kB / 0.6022 GB, free: 39.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.4412, allocations: 4.828 kB / 0.6022 GB, free: 39.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.4471, allocations: 2.169 MB / 0.6043 GB, free: 38.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.4479, allocations: 174.7 kB / 0.6045 GB, free: 38.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/0.4676, allocations: 9.36 MB / 0.6136 GB, free: 34.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.469, allocations: 188.4 kB / 0.6138 GB, free: 34.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.4692, allocations: 35.16 kB / 0.6138 GB, free: 34.71 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 (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.0004331/0.4696, allocations: 223 kB / 0.614 GB, free: 34.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.4698, allocations: 102.6 kB / 0.6141 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.483, allocations: 4.735 MB / 0.6188 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.4831, allocations: 8.688 kB / 0.6188 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4831, allocations: 0 / 0.6188 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-05/0.4831, allocations: 4.406 kB / 0.6188 GB, free: 33.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.4992, allocations: 6.234 MB / 0.6249 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4993, allocations: 0 / 0.6249 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.4998, allocations: 101.1 kB / 0.625 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005576/0.5053, allocations: 2.054 MB / 0.627 GB, free: 31.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/0.5055, allocations: 15.94 kB / 0.627 GB, free: 31.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.5208, allocations: 8.224 MB / 0.635 GB, free: 23.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5208, allocations: 6.578 kB / 0.635 GB, free: 23.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/0.5341, allocations: 5.671 MB / 0.6406 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.5344, allocations: 187.8 kB / 0.6407 GB, free: 17.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.5347, allocations: 19.94 kB / 0.6408 GB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/0.5357, allocations: 131.8 kB / 0.6409 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/0.5363, allocations: 196.7 kB / 0.6411 GB, free: 17.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.5364, allocations: 20 kB / 0.6411 GB, free: 17.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006169/0.537, allocations: 0.5264 MB / 0.6416 GB, free: 16.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.537, allocations: 0 / 0.6416 GB, free: 16.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001282/0.5383, allocations: 408.5 kB / 0.642 GB, free: 16.57 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 (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.01376/0.5521, allocations: 6.242 MB / 0.6481 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006027/0.5581, allocations: 2.566 MB / 0.6506 GB, free: 7.742 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5582, allocations: 0 / 0.6506 GB, free: 7.742 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004157/0.5624, allocations: 1.69 MB / 0.6522 GB, free: 6.043 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.5632, allocations: 76.16 kB / 0.6523 GB, free: 5.969 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/0.5996, allocations: 16.64 MB / 0.6686 GB, free: 5.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.6003, allocations: 1.033 MB / 0.6696 GB, free: 3.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000359/0.6006, allocations: 77.05 kB / 0.6697 GB, free: 3.898 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.6012, allocations: 371.3 kB / 0.67 GB, free: 3.535 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6012, allocations: 0 / 0.67 GB, free: 3.535 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04496/0.6461, allocations: 27.32 MB / 0.6967 GB, free: 8.516 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.6464, allocations: 221.3 kB / 0.6969 GB, free: 8.262 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/3.63, allocations: 8 kB / 0.6969 GB, free: 8.254 MB / 490.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)