Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.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.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_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.0009787/0.0009786, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.184/1.184, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 98.8 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4563/0.4563, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.338e-05, allocations: 0 / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 69.5 MB / 0.5492 GB, free: 19.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4402, allocations: 102.3 MB / 0.6491 GB, free: 13.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4404, allocations: 83.94 kB / 0.6492 GB, free: 13.22 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3655/0.8059, allocations: 31.49 MB / 0.6799 GB, free: 102.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.806, allocations: 0 / 0.6799 GB, free: 102.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001047/0.8061, allocations: 32.86 kB / 0.68 GB, free: 102.4 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005361/0.8115, allocations: 1.975 MB / 0.6819 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.8115, allocations: 17.39 kB / 0.6819 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/0.8118, allocations: 160.3 kB / 0.6821 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.8151, allocations: 0.5929 MB / 0.6826 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.8169, allocations: 0.9124 MB / 0.6835 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.8172, allocations: 247.6 kB / 0.6838 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.8174, allocations: 107 kB / 0.6839 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.8196, allocations: 1.231 MB / 0.6851 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.8197, allocations: 0.75 kB / 0.6851 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.8198, allocations: 48.09 kB / 0.6851 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.8198, allocations: 24.56 kB / 0.6851 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.822, allocations: 1.085 MB / 0.6862 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005829/0.8278, allocations: 4.303 MB / 0.6904 GB, free: 99.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.8301, allocations: 1.733 MB / 0.6921 GB, free: 98.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/0.831, allocations: 0.6986 MB / 0.6928 GB, free: 98.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.8311, allocations: 21.39 kB / 0.6928 GB, free: 98.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.8311, allocations: 44.69 kB / 0.6928 GB, free: 98.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 2.625e-06/0.8311, allocations: 0 / 0.6928 GB, free: 98.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01196/0.8431, allocations: 4.434 MB / 0.6972 GB, free: 98.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.8432, allocations: 125.6 kB / 0.6973 GB, free: 97.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.8444, allocations: 0.9262 MB / 0.6982 GB, free: 97.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.8446, allocations: 45.52 kB / 0.6982 GB, free: 97.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.8449, allocations: 0.6142 MB / 0.6988 GB, free: 96.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.8453, allocations: 407.3 kB / 0.6992 GB, free: 96.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.8453, allocations: 27.97 kB / 0.6993 GB, free: 96.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.8454, allocations: 352.9 kB / 0.6996 GB, free: 96.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/0.8462, allocations: 0.5173 MB / 0.7001 GB, free: 96.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008114/0.847, allocations: 0.6904 MB / 0.7008 GB, free: 95.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.8478, allocations: 0.5841 MB / 0.7013 GB, free: 95.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8479, allocations: 0 / 0.7013 GB, free: 95.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01184/0.8597, allocations: 4.683 MB / 0.7059 GB, free: 94.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.86, allocations: 1.335 MB / 0.7072 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.86, allocations: 2.75 kB / 0.7072 GB, free: 92.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005206/0.8652, allocations: 1.807 MB / 0.709 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.8662, allocations: 184.4 kB / 0.7092 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.8798, allocations: 7.71 MB / 0.7167 GB, free: 86.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.8816, allocations: 232.2 kB / 0.7169 GB, free: 85.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.8817, allocations: 43.36 kB / 0.717 GB, free: 85.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8817, allocations: 4 kB / 0.717 GB, free: 85.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/0.8931, allocations: 4.521 MB / 0.7214 GB, free: 82.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8932, allocations: 4 kB / 0.7214 GB, free: 82.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004965/0.8982, allocations: 1.804 MB / 0.7231 GB, free: 80.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.899, allocations: 179.8 kB / 0.7233 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.9122, allocations: 7.675 MB / 0.7308 GB, free: 73.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.9139, allocations: 214.9 kB / 0.731 GB, free: 73.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.914, allocations: 43.52 kB / 0.731 GB, free: 73.43 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0003136/0.9144, allocations: 184.7 kB / 0.7312 GB, free: 73.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9146, allocations: 146.2 kB / 0.7314 GB, free: 73.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/0.9264, allocations: 4.561 MB / 0.7358 GB, free: 69.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.9265, allocations: 12 kB / 0.7358 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9265, allocations: 0 / 0.7358 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.9265, allocations: 3.984 kB / 0.7358 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.94, allocations: 6.419 MB / 0.7421 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.94, allocations: 0 / 0.7421 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.9408, allocations: 151.8 kB / 0.7422 GB, free: 62.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004695/0.9455, allocations: 1.738 MB / 0.7439 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/0.9457, allocations: 23.98 kB / 0.744 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.9571, allocations: 6.686 MB / 0.7505 GB, free: 54.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9571, allocations: 0 / 0.7505 GB, free: 54.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/0.97, allocations: 5.427 MB / 0.7558 GB, free: 48.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/0.9705, allocations: 235 kB / 0.756 GB, free: 48.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.9707, allocations: 24 kB / 0.756 GB, free: 48.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.9718, allocations: 167.8 kB / 0.7562 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/0.9724, allocations: 208.6 kB / 0.7564 GB, free: 48.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.029e-05/0.9725, allocations: 28 kB / 0.7564 GB, free: 48.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00077/0.9733, allocations: 0.7135 MB / 0.7571 GB, free: 47.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9733, allocations: 4 kB / 0.7571 GB, free: 47.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001739/0.975, allocations: 0.7877 MB / 0.7579 GB, free: 46.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.01282/0.9879, allocations: 6.031 MB / 0.7638 GB, free: 40.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.997, allocations: 4.013 MB / 0.7677 GB, free: 36.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.997, allocations: 0 / 0.7677 GB, free: 36.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003857/1.001, allocations: 1.622 MB / 0.7693 GB, free: 34.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.002, allocations: 145.7 kB / 0.7694 GB, free: 34.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/1.006, allocations: 2.151 MB / 0.7715 GB, free: 32.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.006, allocations: 1.257 MB / 0.7728 GB, free: 31.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008031/1.007, allocations: 235 kB / 0.773 GB, free: 31.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/1.007, allocations: 0.5305 MB / 0.7735 GB, free: 30.51 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/1.007, allocations: 0 / 0.7735 GB, free: 30.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/1.073, allocations: 44.68 MB / 0.8171 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.074, allocations: 175.1 kB / 0.8173 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.191, allocations: 0 / 0.8173 GB, free: 2.082 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)