Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TGTypeVI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_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.0009294/0.0009294, allocations: 174.7 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.192/1.192, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.00084/0.00084, allocations: 84.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4191/0.4191, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.804e-05, allocations: 4 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.307, allocations: 69.35 MB / 0.5481 GB, free: 20.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4272, allocations: 101.7 MB / 0.6474 GB, free: 14.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4275, allocations: 83.95 kB / 0.6475 GB, free: 14.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3643/0.7918, allocations: 31.21 MB / 0.6779 GB, free: 101.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.7918, allocations: 0.6562 kB / 0.6779 GB, free: 101.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.792, allocations: 31.86 kB / 0.678 GB, free: 101.8 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.00554/0.7975, allocations: 1.977 MB / 0.6799 GB, free: 101.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.7976, allocations: 17.52 kB / 0.6799 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003096/0.7979, allocations: 160.6 kB / 0.6801 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/0.8013, allocations: 0.5923 MB / 0.6806 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.8032, allocations: 0.902 MB / 0.6815 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.8034, allocations: 255 kB / 0.6818 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.8036, allocations: 99.47 kB / 0.6819 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.806, allocations: 1.235 MB / 0.6831 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.806, allocations: 0.9062 kB / 0.6831 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.8061, allocations: 43.84 kB / 0.6831 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.8061, allocations: 24.91 kB / 0.6831 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.8081, allocations: 1.089 MB / 0.6842 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.8146, allocations: 4.315 MB / 0.6884 GB, free: 99.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.8169, allocations: 1.716 MB / 0.6901 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000849/0.8178, allocations: 0.7066 MB / 0.6908 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.8179, allocations: 15.23 kB / 0.6908 GB, free: 98.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.818, allocations: 45 kB / 0.6908 GB, free: 98.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.046e-06/0.818, allocations: 0 / 0.6908 GB, free: 98.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01199/0.83, allocations: 4.436 MB / 0.6952 GB, free: 98.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.83, allocations: 115.2 kB / 0.6953 GB, free: 97.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.8312, allocations: 0.9241 MB / 0.6962 GB, free: 97.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.8315, allocations: 44.61 kB / 0.6962 GB, free: 97.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.8318, allocations: 0.6216 MB / 0.6968 GB, free: 96.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.8321, allocations: 405.8 kB / 0.6972 GB, free: 96.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/0.8322, allocations: 19.94 kB / 0.6972 GB, free: 96.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.8322, allocations: 355.5 kB / 0.6976 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/0.833, allocations: 0.5178 MB / 0.6981 GB, free: 96.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.8339, allocations: 0.6895 MB / 0.6988 GB, free: 95.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.8347, allocations: 0.5822 MB / 0.6993 GB, free: 95.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8347, allocations: 3.219 kB / 0.6993 GB, free: 95.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01256/0.8473, allocations: 4.69 MB / 0.7039 GB, free: 94.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.8476, allocations: 1.332 MB / 0.7052 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.8476, allocations: 3.188 kB / 0.7052 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00539/0.853, allocations: 1.816 MB / 0.707 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/0.8539, allocations: 177.6 kB / 0.7072 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.8675, allocations: 7.712 MB / 0.7147 GB, free: 87.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.8692, allocations: 239.3 kB / 0.7149 GB, free: 87.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.8693, allocations: 38.91 kB / 0.715 GB, free: 86.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.8693, allocations: 7.562 kB / 0.715 GB, free: 86.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/0.8812, allocations: 4.512 MB / 0.7194 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.8812, allocations: 4 kB / 0.7194 GB, free: 83.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005114/0.8864, allocations: 1.814 MB / 0.7211 GB, free: 81.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.8872, allocations: 165 kB / 0.7213 GB, free: 81.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.9008, allocations: 7.693 MB / 0.7288 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.9026, allocations: 218.8 kB / 0.729 GB, free: 74.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.9028, allocations: 39.42 kB / 0.7291 GB, free: 74.58 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.0003241/0.9031, allocations: 178.5 kB / 0.7292 GB, free: 74.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.9034, allocations: 142.2 kB / 0.7294 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.9151, allocations: 4.564 MB / 0.7338 GB, free: 70.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.9152, allocations: 12 kB / 0.7338 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9152, allocations: 4 kB / 0.7338 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/0.9152, allocations: 11.39 kB / 0.7338 GB, free: 70.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.9289, allocations: 6.403 MB / 0.7401 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.9289, allocations: 0 / 0.7401 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/0.9297, allocations: 147.8 kB / 0.7402 GB, free: 64.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004699/0.9345, allocations: 1.742 MB / 0.7419 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/0.9346, allocations: 23.98 kB / 0.742 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9465, allocations: 6.688 MB / 0.7485 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9465, allocations: 0 / 0.7485 GB, free: 56.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01334/0.9599, allocations: 5.422 MB / 0.7538 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/0.9606, allocations: 242.9 kB / 0.754 GB, free: 50.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/0.9609, allocations: 24 kB / 0.754 GB, free: 50.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.9623, allocations: 163.9 kB / 0.7542 GB, free: 50.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/0.9629, allocations: 212.6 kB / 0.7544 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.963, allocations: 31.94 kB / 0.7544 GB, free: 50.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008991/0.9639, allocations: 0.7174 MB / 0.7551 GB, free: 49.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9639, allocations: 0 / 0.7551 GB, free: 49.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002116/0.966, allocations: 0.776 MB / 0.7559 GB, free: 48.57 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.01335/0.9794, allocations: 6.045 MB / 0.7618 GB, free: 42.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00955/0.9889, allocations: 3.999 MB / 0.7657 GB, free: 38.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.989, allocations: 0 / 0.7657 GB, free: 38.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004143/0.9932, allocations: 1.614 MB / 0.7673 GB, free: 36.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.9945, allocations: 145.9 kB / 0.7674 GB, free: 36.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.9984, allocations: 2.156 MB / 0.7695 GB, free: 34.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.9989, allocations: 1.264 MB / 0.7708 GB, free: 33.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008161/0.9997, allocations: 230.2 kB / 0.771 GB, free: 33.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/1, allocations: 0.5305 MB / 0.7715 GB, free: 32.48 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/1, allocations: 3.938 kB / 0.7715 GB, free: 32.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06371/1.064, allocations: 44.67 MB / 0.8151 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.064, allocations: 180.6 kB / 0.8153 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/4.29, allocations: 0 / 0.8153 GB, free: 4.094 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)