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.001237/0.001237, allocations: 174.8 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.201/1.201, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009097/0.0009098, allocations: 85.11 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4552/0.4552, allocations: 78.03 MB / 414.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.049e-05, allocations: 0 / 491.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3142, allocations: 69.34 MB / 0.548 GB, free: 20.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4331, allocations: 97.54 MB / 0.6433 GB, free: 2.891 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4334, allocations: 79.95 kB / 0.6434 GB, free: 2.812 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06369/0.4971, allocations: 23.88 MB / 0.6667 GB, free: 10.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.576e-06/0.4971, allocations: 0 / 0.6667 GB, free: 10.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.621e-05/0.4972, allocations: 19.94 kB / 0.6667 GB, free: 10.73 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.004739/0.5019, allocations: 1.625 MB / 0.6683 GB, free: 9.062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.502, allocations: 19.95 kB / 0.6683 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003048/0.5023, allocations: 122.5 kB / 0.6684 GB, free: 8.914 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.5056, allocations: 0.5332 MB / 0.669 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5072, allocations: 0.6719 MB / 0.6696 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003077/0.5076, allocations: 268.1 kB / 0.6699 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.5078, allocations: 64 kB / 0.6699 GB, free: 7.301 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.5094, allocations: 0.8 MB / 0.6707 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5094, allocations: 0 / 0.6707 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.5095, allocations: 36 kB / 0.6708 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.5096, allocations: 16 kB / 0.6708 GB, free: 6.441 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5111, allocations: 0.7889 MB / 0.6715 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006007/0.5171, allocations: 3.26 MB / 0.6747 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.5187, allocations: 1.159 MB / 0.6759 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.5195, allocations: 0.5466 MB / 0.6764 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.5197, allocations: 20.7 kB / 0.6764 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5197, allocations: 43.34 kB / 0.6764 GB, free: 348 kB / 490.7 MB Notification: Performance of pre-optimization done (n=84): time 3.115e-06/0.5197, allocations: 0 / 0.6764 GB, free: 348 kB / 490.7 MB Notification: Performance of matching and sorting (n=84): time 0.3017/0.8214, allocations: 3.976 MB / 0.6803 GB, free: 107 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.8215, allocations: 64.12 kB / 0.6804 GB, free: 106.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.8229, allocations: 0.6699 MB / 0.681 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.8231, allocations: 38.83 kB / 0.6811 GB, free: 106.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.8235, allocations: 447.6 kB / 0.6815 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.8238, allocations: 297.8 kB / 0.6818 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.8239, allocations: 15.72 kB / 0.6818 GB, free: 106.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.824, allocations: 337 kB / 0.6821 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008047/0.8248, allocations: 426.1 kB / 0.6825 GB, free: 106.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008129/0.8256, allocations: 0.5119 MB / 0.683 GB, free: 106.1 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.001063/0.8267, allocations: 0.5595 MB / 0.6836 GB, free: 106 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8267, allocations: 5.312 kB / 0.6836 GB, free: 106 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.01229/0.839, allocations: 4.209 MB / 0.6877 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.839, allocations: 11.58 kB / 0.6877 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.8391, allocations: 7.812 kB / 0.6877 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005756/0.8448, allocations: 1.803 MB / 0.6895 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.8454, allocations: 114.8 kB / 0.6896 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.8592, allocations: 7.529 MB / 0.6969 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.8604, allocations: 177 kB / 0.6971 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.181e-05/0.8605, allocations: 28.28 kB / 0.6971 GB, free: 102.4 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.0002065/0.8607, allocations: 142.7 kB / 0.6973 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.8609, allocations: 105.7 kB / 0.6974 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.8719, allocations: 4.113 MB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.872, allocations: 7.281 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.872, allocations: 9.984 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/0.872, allocations: 3.234 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.8847, allocations: 5.616 MB / 0.7069 GB, free: 97.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.8847, allocations: 0 / 0.7069 GB, free: 97.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.8853, allocations: 98.19 kB / 0.707 GB, free: 97.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004685/0.89, allocations: 1.694 MB / 0.7086 GB, free: 96.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.8901, allocations: 19.95 kB / 0.7087 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.9011, allocations: 6.314 MB / 0.7148 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9011, allocations: 4 kB / 0.7148 GB, free: 90.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.9128, allocations: 4.816 MB / 0.7195 GB, free: 86.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.9131, allocations: 190.8 kB / 0.7197 GB, free: 86.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.9133, allocations: 16 kB / 0.7197 GB, free: 86.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009022/0.9142, allocations: 126.6 kB / 0.7198 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005348/0.9147, allocations: 205.3 kB / 0.72 GB, free: 85.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.9148, allocations: 16 kB / 0.7201 GB, free: 85.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005293/0.9153, allocations: 0.5273 MB / 0.7206 GB, free: 85.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9153, allocations: 0 / 0.7206 GB, free: 85.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009255/0.9163, allocations: 411 kB / 0.721 GB, free: 85.02 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.0118/0.9281, allocations: 5.407 MB / 0.7262 GB, free: 79.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.9327, allocations: 1.958 MB / 0.7282 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9327, allocations: 0 / 0.7282 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003733/0.9365, allocations: 1.46 MB / 0.7296 GB, free: 76.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.9371, allocations: 64.59 kB / 0.7296 GB, free: 76.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.9401, allocations: 1.541 MB / 0.7312 GB, free: 74.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.9405, allocations: 1.056 MB / 0.7322 GB, free: 73.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.9407, allocations: 65.11 kB / 0.7322 GB, free: 73.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.9411, allocations: 371.3 kB / 0.7326 GB, free: 73.25 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.9411, allocations: 0 / 0.7326 GB, free: 73.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.983, allocations: 27.66 MB / 0.7596 GB, free: 46.04 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.9832, allocations: 171.8 kB / 0.7598 GB, free: 45.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.649, allocations: 0 / 0.7598 GB, free: 45.81 MB / 490.7 MB (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)