Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008655, allocations: 91.02 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06126/0.06126, allocations: 12.2 MB / 321.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2721/0.2721, allocations: 78.06 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.374e-05/1.375e-05, allocations: 0 / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09858, allocations: 69.24 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4501, allocations: 98.72 MB / 0.6783 GB, free: 9.309 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.4503, allocations: 79.36 kB / 0.6783 GB, free: 9.297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05314/0.5035, allocations: 23.58 MB / 0.7014 GB, free: 6.359 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5035, allocations: 4 kB / 0.7014 GB, free: 6.355 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.552e-05/0.5035, allocations: 16 kB / 0.7014 GB, free: 6.34 MB / 442.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.003914/0.5075, allocations: 1.653 MB / 0.703 GB, free: 4.754 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5075, allocations: 8.031 kB / 0.703 GB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.5105, allocations: 0.5345 MB / 0.7035 GB, free: 4.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5117, allocations: 0.7178 MB / 0.7042 GB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.5119, allocations: 232.2 kB / 0.7044 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.512, allocations: 43.69 kB / 0.7045 GB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/0.5133, allocations: 0.7582 MB / 0.7052 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5144, allocations: 0.7162 MB / 0.7059 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5145, allocations: 0 / 0.7059 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.5145, allocations: 0 / 0.7059 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5145, allocations: 16 kB / 0.7059 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/0.5194, allocations: 3.216 MB / 0.7091 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5206, allocations: 1.154 MB / 0.7102 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.5212, allocations: 0.5367 MB / 0.7107 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.5213, allocations: 12.77 kB / 0.7107 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5214, allocations: 45.09 kB / 0.7108 GB, free: 14.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=85): time 2.074e-06/0.5214, allocations: 0 / 0.7108 GB, free: 14.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=85): time 0.01115/0.5325, allocations: 3.948 MB / 0.7146 GB, free: 11.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5326, allocations: 60.19 kB / 0.7147 GB, free: 11.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008405/0.5334, allocations: 0.654 MB / 0.7153 GB, free: 10.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5336, allocations: 25.7 kB / 0.7154 GB, free: 10.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.5338, allocations: 452.6 kB / 0.7158 GB, free: 10.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.5341, allocations: 290.5 kB / 0.7161 GB, free: 10.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.5342, allocations: 0 / 0.7161 GB, free: 10.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5343, allocations: 341.7 kB / 0.7164 GB, free: 9.691 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.5349, allocations: 416.3 kB / 0.7168 GB, free: 9.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.5356, allocations: 0.5042 MB / 0.7173 GB, free: 9.152 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.5363, allocations: 454.3 kB / 0.7177 GB, free: 8.906 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.5363, allocations: 0 / 0.7177 GB, free: 8.906 MB / 458.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01188/0.5482, allocations: 4.138 MB / 0.7218 GB, free: 5.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.5483, allocations: 8.938 kB / 0.7218 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.5483, allocations: 0 / 0.7218 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005819/0.5541, allocations: 1.743 MB / 0.7235 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.5548, allocations: 123.4 kB / 0.7236 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.5683, allocations: 7.236 MB / 0.7307 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5697, allocations: 159.3 kB / 0.7308 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.5698, allocations: 26.31 kB / 0.7308 GB, free: 14.59 MB / 474.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.0002084/0.57, allocations: 114.2 kB / 0.7309 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01132/0.5813, allocations: 3.964 MB / 0.7348 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.5815, allocations: 106.7 kB / 0.7349 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/0.5931, allocations: 4.036 MB / 0.7389 GB, free: 6.434 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.5931, allocations: 8 kB / 0.7389 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5931, allocations: 0 / 0.7389 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/0.5932, allocations: 3.984 kB / 0.7389 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.6064, allocations: 5.531 MB / 0.7443 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.6064, allocations: 3.938 kB / 0.7443 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.6071, allocations: 99.89 kB / 0.7444 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/0.6123, allocations: 1.66 MB / 0.746 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.6125, allocations: 0 / 0.746 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/0.6241, allocations: 6.203 MB / 0.7521 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.6241, allocations: 0 / 0.7521 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.6367, allocations: 4.791 MB / 0.7567 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.637, allocations: 199.6 kB / 0.7569 GB, free: 3.641 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.6372, allocations: 4 kB / 0.7569 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/0.6382, allocations: 111.9 kB / 0.757 GB, free: 3.527 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004926/0.6387, allocations: 204.4 kB / 0.7572 GB, free: 3.328 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-05/0.6387, allocations: 23.98 kB / 0.7572 GB, free: 3.305 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005827/0.6393, allocations: 0.4997 MB / 0.7577 GB, free: 2.793 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6393, allocations: 3.938 kB / 0.7577 GB, free: 2.789 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009908/0.6403, allocations: 379.5 kB / 0.7581 GB, free: 2.418 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.01299/0.6533, allocations: 5.36 MB / 0.7633 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005057/0.6584, allocations: 1.905 MB / 0.7652 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6585, allocations: 4 kB / 0.7652 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003868/0.6623, allocations: 1.412 MB / 0.7666 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.663, allocations: 55.38 kB / 0.7666 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.6658, allocations: 1.576 MB / 0.7682 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.6663, allocations: 1.06 MB / 0.7692 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.6666, allocations: 65.22 kB / 0.7693 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004384/0.667, allocations: 379.2 kB / 0.7696 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.667, allocations: 0 / 0.7696 GB, free: 6.477 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.7131, allocations: 26.21 MB / 0.7952 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.7133, allocations: 125.3 kB / 0.7954 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.284, allocations: 0 / 0.7954 GB, free: 12.11 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)