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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 169.2 kB / 7.64 MB, free: 1.414 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.429/1.429, allocations: 221.5 MB / 229.6 MB, free: 7.492 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.001002/0.001002, allocations: 97.56 kB / 280.5 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4452/0.4452, allocations: 78.06 MB / 409.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.499e-05/1.501e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 69.36 MB / 0.5413 GB, free: 6.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.496, allocations: 101 MB / 0.6399 GB, free: 14.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4963, allocations: 81.03 kB / 0.64 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0842/0.5805, allocations: 30.85 MB / 0.6701 GB, free: 15.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5805, allocations: 3.938 kB / 0.6702 GB, free: 15.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000146/0.5807, allocations: 32 kB / 0.6702 GB, free: 15.57 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.006595/0.5873, allocations: 1.972 MB / 0.6721 GB, free: 13.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5874, allocations: 16.02 kB / 0.6721 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.591, allocations: 0.5872 MB / 0.6727 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.5933, allocations: 0.9064 MB / 0.6736 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.5936, allocations: 214.5 kB / 0.6738 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.594, allocations: 68.47 kB / 0.6739 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002164/0.5961, allocations: 1.023 MB / 0.6749 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.5982, allocations: 1.097 MB / 0.6759 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5982, allocations: 0 / 0.6759 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.5983, allocations: 0 / 0.6759 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.5984, allocations: 30.09 kB / 0.676 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007097/0.6055, allocations: 4.128 MB / 0.68 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.6083, allocations: 1.688 MB / 0.6816 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.6093, allocations: 0.6713 MB / 0.6823 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.6095, allocations: 13.31 kB / 0.6823 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.6095, allocations: 43.88 kB / 0.6823 GB, free: 2.672 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 4.469e-06/0.6095, allocations: 3.984 kB / 0.6823 GB, free: 2.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01328/0.6228, allocations: 4.361 MB / 0.6866 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.6229, allocations: 116.1 kB / 0.6867 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6244, allocations: 0.8482 MB / 0.6875 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.6247, allocations: 25.7 kB / 0.6876 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.6252, allocations: 0.6185 MB / 0.6882 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005894/0.6258, allocations: 394.1 kB / 0.6885 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.6259, allocations: 0 / 0.6885 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.626, allocations: 353.9 kB / 0.6889 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009006/0.6269, allocations: 0.4986 MB / 0.6894 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009935/0.628, allocations: 0.6546 MB / 0.69 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/0.6289, allocations: 0.5672 MB / 0.6906 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6289, allocations: 4 kB / 0.6906 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01361/0.6425, allocations: 4.574 MB / 0.695 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006616/0.6433, allocations: 1.334 MB / 0.6963 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.6433, allocations: 0 / 0.6963 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.6494, allocations: 1.753 MB / 0.6981 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.6504, allocations: 188.4 kB / 0.6982 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.6664, allocations: 7.48 MB / 0.7055 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.6684, allocations: 214.9 kB / 0.7057 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.6686, allocations: 39.98 kB / 0.7058 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6687, allocations: 4 kB / 0.7058 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.6823, allocations: 4.383 MB / 0.7101 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.6824, allocations: 0 / 0.7101 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005782/0.6882, allocations: 1.759 MB / 0.7118 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.6891, allocations: 170.3 kB / 0.7119 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/0.7052, allocations: 7.499 MB / 0.7193 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.7069, allocations: 191 kB / 0.7194 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.7071, allocations: 36 kB / 0.7195 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.0004357/0.7075, allocations: 145.2 kB / 0.7196 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.7079, allocations: 142.2 kB / 0.7198 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.7211, allocations: 4.458 MB / 0.7241 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.7211, allocations: 16 kB / 0.7241 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7211, allocations: 0 / 0.7241 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.7211, allocations: 3.984 kB / 0.7241 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.7367, allocations: 6.204 MB / 0.7302 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7367, allocations: 1.031 kB / 0.7302 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/0.7376, allocations: 143.8 kB / 0.7303 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005487/0.7431, allocations: 1.727 MB / 0.732 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/0.7434, allocations: 0 / 0.732 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.7577, allocations: 6.543 MB / 0.7384 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.7578, allocations: 3.938 kB / 0.7384 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.7736, allocations: 5.339 MB / 0.7436 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.7743, allocations: 223.1 kB / 0.7438 GB, free: 2.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/0.7749, allocations: 12 kB / 0.7438 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.7765, allocations: 151.8 kB / 0.744 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007561/0.7773, allocations: 208.9 kB / 0.7442 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.7775, allocations: 28.19 kB / 0.7442 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001235/0.7787, allocations: 0.6446 MB / 0.7448 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7788, allocations: 0 / 0.7448 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002813/0.7816, allocations: 0.7095 MB / 0.7455 GB, free: 1.164 MB / 0.5417 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.000382/0.782, allocations: 135 kB / 0.7457 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01084/0.7928, allocations: 3.866 MB / 0.7494 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.7929, allocations: 0.5 kB / 0.7494 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004779/0.7977, allocations: 1.569 MB / 0.751 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7989, allocations: 115.9 kB / 0.7511 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/0.803, allocations: 1.865 MB / 0.7529 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009863/0.804, allocations: 1.261 MB / 0.7541 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001276/0.8053, allocations: 231.8 kB / 0.7544 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.8056, allocations: 51.44 kB / 0.7544 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of SimCode: time 6.01e-07/0.8056, allocations: 0 / 0.7544 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of Templates: time 0.3276/1.133, allocations: 30.63 MB / 0.7843 GB, free: 142.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)