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.0009732/0.0009733, allocations: 174.1 kB / 12.73 MB, free: 2.59 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.176/1.176, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009214, allocations: 91.31 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4761/0.4761, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.004e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2959, allocations: 69.5 MB / 0.5492 GB, free: 19.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4108, allocations: 98.12 MB / 0.645 GB, free: 1.496 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.411, allocations: 79.89 kB / 0.6451 GB, free: 1.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0631/0.4741, allocations: 24.17 MB / 0.6687 GB, free: 9.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4742, allocations: 3.938 kB / 0.6687 GB, free: 9.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.688e-05/0.4743, allocations: 20 kB / 0.6687 GB, free: 9.047 MB / 490.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.004953/0.4792, allocations: 1.621 MB / 0.6703 GB, free: 7.379 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4793, allocations: 11.97 kB / 0.6703 GB, free: 7.367 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003109/0.4796, allocations: 122.5 kB / 0.6704 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.4829, allocations: 0.5293 MB / 0.671 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.4845, allocations: 0.6797 MB / 0.6716 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.4848, allocations: 268.1 kB / 0.6719 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.4851, allocations: 71.97 kB / 0.6719 GB, free: 5.613 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.4867, allocations: 0.8001 MB / 0.6727 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.4867, allocations: 0 / 0.6727 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.741e-05/0.4868, allocations: 24 kB / 0.6728 GB, free: 4.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4868, allocations: 19.98 kB / 0.6728 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.4883, allocations: 0.7889 MB / 0.6735 GB, free: 3.973 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00601/0.4944, allocations: 3.268 MB / 0.6767 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2675/0.7618, allocations: 1.148 MB / 0.6779 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.7631, allocations: 0.5506 MB / 0.6784 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.7633, allocations: 17.81 kB / 0.6784 GB, free: 105.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.7633, allocations: 41.19 kB / 0.6784 GB, free: 105.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/0.7633, allocations: 0 / 0.6784 GB, free: 105.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.01323/0.7766, allocations: 3.98 MB / 0.6823 GB, free: 105.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.7766, allocations: 64.03 kB / 0.6824 GB, free: 105.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.778, allocations: 0.6662 MB / 0.683 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.7781, allocations: 39.52 kB / 0.6831 GB, free: 105.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.7784, allocations: 451.6 kB / 0.6835 GB, free: 105.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.7787, allocations: 306 kB / 0.6838 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.7788, allocations: 12.88 kB / 0.6838 GB, free: 105.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.7789, allocations: 335.5 kB / 0.6841 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.7797, allocations: 421.7 kB / 0.6845 GB, free: 104.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009899/0.7807, allocations: 0.5172 MB / 0.685 GB, free: 104.7 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.0009474/0.7817, allocations: 0.5572 MB / 0.6856 GB, free: 104.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.7817, allocations: 0 / 0.6856 GB, free: 104.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01119/0.7929, allocations: 4.216 MB / 0.6897 GB, free: 104.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7929, allocations: 9.812 kB / 0.6897 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7929, allocations: 3.781 kB / 0.6897 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.7983, allocations: 1.807 MB / 0.6915 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004567/0.7987, allocations: 118.4 kB / 0.6916 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/0.8122, allocations: 7.519 MB / 0.6989 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.8134, allocations: 172.4 kB / 0.6991 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.8135, allocations: 27.91 kB / 0.6991 GB, free: 100.6 MB / 490.7 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 () * 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.0002242/0.8137, allocations: 153.8 kB / 0.6993 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.814, allocations: 98.72 kB / 0.6994 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/0.8247, allocations: 4.113 MB / 0.7034 GB, free: 99.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8247, allocations: 7.812 kB / 0.7034 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.8247, allocations: 4 kB / 0.7034 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.8247, allocations: 3.797 kB / 0.7034 GB, free: 99.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.8366, allocations: 5.624 MB / 0.7089 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8366, allocations: 0 / 0.7089 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.8371, allocations: 98.61 kB / 0.709 GB, free: 94.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/0.8416, allocations: 1.679 MB / 0.7106 GB, free: 93.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.8417, allocations: 19.89 kB / 0.7106 GB, free: 93.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.8531, allocations: 6.323 MB / 0.7168 GB, free: 87.79 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8531, allocations: 7.062 kB / 0.7168 GB, free: 87.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01144/0.8646, allocations: 4.812 MB / 0.7215 GB, free: 83.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.8649, allocations: 197.9 kB / 0.7217 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.8651, allocations: 16 kB / 0.7217 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.8661, allocations: 132.7 kB / 0.7219 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004683/0.8665, allocations: 193.4 kB / 0.722 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.8666, allocations: 24 kB / 0.7221 GB, free: 83.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.8672, allocations: 0.5186 MB / 0.7226 GB, free: 82.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8673, allocations: 0 / 0.7226 GB, free: 82.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001071/0.8683, allocations: 408.9 kB / 0.723 GB, free: 82.47 MB / 490.7 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 () * 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.01155/0.8799, allocations: 5.408 MB / 0.7282 GB, free: 77.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004549/0.8845, allocations: 1.957 MB / 0.7302 GB, free: 75.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8845, allocations: 0 / 0.7302 GB, free: 75.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.888, allocations: 1.457 MB / 0.7316 GB, free: 73.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.8885, allocations: 71.3 kB / 0.7316 GB, free: 73.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.8912, allocations: 1.554 MB / 0.7332 GB, free: 72.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.8917, allocations: 1.06 MB / 0.7342 GB, free: 71.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002569/0.892, allocations: 57.23 kB / 0.7343 GB, free: 71.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.8924, allocations: 371.3 kB / 0.7346 GB, free: 70.73 MB / 490.7 MB Notification: Performance of SimCode: time 4.1e-07/0.8924, allocations: 0 / 0.7346 GB, free: 70.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.9341, allocations: 27.67 MB / 0.7616 GB, free: 43.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/0.9343, allocations: 166.3 kB / 0.7618 GB, free: 43.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.56, allocations: 0 / 0.7618 GB, free: 43.26 MB / 490.7 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)