Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.001003/0.001003, allocations: 174.7 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.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008412/0.0008412, allocations: 101.2 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4334/0.4334, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.461e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3451, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.4688, allocations: 97.91 MB / 0.6437 GB, free: 2.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4691, allocations: 75.95 kB / 0.6437 GB, free: 2.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06578/0.5349, allocations: 24.67 MB / 0.6678 GB, free: 9.578 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.535, allocations: 0 / 0.6678 GB, free: 9.578 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.516e-05/0.535, allocations: 23.94 kB / 0.6678 GB, free: 9.555 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004639/0.5397, allocations: 1.64 MB / 0.6694 GB, free: 7.867 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5397, allocations: 15.97 kB / 0.6695 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002481/0.54, allocations: 118.5 kB / 0.6696 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/0.5433, allocations: 0.5448 MB / 0.6701 GB, free: 7.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.5448, allocations: 0.7069 MB / 0.6708 GB, free: 6.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.5451, allocations: 260.2 kB / 0.671 GB, free: 6.137 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5452, allocations: 71.91 kB / 0.6711 GB, free: 6.066 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5467, allocations: 0.8118 MB / 0.6719 GB, free: 5.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5468, allocations: 0 / 0.6719 GB, free: 5.246 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/0.5469, allocations: 28 kB / 0.6719 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5469, allocations: 16 kB / 0.672 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.5483, allocations: 0.7968 MB / 0.6727 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.5541, allocations: 3.328 MB / 0.676 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3064/0.8605, allocations: 1.176 MB / 0.6771 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.8618, allocations: 0.5607 MB / 0.6777 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.8619, allocations: 13.05 kB / 0.6777 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8619, allocations: 38.22 kB / 0.6777 GB, free: 105.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.8619, allocations: 0 / 0.6777 GB, free: 105.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.01343/0.8754, allocations: 4.015 MB / 0.6816 GB, free: 105.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.8755, allocations: 61.48 kB / 0.6817 GB, free: 105.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.8767, allocations: 0.7043 MB / 0.6824 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.8769, allocations: 39.61 kB / 0.6824 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.8772, allocations: 458 kB / 0.6829 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.8775, allocations: 302.3 kB / 0.6832 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.8776, allocations: 17.59 kB / 0.6832 GB, free: 105.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.8777, allocations: 340.7 kB / 0.6835 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008308/0.8785, allocations: 426.9 kB / 0.6839 GB, free: 104.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.8795, allocations: 0.5271 MB / 0.6844 GB, free: 104.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/0.8804, allocations: 464.9 kB / 0.6849 GB, free: 104.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8804, allocations: 2.891 kB / 0.6849 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01176/0.8922, allocations: 4.223 MB / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.8922, allocations: 3.781 kB / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8923, allocations: 3.875 kB / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/0.8979, allocations: 1.787 MB / 0.6907 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.8986, allocations: 123.5 kB / 0.6909 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.9125, allocations: 7.418 MB / 0.6981 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9139, allocations: 181.5 kB / 0.6983 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.914, allocations: 33.55 kB / 0.6983 GB, free: 100.8 MB / 490.7 MB 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 (65): * Single equations (assignments): 64 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.9142, allocations: 137.6 kB / 0.6984 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.9144, allocations: 109.8 kB / 0.6985 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.9257, allocations: 4.136 MB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.9258, allocations: 7.094 kB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9258, allocations: 0 / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-05/0.9258, allocations: 6.906 kB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9392, allocations: 5.678 MB / 0.7081 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.9393, allocations: 0 / 0.7081 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00072/0.94, allocations: 111.1 kB / 0.7082 GB, free: 95.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00484/0.9449, allocations: 1.684 MB / 0.7099 GB, free: 94.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.9451, allocations: 16 kB / 0.7099 GB, free: 94.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.9564, allocations: 6.316 MB / 0.7161 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9565, allocations: 4 kB / 0.7161 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/0.969, allocations: 4.857 MB / 0.7208 GB, free: 84.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004712/0.9695, allocations: 197.3 kB / 0.721 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.9697, allocations: 19.7 kB / 0.721 GB, free: 84.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.9707, allocations: 133.6 kB / 0.7212 GB, free: 84.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006078/0.9713, allocations: 193.6 kB / 0.7213 GB, free: 84.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/0.9714, allocations: 24 kB / 0.7214 GB, free: 84.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006146/0.972, allocations: 0.5589 MB / 0.7219 GB, free: 83.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.972, allocations: 1.422 kB / 0.7219 GB, free: 83.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001129/0.9732, allocations: 413.2 kB / 0.7223 GB, free: 83.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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.01214/0.9853, allocations: 5.455 MB / 0.7276 GB, free: 77.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004779/0.9901, allocations: 1.981 MB / 0.7296 GB, free: 75.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9902, allocations: 0 / 0.7296 GB, free: 75.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.9938, allocations: 1.449 MB / 0.731 GB, free: 74.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.9946, allocations: 71.38 kB / 0.731 GB, free: 74.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.9973, allocations: 1.639 MB / 0.7327 GB, free: 72.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.9977, allocations: 1.068 MB / 0.7337 GB, free: 71.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.9979, allocations: 57.25 kB / 0.7337 GB, free: 71.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.9983, allocations: 375.3 kB / 0.7341 GB, free: 71.29 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.9984, allocations: 0 / 0.7341 GB, free: 71.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/1.038, allocations: 28.11 MB / 0.7616 GB, free: 43.65 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.039, allocations: 161.8 kB / 0.7617 GB, free: 43.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.745, allocations: 0 / 0.7617 GB, free: 43.43 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)