Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Order6test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_release_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.001099/0.001099, 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.324/1.324, 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.0009045/0.0009046, allocations: 93.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4439/0.4439, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.559e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 69.35 MB / 0.5481 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4409, allocations: 97.9 MB / 0.6437 GB, free: 2.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4412, allocations: 75.95 kB / 0.6438 GB, free: 2.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06552/0.5067, allocations: 24.66 MB / 0.6679 GB, free: 9.703 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5068, allocations: 0 / 0.6679 GB, free: 9.703 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.65e-05/0.5068, allocations: 19.94 kB / 0.6679 GB, free: 9.684 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.004865/0.5117, allocations: 1.646 MB / 0.6695 GB, free: 7.992 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5118, allocations: 11.97 kB / 0.6695 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003277/0.5121, allocations: 118.5 kB / 0.6696 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/0.5154, allocations: 0.5487 MB / 0.6701 GB, free: 7.305 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.517, allocations: 0.7031 MB / 0.6708 GB, free: 6.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.5173, allocations: 256.2 kB / 0.6711 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.5175, allocations: 71.91 kB / 0.6711 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.5191, allocations: 0.8195 MB / 0.6719 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5192, allocations: 0 / 0.6719 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/0.5193, allocations: 28 kB / 0.672 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.5193, allocations: 16 kB / 0.672 GB, free: 5.328 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.5208, allocations: 0.7968 MB / 0.6728 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/0.527, allocations: 3.332 MB / 0.676 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2942/0.8212, allocations: 1.171 MB / 0.6772 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.8225, allocations: 0.56 MB / 0.6777 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.8227, allocations: 12.95 kB / 0.6777 GB, free: 105.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.8227, allocations: 42.17 kB / 0.6778 GB, free: 105.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/0.8227, allocations: 3 kB / 0.6778 GB, free: 105.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.0136/0.8364, allocations: 4.01 MB / 0.6817 GB, free: 105.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.8364, allocations: 61.34 kB / 0.6817 GB, free: 105.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.8378, allocations: 0.7043 MB / 0.6824 GB, free: 105.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.838, allocations: 40.89 kB / 0.6825 GB, free: 105.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.8383, allocations: 458.2 kB / 0.6829 GB, free: 105.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.8388, allocations: 301.2 kB / 0.6832 GB, free: 105.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.8389, allocations: 19.47 kB / 0.6832 GB, free: 105.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.8389, allocations: 337.4 kB / 0.6835 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009082/0.8399, allocations: 428 kB / 0.6839 GB, free: 104.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.841, allocations: 0.5289 MB / 0.6845 GB, free: 104.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.8418, allocations: 467.3 kB / 0.6849 GB, free: 104.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.8418, allocations: 1.859 kB / 0.6849 GB, free: 104.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01177/0.8536, allocations: 4.217 MB / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.8537, allocations: 11.31 kB / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8537, allocations: 0 / 0.689 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.8594, allocations: 1.787 MB / 0.6908 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.8601, allocations: 120.4 kB / 0.6909 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.8742, allocations: 7.427 MB / 0.6981 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.8756, allocations: 174.9 kB / 0.6983 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.8757, allocations: 26.28 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.0002716/0.876, allocations: 149.6 kB / 0.6985 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.8763, allocations: 112.1 kB / 0.6986 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.8874, allocations: 4.125 MB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.8874, allocations: 14.66 kB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8875, allocations: 0 / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.8875, allocations: 3.328 kB / 0.7026 GB, free: 99.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.9008, allocations: 5.675 MB / 0.7082 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.9009, allocations: 4 kB / 0.7082 GB, free: 95.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006837/0.9016, allocations: 106 kB / 0.7083 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004925/0.9065, allocations: 1.681 MB / 0.7099 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/0.9068, allocations: 16 kB / 0.7099 GB, free: 94.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/0.9191, allocations: 6.324 MB / 0.7161 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.9192, allocations: 4 kB / 0.7161 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01282/0.932, allocations: 4.859 MB / 0.7209 GB, free: 84.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.9325, allocations: 198.6 kB / 0.721 GB, free: 84.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.9328, allocations: 19.94 kB / 0.7211 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.9341, allocations: 132.9 kB / 0.7212 GB, free: 84.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/0.9347, allocations: 202 kB / 0.7214 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.9348, allocations: 20 kB / 0.7214 GB, free: 84.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007069/0.9355, allocations: 0.5562 MB / 0.7219 GB, free: 83.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9355, allocations: 1.422 kB / 0.7219 GB, free: 83.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001367/0.9369, allocations: 412.2 kB / 0.7223 GB, free: 83.21 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.01275/0.9497, allocations: 5.457 MB / 0.7277 GB, free: 78.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005101/0.9548, allocations: 1.975 MB / 0.7296 GB, free: 76.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9549, allocations: 0 / 0.7296 GB, free: 76.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.9588, allocations: 1.458 MB / 0.731 GB, free: 74.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.9596, allocations: 63.39 kB / 0.7311 GB, free: 74.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.9627, allocations: 1.638 MB / 0.7327 GB, free: 72.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9631, allocations: 1.064 MB / 0.7337 GB, free: 71.83 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.9634, allocations: 64.91 kB / 0.7338 GB, free: 71.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.9639, allocations: 383.3 kB / 0.7342 GB, free: 71.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9639, allocations: 0 / 0.7342 GB, free: 71.39 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/1.009, allocations: 28.11 MB / 0.7616 GB, free: 43.73 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/1.009, allocations: 175.6 kB / 0.7618 GB, free: 43.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.795, allocations: 3.938 kB / 0.7618 GB, free: 43.5 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)