Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_release_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.0009668/0.0009668, allocations: 180.7 kB / 7.649 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009056/0.0009058, allocations: 97.67 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5008/0.5008, allocations: 78.12 MB / 409.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.723e-05, allocations: 3.938 kB / 485.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 69.36 MB / 0.5414 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6594, allocations: 101 MB / 0.6401 GB, free: 14.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.6598, allocations: 84.48 kB / 0.6402 GB, free: 14.44 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0841/0.7439, allocations: 30.85 MB / 0.6703 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.744, allocations: 3.938 kB / 0.6703 GB, free: 15.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.84e-05/0.744, allocations: 32 kB / 0.6703 GB, free: 15.59 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.005213/0.7493, allocations: 1.977 MB / 0.6723 GB, free: 13.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7493, allocations: 8.031 kB / 0.6723 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.7527, allocations: 0.595 MB / 0.6728 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.7548, allocations: 0.9103 MB / 0.6737 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.755, allocations: 210.5 kB / 0.6739 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.7552, allocations: 63.91 kB / 0.674 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/0.7572, allocations: 1.031 MB / 0.675 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.7592, allocations: 1.085 MB / 0.6761 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.7592, allocations: 0 / 0.6761 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.7593, allocations: 9.406 kB / 0.6761 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.7593, allocations: 24 kB / 0.6761 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007371/0.7667, allocations: 4.136 MB / 0.6801 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.7696, allocations: 1.67 MB / 0.6818 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.7707, allocations: 0.6752 MB / 0.6824 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.7708, allocations: 18.23 kB / 0.6824 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.7709, allocations: 43.88 kB / 0.6825 GB, free: 2.688 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 4.619e-06/0.7709, allocations: 0 / 0.6825 GB, free: 2.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01365/0.7845, allocations: 4.372 MB / 0.6867 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.7847, allocations: 116.1 kB / 0.6869 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.7865, allocations: 0.8404 MB / 0.6877 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003777/0.7869, allocations: 29.7 kB / 0.6877 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.7875, allocations: 0.6185 MB / 0.6883 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.788, allocations: 390.1 kB / 0.6887 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.7881, allocations: 4 kB / 0.6887 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.7882, allocations: 347 kB / 0.689 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008844/0.7891, allocations: 0.4986 MB / 0.6895 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.7901, allocations: 0.6585 MB / 0.6902 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009188/0.791, allocations: 0.5672 MB / 0.6907 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.791, allocations: 0 / 0.6907 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01392/0.805, allocations: 4.566 MB / 0.6952 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006987/0.8057, allocations: 1.333 MB / 0.6965 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.8057, allocations: 11.98 kB / 0.6965 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/0.8117, allocations: 1.757 MB / 0.6982 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8128, allocations: 187.7 kB / 0.6984 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/0.8288, allocations: 7.483 MB / 0.7057 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/0.8308, allocations: 211.8 kB / 0.7059 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.8309, allocations: 36 kB / 0.7059 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.831, allocations: 8 kB / 0.7059 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01334/0.8443, allocations: 4.386 MB / 0.7102 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.8444, allocations: 4 kB / 0.7102 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005744/0.8501, allocations: 1.757 MB / 0.7119 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.8512, allocations: 171.7 kB / 0.7121 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/0.8673, allocations: 7.49 MB / 0.7194 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.8692, allocations: 195 kB / 0.7196 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8693, allocations: 41.02 kB / 0.7196 GB, free: 12.15 MB / 0.5261 GB 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.000474/0.8698, allocations: 135.6 kB / 0.7198 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01302/0.8828, allocations: 4.368 MB / 0.724 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.8834, allocations: 138.3 kB / 0.7242 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.8966, allocations: 4.451 MB / 0.7285 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.8966, allocations: 11.94 kB / 0.7285 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8966, allocations: 4 kB / 0.7285 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.8967, allocations: 7.969 kB / 0.7285 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01549/0.9122, allocations: 6.201 MB / 0.7346 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.9123, allocations: 4 kB / 0.7346 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/0.9132, allocations: 147.8 kB / 0.7347 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005375/0.9186, allocations: 1.722 MB / 0.7364 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.9188, allocations: 7.984 kB / 0.7364 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.9324, allocations: 6.54 MB / 0.7428 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.9325, allocations: 0 / 0.7428 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.9473, allocations: 5.344 MB / 0.748 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.9479, allocations: 231 kB / 0.7482 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.9481, allocations: 3.984 kB / 0.7482 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/0.9494, allocations: 147.9 kB / 0.7484 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/0.9501, allocations: 208.9 kB / 0.7486 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/0.9502, allocations: 31.98 kB / 0.7486 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009239/0.9511, allocations: 0.6407 MB / 0.7492 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9511, allocations: 0.5625 kB / 0.7492 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002183/0.9533, allocations: 0.7056 MB / 0.7499 GB, free: 12.8 MB / 0.5573 GB 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.01498/0.9683, allocations: 5.921 MB / 0.7557 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01017/0.9785, allocations: 3.876 MB / 0.7595 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.9785, allocations: 0 / 0.7595 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/0.9829, allocations: 1.561 MB / 0.761 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.984, allocations: 117.6 kB / 0.7611 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2992/1.283, allocations: 2.062 MB / 0.7631 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/1.284, allocations: 1.26 MB / 0.7644 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009342/1.285, allocations: 231.3 kB / 0.7646 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/1.285, allocations: 0.5264 MB / 0.7651 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/1.285, allocations: 0 / 0.7651 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/1.39, allocations: 41.73 MB / 0.8059 GB, free: 142 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.391, allocations: 147.6 kB / 0.806 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.316/4.707, allocations: 4 kB / 0.806 GB, free: 141.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)