Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.00103/0.00103, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.394/1.394, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001293/0.001293, allocations: 181.1 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5167/0.5167, allocations: 79.45 MB / 420.7 MB, free: 4.043 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005615/0.0005616, allocations: 11.98 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4168, allocations: 69.5 MB / 0.557 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004505/0.4214, allocations: 5.107 MB / 0.562 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.4245, allocations: 1.748 MB / 0.5637 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.425, allocations: 8.781 kB / 0.5637 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.4254, allocations: 149 kB / 0.5638 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4268, allocations: 0.6238 MB / 0.5644 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.4278, allocations: 496.8 kB / 0.5649 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.4289, allocations: 0.8343 MB / 0.5657 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.4293, allocations: 217.7 kB / 0.5659 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.4297, allocations: 469.6 kB / 0.5664 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005392/0.4303, allocations: 0.575 MB / 0.5669 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-05/0.4304, allocations: 48.19 kB / 0.567 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.4307, allocations: 160.5 kB / 0.5671 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.4309, allocations: 200 kB / 0.5673 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.4311, allocations: 203.7 kB / 0.5675 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007416/0.4318, allocations: 0.9751 MB / 0.5685 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4318, allocations: 0 / 0.5685 GB, free: 36.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4318, allocations: 0 / 0.5685 GB, free: 36.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4318, allocations: 0 / 0.5685 GB, free: 36.34 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006933/0.4388, allocations: 2.236 MB / 0.5706 GB, free: 35.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4388, allocations: 8.656 kB / 0.5706 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.439, allocations: 115.5 kB / 0.5708 GB, free: 35.51 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.4439, allocations: 0.7694 MB / 0.5715 GB, free: 35.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.4451, allocations: 0.6813 MB / 0.5722 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.4454, allocations: 260.7 kB / 0.5724 GB, free: 34.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.4455, allocations: 71.38 kB / 0.5725 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.4476, allocations: 1.031 MB / 0.5735 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4476, allocations: 5.781 kB / 0.5735 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.4477, allocations: 33.02 kB / 0.5735 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4477, allocations: 18.45 kB / 0.5736 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.4498, allocations: 1.068 MB / 0.5746 GB, free: 34.14 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.005312/0.4551, allocations: 3.374 MB / 0.5779 GB, free: 32.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.457, allocations: 1.405 MB / 0.5793 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.87e-05/0.4571, allocations: 12.14 kB / 0.5793 GB, free: 31.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4571, allocations: 39.62 kB / 0.5793 GB, free: 31.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.063e-06/0.4571, allocations: 0 / 0.5793 GB, free: 31.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02638/0.4835, allocations: 7.896 MB / 0.587 GB, free: 29.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4836, allocations: 60.66 kB / 0.5871 GB, free: 29.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4849, allocations: 0.8071 MB / 0.5879 GB, free: 29.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.485, allocations: 40.95 kB / 0.5879 GB, free: 29.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.4853, allocations: 430.3 kB / 0.5883 GB, free: 29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/0.4856, allocations: 300.8 kB / 0.5886 GB, free: 28.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.4857, allocations: 24.41 kB / 0.5886 GB, free: 28.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.4858, allocations: 347.4 kB / 0.589 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4874, allocations: 0.7509 MB / 0.5897 GB, free: 28.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.489, allocations: 0.8718 MB / 0.5905 GB, free: 27.8 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.4909, allocations: 0.897 MB / 0.5914 GB, free: 27.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4909, allocations: 0 / 0.5914 GB, free: 27.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01591/0.5068, allocations: 5.112 MB / 0.5964 GB, free: 26.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5069, allocations: 6.188 kB / 0.5964 GB, free: 26.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.5069, allocations: 11.06 kB / 0.5964 GB, free: 26.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008077/0.515, allocations: 2.201 MB / 0.5986 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5162, allocations: 181.7 kB / 0.5988 GB, free: 25.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02787/0.5441, allocations: 10.25 MB / 0.6088 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.5461, allocations: 197.3 kB / 0.6089 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.5462, allocations: 36.84 kB / 0.609 GB, free: 21.43 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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 (101): * Single equations (assignments): 100 * 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 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005742/0.5468, allocations: 229.3 kB / 0.6092 GB, free: 21.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.547, allocations: 105.4 kB / 0.6093 GB, free: 21.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.5623, allocations: 4.789 MB / 0.614 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.5624, allocations: 12.94 kB / 0.614 GB, free: 18.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5624, allocations: 0.6562 kB / 0.614 GB, free: 18.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.5624, allocations: 4.078 kB / 0.614 GB, free: 18.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.5776, allocations: 6.264 MB / 0.6201 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.5777, allocations: 0 / 0.6201 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.5783, allocations: 104.9 kB / 0.6202 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006092/0.5844, allocations: 2.052 MB / 0.6222 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.5846, allocations: 20.75 kB / 0.6222 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/0.6026, allocations: 8.641 MB / 0.6307 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6026, allocations: 0.5469 kB / 0.6307 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/0.619, allocations: 5.686 MB / 0.6362 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005563/0.6196, allocations: 196.3 kB / 0.6364 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6198, allocations: 23.92 kB / 0.6364 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.6208, allocations: 127.8 kB / 0.6366 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/0.6215, allocations: 208.6 kB / 0.6368 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.6216, allocations: 17.12 kB / 0.6368 GB, free: 10.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007481/0.6223, allocations: 0.5382 MB / 0.6373 GB, free: 9.984 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6224, allocations: 0 / 0.6373 GB, free: 9.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00158/0.6239, allocations: 411.7 kB / 0.6377 GB, free: 9.582 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * 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 (51): * Single equations (assignments): 50 * 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.01684/0.6408, allocations: 6.266 MB / 0.6438 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007976/0.6488, allocations: 2.643 MB / 0.6464 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6489, allocations: 4.062 kB / 0.6464 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005325/0.6542, allocations: 1.7 MB / 0.6481 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6553, allocations: 68.55 kB / 0.6481 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00655/0.6619, allocations: 4.034 MB / 0.6521 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/0.6629, allocations: 1.057 MB / 0.6531 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004479/0.6634, allocations: 75.67 kB / 0.6532 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/0.664, allocations: 387.3 kB / 0.6535 GB, free: 9.223 MB / 462.1 MB Notification: Performance of SimCode: time 2.244e-06/0.664, allocations: 0 / 0.6535 GB, free: 9.223 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05142/0.7154, allocations: 27.84 MB / 0.6807 GB, free: 13.74 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.7157, allocations: 189.8 kB / 0.6809 GB, free: 13.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.07, allocations: 0 / 0.6809 GB, free: 13.5 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) Environment - environmentSimulation: