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.007044/0.007044, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001004/0.001004, allocations: 94.84 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06476/0.06476, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4313/0.4313, allocations: 78.51 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 23.8 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 69.25 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.2368, allocations: 99.47 MB / 0.6928 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.237, allocations: 79.95 kB / 0.6929 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2906/0.5276, allocations: 23.97 MB / 0.7163 GB, free: 93.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5277, allocations: 0 / 0.7163 GB, free: 93.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.5278, allocations: 18.09 kB / 0.7163 GB, free: 93.65 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.004624/0.5324, allocations: 1.88 MB / 0.7181 GB, free: 92.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5324, allocations: 15.55 kB / 0.7181 GB, free: 92.41 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.5327, allocations: 117.8 kB / 0.7182 GB, free: 92.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.5357, allocations: 0.5489 MB / 0.7188 GB, free: 92.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.537, allocations: 0.7135 MB / 0.7195 GB, free: 91.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.5372, allocations: 256.9 kB / 0.7197 GB, free: 91.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5374, allocations: 69.56 kB / 0.7198 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.5392, allocations: 1.05 MB / 0.7208 GB, free: 90.64 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5392, allocations: 0 / 0.7208 GB, free: 90.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.5393, allocations: 28 kB / 0.7208 GB, free: 90.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5393, allocations: 20 kB / 0.7209 GB, free: 90.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.5411, allocations: 1.07 MB / 0.7219 GB, free: 89.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.5459, allocations: 3.348 MB / 0.7252 GB, free: 86.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.5476, allocations: 1.4 MB / 0.7265 GB, free: 84.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-05/0.5477, allocations: 13 kB / 0.7266 GB, free: 84.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.5477, allocations: 43.55 kB / 0.7266 GB, free: 84.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.5477, allocations: 0 / 0.7266 GB, free: 84.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=85): time 0.02454/0.5722, allocations: 8.314 MB / 0.7347 GB, free: 76.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.5723, allocations: 60.41 kB / 0.7348 GB, free: 76.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009235/0.5732, allocations: 0.7172 MB / 0.7355 GB, free: 75.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002073/0.5734, allocations: 41.64 kB / 0.7355 GB, free: 75.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.5737, allocations: 452.3 kB / 0.7359 GB, free: 74.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.5739, allocations: 299.6 kB / 0.7362 GB, free: 74.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.574, allocations: 20 kB / 0.7363 GB, free: 74.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.5741, allocations: 342.4 kB / 0.7366 GB, free: 74.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.5753, allocations: 0.6501 MB / 0.7372 GB, free: 73.47 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.5764, allocations: 0.7608 MB / 0.738 GB, free: 72.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5776, allocations: 0.6863 MB / 0.7386 GB, free: 72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5776, allocations: 4 kB / 0.7386 GB, free: 72 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01229/0.5899, allocations: 4.872 MB / 0.7434 GB, free: 67.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.5899, allocations: 11.94 kB / 0.7434 GB, free: 67.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.59, allocations: 0 / 0.7434 GB, free: 67.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/0.5962, allocations: 2.166 MB / 0.7455 GB, free: 64.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.5969, allocations: 119.9 kB / 0.7456 GB, free: 64.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.6162, allocations: 10.15 MB / 0.7555 GB, free: 54.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.6177, allocations: 183.2 kB / 0.7557 GB, free: 54.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/0.6179, allocations: 24 kB / 0.7557 GB, free: 54.32 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 () * Number of clocked 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.0005677/0.6184, allocations: 221.6 kB / 0.756 GB, free: 54.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6186, allocations: 102.7 kB / 0.7561 GB, free: 53.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.6305, allocations: 4.786 MB / 0.7607 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.6305, allocations: 8 kB / 0.7607 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6305, allocations: 0 / 0.7607 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.6305, allocations: 3.984 kB / 0.7607 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.6441, allocations: 6.341 MB / 0.7669 GB, free: 42.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6441, allocations: 0 / 0.7669 GB, free: 42.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/0.6448, allocations: 99.89 kB / 0.767 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005508/0.6503, allocations: 2.061 MB / 0.769 GB, free: 40.54 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.6505, allocations: 16 kB / 0.7691 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/0.6665, allocations: 8.643 MB / 0.7775 GB, free: 31.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6666, allocations: 4 kB / 0.7775 GB, free: 31.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/0.68, allocations: 5.751 MB / 0.7831 GB, free: 25.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.6805, allocations: 199.6 kB / 0.7833 GB, free: 25.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.6806, allocations: 19.95 kB / 0.7833 GB, free: 25.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009798/0.6816, allocations: 127.9 kB / 0.7834 GB, free: 25.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005903/0.6822, allocations: 204.6 kB / 0.7836 GB, free: 25.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.6823, allocations: 20 kB / 0.7837 GB, free: 25.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006337/0.6829, allocations: 0.5663 MB / 0.7842 GB, free: 24.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6829, allocations: 0 / 0.7842 GB, free: 24.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001033/0.684, allocations: 411.5 kB / 0.7846 GB, free: 24.4 MB / 474.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 () * Number of clocked 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.01377/0.6978, allocations: 6.339 MB / 0.7908 GB, free: 18.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005575/0.7034, allocations: 2.462 MB / 0.7932 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7034, allocations: 0 / 0.7932 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.7074, allocations: 1.712 MB / 0.7949 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.7081, allocations: 71.34 kB / 0.7949 GB, free: 13.76 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.7283, allocations: 12.17 MB / 0.8068 GB, free: 1.273 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.7287, allocations: 1.068 MB / 0.8079 GB, free: 184 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.729, allocations: 57.25 kB / 0.8079 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004653/0.7295, allocations: 383.4 kB / 0.8083 GB, free: 15.74 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.7295, allocations: 4 kB / 0.8083 GB, free: 15.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.7747, allocations: 28.25 MB / 0.8359 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.775, allocations: 189.2 kB / 0.8361 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/3.332, allocations: 0 / 0.8361 GB, free: 3.398 MB / 0.4948 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)