Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",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.01034/0.01034, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.379/1.379, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008433/0.0008433, allocations: 104.5 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4947/0.4947, allocations: 78.53 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 8 kB / 499.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4442, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.5833, allocations: 97.14 MB / 0.6507 GB, free: 9.195 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5836, allocations: 88.61 kB / 0.6507 GB, free: 9.109 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06655/0.6502, allocations: 24.64 MB / 0.6748 GB, free: 348 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6503, allocations: 8 kB / 0.6748 GB, free: 340 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.6503, allocations: 16 kB / 0.6748 GB, free: 324 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004904/0.6552, allocations: 1.877 MB / 0.6767 GB, free: 14.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.6553, allocations: 12.03 kB / 0.6767 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.6555, allocations: 122.5 kB / 0.6768 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.6586, allocations: 0.5487 MB / 0.6773 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.66, allocations: 0.7069 MB / 0.678 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.6603, allocations: 260.1 kB / 0.6783 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.6605, allocations: 71.91 kB / 0.6783 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.6627, allocations: 1.153 MB / 0.6795 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.6628, allocations: 0 / 0.6795 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.6629, allocations: 24 kB / 0.6795 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.6629, allocations: 16 kB / 0.6795 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.6651, allocations: 1.124 MB / 0.6806 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005218/0.6703, allocations: 3.069 MB / 0.6836 GB, free: 7.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.6735, allocations: 1.715 MB / 0.6853 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.755e-05/0.6736, allocations: 12.98 kB / 0.6853 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.6737, allocations: 51.5 kB / 0.6853 GB, free: 5.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.6737, allocations: 0 / 0.6853 GB, free: 5.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.02986/0.7036, allocations: 8.868 MB / 0.694 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.7037, allocations: 64.41 kB / 0.6941 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7049, allocations: 0.7139 MB / 0.6948 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.7051, allocations: 45.64 kB / 0.6948 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.7054, allocations: 452.3 kB / 0.6952 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.7058, allocations: 327.2 kB / 0.6955 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.7058, allocations: 20 kB / 0.6956 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.706, allocations: 337.9 kB / 0.6959 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.7074, allocations: 0.6696 MB / 0.6965 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.7088, allocations: 0.7757 MB / 0.6973 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.7102, allocations: 0.7097 MB / 0.698 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7102, allocations: 3.953 kB / 0.698 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01437/0.7246, allocations: 5.035 MB / 0.7029 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.7247, allocations: 4 kB / 0.7029 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.7247, allocations: 4 kB / 0.7029 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006736/0.7314, allocations: 2.225 MB / 0.7051 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.7322, allocations: 119.8 kB / 0.7052 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/0.7558, allocations: 10.76 MB / 0.7157 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.7574, allocations: 179.2 kB / 0.7159 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.7575, allocations: 31.94 kB / 0.7159 GB, free: 5.559 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (71): * Single equations (assignments): 70 * 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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005288/0.758, allocations: 213.8 kB / 0.7161 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.7582, allocations: 106.7 kB / 0.7162 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.7723, allocations: 5.026 MB / 0.7211 GB, free: 192 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.7724, allocations: 12 kB / 0.7211 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7724, allocations: 0 / 0.7211 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/0.7724, allocations: 3.984 kB / 0.7211 GB, free: 176 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.7886, allocations: 6.589 MB / 0.7276 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.7887, allocations: 0 / 0.7276 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.7893, allocations: 95.83 kB / 0.7277 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006388/0.7957, allocations: 2.164 MB / 0.7298 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.7959, allocations: 20 kB / 0.7298 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/0.8166, allocations: 9.3 MB / 0.7389 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8167, allocations: 4 kB / 0.7389 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.8332, allocations: 5.969 MB / 0.7447 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005871/0.8338, allocations: 203.6 kB / 0.7449 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.834, allocations: 16 kB / 0.7449 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.835, allocations: 135.9 kB / 0.745 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00072/0.8358, allocations: 192.6 kB / 0.7452 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.8359, allocations: 24 kB / 0.7453 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000812/0.8367, allocations: 0.5666 MB / 0.7458 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.063e-06/0.8367, allocations: 0 / 0.7458 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001322/0.838, allocations: 423.5 kB / 0.7462 GB, free: 6.16 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01651/0.8545, allocations: 6.577 MB / 0.7526 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006536/0.8611, allocations: 2.534 MB / 0.7551 GB, free: 13 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8612, allocations: 0 / 0.7551 GB, free: 13 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004693/0.8659, allocations: 1.765 MB / 0.7568 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.8666, allocations: 67.42 kB / 0.7569 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4184/1.285, allocations: 12.22 MB / 0.7688 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/1.286, allocations: 1.078 MB / 0.7699 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006006/1.287, allocations: 62.89 kB / 0.7699 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/1.287, allocations: 389 kB / 0.7703 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.894e-06/1.287, allocations: 0 / 0.7703 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07254/1.36, allocations: 29.07 MB / 0.7987 GB, free: 147.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.36, allocations: 195.1 kB / 0.7989 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/4.31, allocations: 0 / 0.7989 GB, free: 147.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)