Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_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.006699/0.006699, allocations: 169.6 kB / 15.11 MB, free: 5.988 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.363/1.363, allocations: 223.2 MB / 239 MB, free: 1.777 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.000876/0.0008757, allocations: 101 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4908/0.4908, allocations: 78.52 MB / 419.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4146, allocations: 69.35 MB / 0.5558 GB, free: 38.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5488, allocations: 97.61 MB / 0.6511 GB, free: 8.656 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5491, allocations: 82.67 kB / 0.6512 GB, free: 8.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0637/0.6128, allocations: 23.97 MB / 0.6746 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6129, allocations: 0 / 0.6746 GB, free: 496 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.848e-05/0.6129, allocations: 20 kB / 0.6746 GB, free: 476 kB / 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.005061/0.618, allocations: 1.803 MB / 0.6764 GB, free: 14.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.6181, allocations: 8.031 kB / 0.6764 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.6183, allocations: 118.5 kB / 0.6765 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.6216, allocations: 0.5526 MB / 0.6771 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.6231, allocations: 0.6796 MB / 0.6777 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.6234, allocations: 260.2 kB / 0.678 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6235, allocations: 68 kB / 0.678 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.6258, allocations: 1.038 MB / 0.679 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6258, allocations: 0 / 0.679 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.6259, allocations: 32 kB / 0.6791 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.6259, allocations: 23.92 kB / 0.6791 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.628, allocations: 1.062 MB / 0.6801 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005507/0.6335, allocations: 3.272 MB / 0.6833 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.6356, allocations: 1.384 MB / 0.6847 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.354e-05/0.6357, allocations: 16.98 kB / 0.6847 GB, free: 5.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6357, allocations: 47.52 kB / 0.6847 GB, free: 5.684 MB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.6358, allocations: 0 / 0.6847 GB, free: 5.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.02662/0.6624, allocations: 8.107 MB / 0.6927 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.6625, allocations: 60.41 kB / 0.6927 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.6636, allocations: 0.6847 MB / 0.6934 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.6638, allocations: 41.7 kB / 0.6934 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.6641, allocations: 444.4 kB / 0.6938 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.6644, allocations: 295.6 kB / 0.6941 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.6645, allocations: 16 kB / 0.6941 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6647, allocations: 341.9 kB / 0.6945 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.666, allocations: 0.6384 MB / 0.6951 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.6674, allocations: 0.7492 MB / 0.6958 GB, free: 10.21 MB / 0.4948 GB 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.001609/0.669, allocations: 0.7856 MB / 0.6966 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.6691, allocations: 0 / 0.6966 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01415/0.6832, allocations: 4.869 MB / 0.7013 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.6833, allocations: 8.562 kB / 0.7014 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6833, allocations: 7.938 kB / 0.7014 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007095/0.6904, allocations: 2.189 MB / 0.7035 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.6911, allocations: 115.9 kB / 0.7036 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/0.7138, allocations: 10.25 MB / 0.7136 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7152, allocations: 175.3 kB / 0.7138 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.107e-05/0.7153, allocations: 28 kB / 0.7138 GB, free: 7.617 MB / 0.5105 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.0005167/0.7158, allocations: 217.7 kB / 0.714 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.716, allocations: 102.7 kB / 0.7141 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.7296, allocations: 4.766 MB / 0.7188 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.7296, allocations: 12 kB / 0.7188 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.7296, allocations: 0 / 0.7188 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/0.7297, allocations: 7.938 kB / 0.7188 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.7456, allocations: 6.277 MB / 0.7249 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.7457, allocations: 0 / 0.7249 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.7466, allocations: 99.83 kB / 0.725 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006441/0.753, allocations: 2.057 MB / 0.727 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.7533, allocations: 16 kB / 0.727 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01876/0.7721, allocations: 8.651 MB / 0.7355 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7721, allocations: 0 / 0.7355 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/0.7878, allocations: 5.704 MB / 0.7411 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.7884, allocations: 195.6 kB / 0.7412 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.7885, allocations: 16 kB / 0.7413 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.7895, allocations: 127.9 kB / 0.7414 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/0.7902, allocations: 200.6 kB / 0.7416 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.527e-05/0.7902, allocations: 19.95 kB / 0.7416 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007378/0.791, allocations: 0.5343 MB / 0.7421 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/0.791, allocations: 4 kB / 0.7421 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001218/0.7922, allocations: 407.6 kB / 0.7425 GB, free: 9.871 MB / 0.5417 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.01614/0.8084, allocations: 6.292 MB / 0.7487 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006722/0.8151, allocations: 2.449 MB / 0.751 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.8152, allocations: 4 kB / 0.7511 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.8201, allocations: 1.706 MB / 0.7527 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.8211, allocations: 67.73 kB / 0.7528 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/0.8459, allocations: 11.9 MB / 0.7644 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.8468, allocations: 1.06 MB / 0.7654 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.8472, allocations: 61.22 kB / 0.7655 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/0.8478, allocations: 375.3 kB / 0.7659 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/0.8478, allocations: 0 / 0.7659 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.193, allocations: 27.76 MB / 0.793 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.193, allocations: 187.9 kB / 0.7931 GB, free: 149.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.142, allocations: 0 / 0.7931 GB, free: 149.7 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)