Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.001278/0.001278, allocations: 173.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008004/0.0008004, allocations: 90.53 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.461/0.461, allocations: 78.12 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.117e-05, allocations: 11.94 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 69.35 MB / 0.5414 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4949, allocations: 96.87 MB / 0.636 GB, free: 2.723 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.4952, allocations: 83.89 kB / 0.6361 GB, free: 2.641 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06152/0.5567, allocations: 23.58 MB / 0.6591 GB, free: 11.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5568, allocations: 0 / 0.6591 GB, free: 11.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.112e-05/0.5568, allocations: 16 kB / 0.6591 GB, free: 11.1 MB / 474.7 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.00427/0.5611, allocations: 1.618 MB / 0.6607 GB, free: 9.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5612, allocations: 8.031 kB / 0.6607 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.5643, allocations: 0.5332 MB / 0.6612 GB, free: 8.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.5657, allocations: 0.6835 MB / 0.6619 GB, free: 8.168 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.5659, allocations: 238.9 kB / 0.6621 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5661, allocations: 36 kB / 0.6622 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/0.5674, allocations: 0.7577 MB / 0.6629 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5686, allocations: 0.7063 MB / 0.6636 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5687, allocations: 0 / 0.6636 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.5687, allocations: 0 / 0.6636 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.5688, allocations: 16 kB / 0.6636 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/0.5742, allocations: 3.158 MB / 0.6667 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.5755, allocations: 1.126 MB / 0.6678 GB, free: 1.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/0.5763, allocations: 0.5232 MB / 0.6683 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.5764, allocations: 12.77 kB / 0.6683 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.5765, allocations: 43.34 kB / 0.6684 GB, free: 1.246 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 2.776e-06/0.5765, allocations: 4 kB / 0.6684 GB, free: 1.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=84): time 0.01213/0.5886, allocations: 3.918 MB / 0.6722 GB, free: 13.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.5887, allocations: 64.19 kB / 0.6723 GB, free: 13.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.5896, allocations: 0.6182 MB / 0.6729 GB, free: 12.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.5898, allocations: 25.7 kB / 0.6729 GB, free: 12.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.5901, allocations: 444.4 kB / 0.6733 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.5904, allocations: 295.6 kB / 0.6736 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.5905, allocations: 4 kB / 0.6736 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5906, allocations: 333.9 kB / 0.6739 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.5912, allocations: 406.6 kB / 0.6743 GB, free: 11.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.5919, allocations: 0.5037 MB / 0.6748 GB, free: 10.58 MB / 490.7 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.0009138/0.5928, allocations: 0.5289 MB / 0.6753 GB, free: 10.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5929, allocations: 4 kB / 0.6753 GB, free: 10.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01255/0.6054, allocations: 4.137 MB / 0.6794 GB, free: 5.875 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6055, allocations: 4 kB / 0.6794 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6055, allocations: 4 kB / 0.6794 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006225/0.6117, allocations: 1.756 MB / 0.6811 GB, free: 4.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.6124, allocations: 123.8 kB / 0.6812 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.6279, allocations: 7.313 MB / 0.6883 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.6293, allocations: 162.3 kB / 0.6885 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.6294, allocations: 31.19 kB / 0.6885 GB, free: 12.36 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0002386/0.6297, allocations: 110.9 kB / 0.6886 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01239/0.6421, allocations: 3.933 MB / 0.6925 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.6425, allocations: 98.78 kB / 0.6926 GB, free: 8.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.6553, allocations: 4.027 MB / 0.6965 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.6554, allocations: 12 kB / 0.6965 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.6554, allocations: 0 / 0.6965 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.501e-05/0.6554, allocations: 3.984 kB / 0.6965 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.6702, allocations: 5.467 MB / 0.7019 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6703, allocations: 0 / 0.7019 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/0.6709, allocations: 99.89 kB / 0.7019 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005459/0.6764, allocations: 1.671 MB / 0.7036 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.6766, allocations: 0 / 0.7036 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.6891, allocations: 6.193 MB / 0.7096 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.6891, allocations: 3.938 kB / 0.7096 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.7027, allocations: 4.737 MB / 0.7143 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.7031, allocations: 195.5 kB / 0.7144 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7033, allocations: 4 kB / 0.7144 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.7043, allocations: 115.9 kB / 0.7146 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005813/0.7049, allocations: 196.4 kB / 0.7147 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-05/0.7049, allocations: 24 kB / 0.7148 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006031/0.7055, allocations: 483.1 kB / 0.7152 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7056, allocations: 0 / 0.7152 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001091/0.7067, allocations: 375.5 kB / 0.7156 GB, free: 324 kB / 0.5105 GB 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 () * 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.01374/0.7204, allocations: 5.311 MB / 0.7208 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005354/0.7258, allocations: 1.896 MB / 0.7226 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7258, allocations: 4.5 kB / 0.7226 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004285/0.7301, allocations: 1.412 MB / 0.724 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.7308, allocations: 60.61 kB / 0.7241 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.7338, allocations: 1.494 MB / 0.7255 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.7345, allocations: 1.056 MB / 0.7266 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.7349, allocations: 57.16 kB / 0.7266 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.7354, allocations: 376 kB / 0.727 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of SimCode: time 6.71e-07/0.7354, allocations: 0 / 0.727 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05037/0.7858, allocations: 25.79 MB / 0.7522 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.786, allocations: 137.3 kB / 0.7523 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.443, allocations: 2.5 kB / 0.7523 GB, free: 10.82 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)