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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.004457/0.004456, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.208/1.208, allocations: 223.2 MB / 239 MB, free: 80 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008471/0.0008472, allocations: 101.1 kB / 290.2 MB, free: 4.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4189/0.4189, allocations: 78.58 MB / 419.9 MB, free: 36.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 16 kB / 499.8 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1078, allocations: 69.35 MB / 0.5558 GB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3038/0.4116, allocations: 101.8 MB / 0.6552 GB, free: 492 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4118, allocations: 94.81 kB / 0.6553 GB, free: 436 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08181/0.4936, allocations: 31.29 MB / 0.6858 GB, free: 1.695 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4937, allocations: 0 / 0.6858 GB, free: 1.695 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.4938, allocations: 32 kB / 0.6858 GB, free: 1.664 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.0101/0.5039, allocations: 2.256 MB / 0.688 GB, free: 15.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.504, allocations: 14.38 kB / 0.6881 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006215/0.5102, allocations: 0.5912 MB / 0.6886 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.5134, allocations: 0.9414 MB / 0.6896 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.5138, allocations: 244.8 kB / 0.6898 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.5141, allocations: 99.94 kB / 0.6899 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005091/0.5192, allocations: 1.507 MB / 0.6914 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5193, allocations: 0 / 0.6914 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.5195, allocations: 44 kB / 0.6914 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.5195, allocations: 24 kB / 0.6914 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/0.525, allocations: 1.421 MB / 0.6928 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.5374, allocations: 4.316 MB / 0.697 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007319/0.5448, allocations: 2.061 MB / 0.699 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.5449, allocations: 17.94 kB / 0.6991 GB, free: 3.672 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.545, allocations: 47.5 kB / 0.6991 GB, free: 3.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 5.059e-06/0.545, allocations: 0 / 0.6991 GB, free: 3.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.05292/0.598, allocations: 8.482 MB / 0.7074 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.5981, allocations: 115.8 kB / 0.7075 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.6005, allocations: 0.9668 MB / 0.7084 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003173/0.6009, allocations: 41.7 kB / 0.7085 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007086/0.6016, allocations: 0.6111 MB / 0.7091 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.6022, allocations: 417.9 kB / 0.7095 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.6024, allocations: 20 kB / 0.7095 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6025, allocations: 345.9 kB / 0.7098 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.6056, allocations: 0.7795 MB / 0.7106 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/0.6088, allocations: 0.9552 MB / 0.7115 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.6119, allocations: 0.8471 MB / 0.7123 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6119, allocations: 0 / 0.7123 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.02746/0.6394, allocations: 5.413 MB / 0.7176 GB, free: 492 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007551/0.6402, allocations: 1.331 MB / 0.7189 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.6402, allocations: 4 kB / 0.7189 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/0.6523, allocations: 2.237 MB / 0.7211 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.6539, allocations: 183.8 kB / 0.7213 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04304/0.697, allocations: 10.76 MB / 0.7318 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.6998, allocations: 238.9 kB / 0.732 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.7, allocations: 36 kB / 0.7321 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.7001, allocations: 8.938 kB / 0.7321 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02611/0.7262, allocations: 5.202 MB / 0.7371 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.7262, allocations: 4 kB / 0.7372 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.7377, allocations: 2.237 MB / 0.7393 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.7392, allocations: 175.7 kB / 0.7395 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04245/0.7817, allocations: 10.74 MB / 0.75 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.7843, allocations: 215 kB / 0.7502 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/0.7845, allocations: 36 kB / 0.7502 GB, free: 14.73 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.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: 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 () * Number of clocked 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.00108/0.7856, allocations: 392.2 kB / 0.7506 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.786, allocations: 146.2 kB / 0.7507 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/0.8127, allocations: 5.283 MB / 0.7559 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/0.8128, allocations: 13.59 kB / 0.7559 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8128, allocations: 4 kB / 0.7559 GB, free: 8.887 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.607e-05/0.8129, allocations: 3.984 kB / 0.7559 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/0.8431, allocations: 7.14 MB / 0.7629 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.8432, allocations: 7.953 kB / 0.7629 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.8446, allocations: 143.8 kB / 0.763 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01162/0.8562, allocations: 2.168 MB / 0.7652 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001925/0.8564, allocations: 20 kB / 0.7652 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03142/0.8879, allocations: 9.301 MB / 0.7743 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8879, allocations: 0 / 0.7743 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.9043, allocations: 6.421 MB / 0.7805 GB, free: 15.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.9048, allocations: 235 kB / 0.7808 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9051, allocations: 20 kB / 0.7808 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.9063, allocations: 163.9 kB / 0.7809 GB, free: 14.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.9069, allocations: 212.6 kB / 0.7811 GB, free: 14.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.907, allocations: 28 kB / 0.7812 GB, free: 14.71 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001139/0.9081, allocations: 0.7546 MB / 0.7819 GB, free: 13.95 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9082, allocations: 2.25 kB / 0.7819 GB, free: 13.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00223/0.9104, allocations: 0.7877 MB / 0.7827 GB, free: 13.16 MB / 0.573 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 () * Number of clocked 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.0003093/0.9107, allocations: 156 kB / 0.7828 GB, free: 13.01 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.9224, allocations: 4.757 MB / 0.7875 GB, free: 8.234 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9224, allocations: 0 / 0.7875 GB, free: 8.234 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005013/0.9275, allocations: 1.89 MB / 0.7893 GB, free: 6.336 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.9284, allocations: 146.5 kB / 0.7894 GB, free: 6.191 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.9328, allocations: 3.032 MB / 0.7924 GB, free: 3.137 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008206/0.9336, allocations: 1.254 MB / 0.7936 GB, free: 1.852 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006303/0.9343, allocations: 151.7 kB / 0.7938 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.9345, allocations: 67.42 kB / 0.7938 GB, free: 1.633 MB / 0.573 GB Notification: Performance of SimCode: time 5.41e-07/0.9345, allocations: 4 kB / 0.7938 GB, free: 1.629 MB / 0.573 GB Notification: Performance of Templates: time 0.2315/1.166, allocations: 30.79 MB / 0.8239 GB, free: 149.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (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 & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)