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.0009979/0.0009978, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008897/0.0008897, allocations: 83.86 kB / 280.4 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5165/0.5165, allocations: 78.12 MB / 409.4 MB, free: 6.488 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.654e-05, allocations: 7.938 kB / 485.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 69.35 MB / 0.5414 GB, free: 6.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.5084, allocations: 97.24 MB / 0.6364 GB, free: 2.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.5087, allocations: 80.45 kB / 0.6364 GB, free: 2.352 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06628/0.5749, allocations: 24.33 MB / 0.6602 GB, free: 10.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.575, allocations: 0 / 0.6602 GB, free: 10.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.948e-05/0.5751, allocations: 23.94 kB / 0.6602 GB, free: 10.05 MB / 474.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.004425/0.5795, allocations: 1.651 MB / 0.6618 GB, free: 8.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5795, allocations: 12.03 kB / 0.6619 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.5828, allocations: 0.541 MB / 0.6624 GB, free: 7.797 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.5841, allocations: 0.7033 MB / 0.6631 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.5844, allocations: 236.2 kB / 0.6633 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.5845, allocations: 49.12 kB / 0.6633 GB, free: 6.742 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/0.5859, allocations: 0.7577 MB / 0.6641 GB, free: 5.984 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5872, allocations: 0.718 MB / 0.6648 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5872, allocations: 0 / 0.6648 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.5873, allocations: 0 / 0.6648 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.5873, allocations: 20 kB / 0.6648 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.593, allocations: 3.209 MB / 0.6679 GB, free: 1.891 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.5943, allocations: 1.148 MB / 0.6691 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.5951, allocations: 0.5349 MB / 0.6696 GB, free: 80 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.5952, allocations: 12.72 kB / 0.6696 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5952, allocations: 41.97 kB / 0.6696 GB, free: 20 kB / 474.7 MB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/0.5953, allocations: 0 / 0.6696 GB, free: 20 kB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.01252/0.6078, allocations: 3.945 MB / 0.6735 GB, free: 12.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.6079, allocations: 65.53 kB / 0.6736 GB, free: 11.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6089, allocations: 0.6542 MB / 0.6742 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.6091, allocations: 25.7 kB / 0.6742 GB, free: 11.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.6094, allocations: 460.3 kB / 0.6747 GB, free: 10.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.6097, allocations: 287.7 kB / 0.6749 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.6098, allocations: 0 / 0.6749 GB, free: 10.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6099, allocations: 349.8 kB / 0.6753 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006731/0.6106, allocations: 410.6 kB / 0.6757 GB, free: 9.785 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007258/0.6113, allocations: 0.5037 MB / 0.6761 GB, free: 9.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.6121, allocations: 452.4 kB / 0.6766 GB, free: 8.809 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6121, allocations: 4 kB / 0.6766 GB, free: 8.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01284/0.6249, allocations: 4.133 MB / 0.6806 GB, free: 4.656 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.625, allocations: 4 kB / 0.6806 GB, free: 4.652 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.625, allocations: 4 kB / 0.6806 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/0.6311, allocations: 1.74 MB / 0.6823 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.6318, allocations: 123.8 kB / 0.6824 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01474/0.6465, allocations: 7.224 MB / 0.6895 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.648, allocations: 163.2 kB / 0.6897 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.6481, allocations: 28 kB / 0.6897 GB, free: 11.25 MB / 0.4948 GB 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.0002324/0.6483, allocations: 119.4 kB / 0.6898 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01254/0.6609, allocations: 3.961 MB / 0.6937 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.6615, allocations: 102.8 kB / 0.6938 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.6742, allocations: 4.039 MB / 0.6977 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.6743, allocations: 12 kB / 0.6977 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.6743, allocations: 0 / 0.6977 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.6743, allocations: 3.984 kB / 0.6977 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.6891, allocations: 5.527 MB / 0.7031 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6892, allocations: 3.938 kB / 0.7031 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/0.6899, allocations: 100.7 kB / 0.7032 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005543/0.6955, allocations: 1.667 MB / 0.7048 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/0.6958, allocations: 4 kB / 0.7048 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.7085, allocations: 6.192 MB / 0.7109 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.7085, allocations: 2.375 kB / 0.7109 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.722, allocations: 4.78 MB / 0.7156 GB, free: 444 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.7225, allocations: 199.6 kB / 0.7158 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.7226, allocations: 3.953 kB / 0.7158 GB, free: 220 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7237, allocations: 119.9 kB / 0.7159 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/0.7243, allocations: 205.9 kB / 0.7161 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.7244, allocations: 23.98 kB / 0.7161 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00066/0.7251, allocations: 0.5036 MB / 0.7166 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7251, allocations: 0 / 0.7166 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001179/0.7262, allocations: 375.5 kB / 0.7169 GB, free: 14.99 MB / 0.5261 GB 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.01387/0.7401, allocations: 5.361 MB / 0.7222 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0052/0.7454, allocations: 1.912 MB / 0.724 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.7454, allocations: 0.5625 kB / 0.724 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004162/0.7496, allocations: 1.416 MB / 0.7254 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.7504, allocations: 59.33 kB / 0.7255 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/0.754, allocations: 1.581 MB / 0.727 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.7547, allocations: 1.06 MB / 0.7281 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.755, allocations: 61.22 kB / 0.7281 GB, free: 3.434 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.7555, allocations: 375.3 kB / 0.7285 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.7555, allocations: 0.8438 kB / 0.7285 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05327/0.8088, allocations: 26.2 MB / 0.7541 GB, free: 9.105 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.809, allocations: 128.7 kB / 0.7542 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.493, allocations: 1.203 kB / 0.7542 GB, free: 8.914 MB / 0.5573 GB (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)