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.001123/0.001123, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.505/1.505, allocations: 223.3 MB / 239.4 MB, free: 5.543 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.001235/0.001235, allocations: 183.5 kB / 290.6 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5575/0.5575, allocations: 91.93 MB / 433.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 15.94 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4221, allocations: 72.46 MB / 0.5756 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004514/0.4266, allocations: 5.614 MB / 0.5811 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.4299, allocations: 1.759 MB / 0.5828 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004924/0.4304, allocations: 10.41 kB / 0.5828 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.4309, allocations: 160.7 kB / 0.583 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.4322, allocations: 0.5989 MB / 0.5836 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.4332, allocations: 0.5257 MB / 0.5841 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.4342, allocations: 1.173 MB / 0.5852 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.4346, allocations: 235.7 kB / 0.5855 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.435, allocations: 467.4 kB / 0.5859 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.4355, allocations: 0.5765 MB / 0.5865 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.4356, allocations: 48.03 kB / 0.5865 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.436, allocations: 179.1 kB / 0.5867 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.4361, allocations: 200.3 kB / 0.5869 GB, free: 29.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.4365, allocations: 0.5133 MB / 0.5874 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000924/0.4374, allocations: 1.258 MB / 0.5886 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4374, allocations: 4 kB / 0.5886 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4374, allocations: 0 / 0.5886 GB, free: 28.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.4374, allocations: 0 / 0.5886 GB, free: 28.97 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.007067/0.4445, allocations: 2.18 MB / 0.5907 GB, free: 28.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.4446, allocations: 9.5 kB / 0.5908 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.4448, allocations: 110.3 kB / 0.5909 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.4497, allocations: 0.7699 MB / 0.5916 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4508, allocations: 0.692 MB / 0.5923 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.4511, allocations: 260.9 kB / 0.5925 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.4512, allocations: 74.31 kB / 0.5926 GB, free: 27.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.4534, allocations: 1.018 MB / 0.5936 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4534, allocations: 1.469 kB / 0.5936 GB, free: 26.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.4535, allocations: 24.34 kB / 0.5936 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.4535, allocations: 16.81 kB / 0.5936 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.4558, allocations: 1.062 MB / 0.5947 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.005221/0.461, allocations: 3.212 MB / 0.5978 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.4632, allocations: 1.387 MB / 0.5992 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.4647, allocations: 0.7737 MB / 0.5999 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/0.4648, allocations: 12.7 kB / 0.5999 GB, free: 23.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4649, allocations: 42.56 kB / 0.6 GB, free: 23.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 3.135e-06/0.4649, allocations: 1.125 kB / 0.6 GB, free: 23.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.03173/0.4966, allocations: 8.317 MB / 0.6081 GB, free: 21.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.4967, allocations: 65 kB / 0.6082 GB, free: 21.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.4984, allocations: 0.7873 MB / 0.6089 GB, free: 21.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.4986, allocations: 40.08 kB / 0.609 GB, free: 21.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.499, allocations: 429.6 kB / 0.6094 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.4994, allocations: 293.1 kB / 0.6097 GB, free: 20.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.4996, allocations: 92.2 kB / 0.6097 GB, free: 20.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/0.4997, allocations: 344.5 kB / 0.6101 GB, free: 20.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/0.5013, allocations: 0.7177 MB / 0.6108 GB, free: 20.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.5031, allocations: 0.8359 MB / 0.6116 GB, free: 19.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02039/0.5235, allocations: 4.949 MB / 0.6164 GB, free: 18.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.5236, allocations: 0 / 0.6164 GB, free: 18.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01487/0.5384, allocations: 4.95 MB / 0.6213 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.5385, allocations: 11.98 kB / 0.6213 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5385, allocations: 4 kB / 0.6213 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006353/0.5449, allocations: 2.163 MB / 0.6234 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.5458, allocations: 175.7 kB / 0.6236 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.566, allocations: 9.351 MB / 0.6327 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.5677, allocations: 191.1 kB / 0.6329 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.5679, allocations: 35.98 kB / 0.6329 GB, free: 2.301 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.0006189/0.5685, allocations: 238.4 kB / 0.6331 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.5688, allocations: 102.7 kB / 0.6332 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.5833, allocations: 4.731 MB / 0.6378 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.5834, allocations: 16 kB / 0.6379 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5834, allocations: 0 / 0.6379 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.5834, allocations: 7.922 kB / 0.6379 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0173/0.6007, allocations: 6.231 MB / 0.644 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.6008, allocations: 0 / 0.644 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.6014, allocations: 91.89 kB / 0.644 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00677/0.6082, allocations: 2.058 MB / 0.6461 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.6084, allocations: 20 kB / 0.6461 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01981/0.6282, allocations: 8.225 MB / 0.6541 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6282, allocations: 0 / 0.6541 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.6456, allocations: 5.673 MB / 0.6596 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/0.6461, allocations: 187.7 kB / 0.6598 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.6465, allocations: 16 kB / 0.6598 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6479, allocations: 132 kB / 0.66 GB, free: 6.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007976/0.6487, allocations: 188.7 kB / 0.6601 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.6488, allocations: 24 kB / 0.6602 GB, free: 6.031 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009391/0.6498, allocations: 0.5301 MB / 0.6607 GB, free: 5.504 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6498, allocations: 0 / 0.6607 GB, free: 5.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00169/0.6515, allocations: 403.5 kB / 0.6611 GB, free: 5.109 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.01726/0.6687, allocations: 6.249 MB / 0.6672 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007596/0.6764, allocations: 2.551 MB / 0.6697 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6764, allocations: 0 / 0.6697 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005192/0.6816, allocations: 1.701 MB / 0.6713 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6827, allocations: 77.14 kB / 0.6714 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/0.7255, allocations: 16.66 MB / 0.6877 GB, free: 9.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7262, allocations: 1.029 MB / 0.6887 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.7266, allocations: 74.19 kB / 0.6887 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.7272, allocations: 371.3 kB / 0.6891 GB, free: 8 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/0.7272, allocations: 0 / 0.6891 GB, free: 8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.7792, allocations: 27.32 MB / 0.7158 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.7794, allocations: 213.8 kB / 0.716 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.428, allocations: 3.938 kB / 0.716 GB, free: 12.59 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)