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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005999/0.005999, allocations: 169.5 kB / 15.11 MB, free: 5.977 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.389/1.389, allocations: 223.2 MB / 239 MB, free: 68 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 102.8 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5031/0.5031, allocations: 79.44 MB / 420.7 MB, free: 36.23 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 8 kB / 0.4891 GB, free: 6.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6178, allocations: 98.19 MB / 0.6529 GB, free: 2.961 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.618, allocations: 79.95 kB / 0.653 GB, free: 2.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06455/0.6826, allocations: 24.25 MB / 0.6767 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6826, allocations: 0 / 0.6767 GB, free: 10.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.286e-05/0.6827, allocations: 20 kB / 0.6767 GB, free: 10.7 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.005278/0.688, allocations: 1.805 MB / 0.6784 GB, free: 8.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6881, allocations: 8.031 kB / 0.6784 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.6883, allocations: 122.5 kB / 0.6786 GB, free: 8.703 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/0.6915, allocations: 0.5448 MB / 0.6791 GB, free: 8.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.6928, allocations: 0.6858 MB / 0.6798 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.6931, allocations: 260.2 kB / 0.68 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.6933, allocations: 70.06 kB / 0.6801 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.6954, allocations: 1.038 MB / 0.6811 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6954, allocations: 4 kB / 0.6811 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.6955, allocations: 28 kB / 0.6811 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.6956, allocations: 16 kB / 0.6811 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.6977, allocations: 1.066 MB / 0.6822 GB, free: 4.914 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/0.7037, allocations: 3.264 MB / 0.6854 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.7059, allocations: 1.394 MB / 0.6867 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/0.706, allocations: 12.98 kB / 0.6867 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.7061, allocations: 47.52 kB / 0.6868 GB, free: 15.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.457e-06/0.7061, allocations: 4 kB / 0.6868 GB, free: 15.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.02803/0.7341, allocations: 8.114 MB / 0.6947 GB, free: 7.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.7342, allocations: 60.41 kB / 0.6948 GB, free: 7.699 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.7353, allocations: 0.6847 MB / 0.6954 GB, free: 6.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.7355, allocations: 37.7 kB / 0.6955 GB, free: 6.949 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.7358, allocations: 440.4 kB / 0.6959 GB, free: 6.516 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.7362, allocations: 299.6 kB / 0.6962 GB, free: 6.219 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.7362, allocations: 16 kB / 0.6962 GB, free: 6.203 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7364, allocations: 334 kB / 0.6965 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.7378, allocations: 0.6501 MB / 0.6972 GB, free: 5.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.7392, allocations: 0.7492 MB / 0.6979 GB, free: 4.441 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.001624/0.7408, allocations: 0.779 MB / 0.6986 GB, free: 3.648 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7408, allocations: 0 / 0.6986 GB, free: 3.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01466/0.7555, allocations: 4.872 MB / 0.7034 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.7556, allocations: 7.938 kB / 0.7034 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.7556, allocations: 4 kB / 0.7034 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007239/0.7628, allocations: 2.189 MB / 0.7056 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.7635, allocations: 115.9 kB / 0.7057 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0232/0.7867, allocations: 10.25 MB / 0.7157 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.7881, allocations: 176.1 kB / 0.7158 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.7882, allocations: 31.98 kB / 0.7159 GB, free: 1.859 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 () * Number of clocked 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.0004696/0.7887, allocations: 207.3 kB / 0.7161 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.7889, allocations: 106.7 kB / 0.7162 GB, free: 1.543 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/0.8026, allocations: 4.774 MB / 0.7208 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.8026, allocations: 8 kB / 0.7208 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.8026, allocations: 0 / 0.7208 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/0.8027, allocations: 11.06 kB / 0.7208 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.8182, allocations: 6.266 MB / 0.727 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8182, allocations: 0 / 0.727 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.8189, allocations: 107.8 kB / 0.7271 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006204/0.8251, allocations: 2.06 MB / 0.7291 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/0.8253, allocations: 16 kB / 0.7291 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.8457, allocations: 8.643 MB / 0.7375 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8458, allocations: 0 / 0.7375 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.8613, allocations: 5.696 MB / 0.7431 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.8617, allocations: 191.6 kB / 0.7433 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.8619, allocations: 19.94 kB / 0.7433 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009638/0.8629, allocations: 131.9 kB / 0.7434 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/0.8635, allocations: 208.5 kB / 0.7436 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.8636, allocations: 23.95 kB / 0.7437 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007101/0.8643, allocations: 0.5304 MB / 0.7442 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8643, allocations: 0 / 0.7442 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001142/0.8654, allocations: 407.6 kB / 0.7446 GB, free: 4.125 MB / 0.5261 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 () * 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.01552/0.881, allocations: 6.303 MB / 0.7507 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006703/0.8877, allocations: 2.45 MB / 0.7531 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8878, allocations: 4 kB / 0.7531 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005055/0.8928, allocations: 1.703 MB / 0.7548 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.8937, allocations: 68.31 kB / 0.7548 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/0.9178, allocations: 11.89 MB / 0.7664 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.9185, allocations: 1.056 MB / 0.7675 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.9189, allocations: 57.23 kB / 0.7675 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.9195, allocations: 371.3 kB / 0.7679 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.293e-06/0.9195, allocations: 0 / 0.7679 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/0.9703, allocations: 27.79 MB / 0.795 GB, free: 328 kB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.9705, allocations: 187.2 kB / 0.7952 GB, free: 88 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.863/3.833, allocations: 3.938 kB / 0.7952 GB, free: 84 kB / 0.573 GB (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)