Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.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.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",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.007667/0.007666, allocations: 171.9 kB / 15.12 MB, free: 5.973 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.361/1.361, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009126/0.0009127, 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.06233/0.06233, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4237/0.4237, allocations: 78.51 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005683, allocations: 21.03 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 69.24 MB / 0.5956 GB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4172/0.5427, allocations: 100.9 MB / 0.6942 GB, free: 35.35 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5429, allocations: 87.7 kB / 0.6943 GB, free: 35.35 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06889/0.6119, allocations: 28.09 MB / 0.7217 GB, free: 32.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6119, allocations: 4 kB / 0.7217 GB, free: 32.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.612, allocations: 23.47 kB / 0.7217 GB, free: 32.9 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005778/0.6178, allocations: 2.099 MB / 0.7238 GB, free: 31.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6179, allocations: 11.64 kB / 0.7238 GB, free: 31.97 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005455/0.6184, allocations: 156.7 kB / 0.7239 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.6219, allocations: 0.5737 MB / 0.7245 GB, free: 31.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.6241, allocations: 0.8613 MB / 0.7253 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002431/0.6243, allocations: 240.2 kB / 0.7256 GB, free: 31.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/0.6247, allocations: 93.81 kB / 0.7257 GB, free: 31.3 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.6277, allocations: 1.401 MB / 0.727 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.6277, allocations: 7.969 kB / 0.727 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.6278, allocations: 37.47 kB / 0.7271 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.6279, allocations: 23.53 kB / 0.7271 GB, free: 31.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.6303, allocations: 1.287 MB / 0.7284 GB, free: 31.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.6366, allocations: 4.262 MB / 0.7325 GB, free: 29.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.6395, allocations: 1.838 MB / 0.7343 GB, free: 28.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.6397, allocations: 15.95 kB / 0.7343 GB, free: 28.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.6397, allocations: 42.59 kB / 0.7344 GB, free: 28.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 4.188e-06/0.6397, allocations: 0 / 0.7344 GB, free: 28.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.02645/0.6662, allocations: 8.732 MB / 0.7429 GB, free: 28.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.6663, allocations: 115.5 kB / 0.743 GB, free: 28.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.6677, allocations: 0.8671 MB / 0.7438 GB, free: 27.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002869/0.668, allocations: 43.73 kB / 0.7439 GB, free: 27.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.6683, allocations: 0.5736 MB / 0.7445 GB, free: 27.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.6688, allocations: 388.8 kB / 0.7448 GB, free: 27.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.6689, allocations: 22.22 kB / 0.7448 GB, free: 27.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.669, allocations: 343.9 kB / 0.7452 GB, free: 26.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.6704, allocations: 0.7206 MB / 0.7459 GB, free: 26.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.6719, allocations: 0.8961 MB / 0.7467 GB, free: 26.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.6733, allocations: 0.7801 MB / 0.7475 GB, free: 26.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6733, allocations: 3.906 kB / 0.7475 GB, free: 26.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01369/0.687, allocations: 5.224 MB / 0.7526 GB, free: 24.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003448/0.6874, allocations: 1.502 MB / 0.7541 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.6874, allocations: 3.875 kB / 0.7541 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006316/0.6938, allocations: 2.237 MB / 0.7563 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008977/0.6947, allocations: 153.1 kB / 0.7564 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.7161, allocations: 10.79 MB / 0.767 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.7178, allocations: 206.9 kB / 0.7671 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.7181, allocations: 38.25 kB / 0.7672 GB, free: 19.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.7181, allocations: 7.875 kB / 0.7672 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/0.7312, allocations: 5.025 MB / 0.7721 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.7313, allocations: 3.938 kB / 0.7721 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006126/0.7374, allocations: 2.232 MB / 0.7743 GB, free: 17.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000864/0.7383, allocations: 146.6 kB / 0.7744 GB, free: 17.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.7599, allocations: 10.75 MB / 0.7849 GB, free: 10.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.7615, allocations: 191.9 kB / 0.7851 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.7618, allocations: 39.06 kB / 0.7851 GB, free: 10.29 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0008394/0.7626, allocations: 357.8 kB / 0.7855 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.763, allocations: 130.4 kB / 0.7856 GB, free: 9.883 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.7763, allocations: 5.133 MB / 0.7906 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7763, allocations: 12 kB / 0.7906 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7763, allocations: 3.984 kB / 0.7906 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/0.7764, allocations: 11.94 kB / 0.7906 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.7933, allocations: 6.907 MB / 0.7974 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/0.7933, allocations: 0 / 0.7974 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000895/0.7943, allocations: 119.9 kB / 0.7975 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006406/0.8007, allocations: 2.172 MB / 0.7996 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003087/0.801, allocations: 20 kB / 0.7996 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02079/0.8218, allocations: 9.293 MB / 0.8087 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.8219, allocations: 4 kB / 0.8087 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.8393, allocations: 6.201 MB / 0.8148 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/0.8402, allocations: 219.2 kB / 0.815 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000537/0.8407, allocations: 20 kB / 0.815 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.8422, allocations: 143.9 kB / 0.8151 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007223/0.843, allocations: 204.6 kB / 0.8153 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.8431, allocations: 31.95 kB / 0.8154 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009974/0.8441, allocations: 0.6662 MB / 0.816 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8441, allocations: 0 / 0.816 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002371/0.8465, allocations: 0.7449 MB / 0.8168 GB, free: 10.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * 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 (70): * Single equations (assignments): 69 * 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.01668/0.8631, allocations: 6.782 MB / 0.8234 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01184/0.875, allocations: 4.538 MB / 0.8278 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.8751, allocations: 0 / 0.8278 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00488/0.88, allocations: 1.825 MB / 0.8296 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.881, allocations: 128.4 kB / 0.8297 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/0.909, allocations: 14.7 MB / 0.8441 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008815/0.9099, allocations: 1.195 MB / 0.8452 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006567/0.9106, allocations: 99.05 kB / 0.8453 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.9113, allocations: 0.4915 MB / 0.8458 GB, free: 12 MB / 0.5261 GB Notification: Performance of SimCode: time 5.079e-06/0.9113, allocations: 4 kB / 0.8458 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/0.9848, allocations: 40.3 MB / 0.8852 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.9851, allocations: 211.4 kB / 0.8854 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/4.222, allocations: 0 / 0.8854 GB, free: 3.582 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)