Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.0009723/0.0009723, allocations: 99.86 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.372/1.372, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.00107/0.00107, allocations: 183.6 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5368/0.5368, allocations: 79.45 MB / 420.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 16 kB / 0.4891 GB, free: 5.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 69.5 MB / 0.557 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004148/0.3343, allocations: 5.202 MB / 0.562 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.3371, allocations: 1.779 MB / 0.5638 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.3376, allocations: 12.5 kB / 0.5638 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.338, allocations: 146 kB / 0.5639 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.3394, allocations: 0.6425 MB / 0.5646 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3404, allocations: 0.4916 MB / 0.565 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.3415, allocations: 0.8636 MB / 0.5659 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.3419, allocations: 214.5 kB / 0.5661 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.3424, allocations: 490.7 kB / 0.5665 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.343, allocations: 0.6021 MB / 0.5671 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3431, allocations: 51.69 kB / 0.5672 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.3435, allocations: 166.6 kB / 0.5673 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.3437, allocations: 204.4 kB / 0.5675 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3439, allocations: 205.7 kB / 0.5677 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007833/0.3447, allocations: 1.007 MB / 0.5687 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3447, allocations: 0 / 0.5687 GB, free: 36.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3447, allocations: 0 / 0.5687 GB, free: 36.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.3447, allocations: 1.25 kB / 0.5687 GB, free: 36.11 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007012/0.3518, allocations: 2.301 MB / 0.571 GB, free: 35.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3518, allocations: 8.875 kB / 0.571 GB, free: 35.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002531/0.3521, allocations: 118.6 kB / 0.5711 GB, free: 35.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.3569, allocations: 0.765 MB / 0.5718 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.3581, allocations: 0.7148 MB / 0.5725 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.3584, allocations: 260.9 kB / 0.5728 GB, free: 34.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3585, allocations: 75.84 kB / 0.5729 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.3604, allocations: 1.047 MB / 0.5739 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3604, allocations: 0 / 0.5739 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.3605, allocations: 29.92 kB / 0.5739 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.3606, allocations: 16.62 kB / 0.5739 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.3625, allocations: 1.075 MB / 0.575 GB, free: 33.85 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.004821/0.3673, allocations: 3.447 MB / 0.5783 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.3691, allocations: 1.426 MB / 0.5797 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.443e-05/0.3693, allocations: 13.48 kB / 0.5797 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3693, allocations: 43.47 kB / 0.5798 GB, free: 30.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 3.336e-06/0.3693, allocations: 6.781 kB / 0.5798 GB, free: 30.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02611/0.3954, allocations: 8.106 MB / 0.5877 GB, free: 29.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3955, allocations: 64.25 kB / 0.5878 GB, free: 29.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.3968, allocations: 0.8412 MB / 0.5886 GB, free: 29.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.397, allocations: 40.64 kB / 0.5886 GB, free: 28.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.3973, allocations: 448.6 kB / 0.5891 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.3977, allocations: 301.7 kB / 0.5893 GB, free: 28.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.3978, allocations: 24.53 kB / 0.5894 GB, free: 28.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.3978, allocations: 353.1 kB / 0.5897 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.3995, allocations: 0.7586 MB / 0.5904 GB, free: 27.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.4013, allocations: 0.8821 MB / 0.5913 GB, free: 27.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4032, allocations: 0.819 MB / 0.5921 GB, free: 27.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4032, allocations: 5.531 kB / 0.5921 GB, free: 27.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01651/0.4197, allocations: 5.125 MB / 0.5971 GB, free: 25.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.4198, allocations: 6.188 kB / 0.5971 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.4198, allocations: 4.312 kB / 0.5971 GB, free: 25.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007908/0.4277, allocations: 2.176 MB / 0.5993 GB, free: 25.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4289, allocations: 195.9 kB / 0.5994 GB, free: 25.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/0.4545, allocations: 10.15 MB / 0.6093 GB, free: 21.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.4565, allocations: 207.6 kB / 0.6095 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.4567, allocations: 36.91 kB / 0.6096 GB, free: 21.14 MB / 430.1 MB 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 (106): * Single equations (assignments): 105 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000517/0.4572, allocations: 227.2 kB / 0.6098 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.4575, allocations: 105.7 kB / 0.6099 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.4713, allocations: 4.799 MB / 0.6146 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4714, allocations: 8 kB / 0.6146 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4714, allocations: 0 / 0.6146 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.4714, allocations: 4.734 kB / 0.6146 GB, free: 17.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.4856, allocations: 6.339 MB / 0.6208 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/0.4857, allocations: 1.781 kB / 0.6208 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.4864, allocations: 99.89 kB / 0.6209 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/0.4922, allocations: 2.049 MB / 0.6229 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.4924, allocations: 20 kB / 0.6229 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.5096, allocations: 8.637 MB / 0.6313 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5096, allocations: 0 / 0.6313 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01664/0.5263, allocations: 5.752 MB / 0.637 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.5269, allocations: 195.6 kB / 0.6371 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.5271, allocations: 16 kB / 0.6372 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.5282, allocations: 131.9 kB / 0.6373 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006875/0.5289, allocations: 200.6 kB / 0.6375 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.529, allocations: 16 kB / 0.6375 GB, free: 9.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008369/0.5298, allocations: 0.5663 MB / 0.638 GB, free: 9.219 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.5298, allocations: 0 / 0.638 GB, free: 9.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001622/0.5314, allocations: 435.5 kB / 0.6385 GB, free: 8.793 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01624/0.5477, allocations: 6.32 MB / 0.6446 GB, free: 2.434 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007443/0.5552, allocations: 2.671 MB / 0.6472 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5552, allocations: 0 / 0.6472 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004996/0.5602, allocations: 1.714 MB / 0.6489 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007069/0.561, allocations: 59.39 kB / 0.649 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.5658, allocations: 4.138 MB / 0.653 GB, free: 9.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/0.5664, allocations: 1.064 MB / 0.654 GB, free: 8.703 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.5668, allocations: 79.58 kB / 0.6541 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.5673, allocations: 387.3 kB / 0.6545 GB, free: 8.242 MB / 462.1 MB Notification: Performance of SimCode: time 3.226e-06/0.5673, allocations: 0 / 0.6545 GB, free: 8.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.6159, allocations: 28.26 MB / 0.6821 GB, free: 12.33 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.6162, allocations: 197.7 kB / 0.6823 GB, free: 12.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/3, allocations: 0 / 0.6823 GB, free: 12.09 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) Environment - environmentSimulation: