Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004712/0.004712, allocations: 170.3 kB / 15.11 MB, free: 6.039 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.224/1.224, allocations: 223.2 MB / 239 MB, free: 68 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.0007999/0.0007998, allocations: 93.98 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4357/0.4357, allocations: 78.58 MB / 419.9 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 16 kB / 499.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 69.35 MB / 0.5558 GB, free: 1.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4652, allocations: 98.59 MB / 0.6521 GB, free: 3.578 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4655, allocations: 92.88 kB / 0.6522 GB, free: 3.523 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07457/0.54, allocations: 25.96 MB / 0.6775 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5401, allocations: 0 / 0.6775 GB, free: 10.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.5401, allocations: 20 kB / 0.6775 GB, free: 10.21 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005116/0.5453, allocations: 1.962 MB / 0.6794 GB, free: 8.191 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5453, allocations: 8.031 kB / 0.6795 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.5485, allocations: 0.5565 MB / 0.68 GB, free: 7.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/0.5501, allocations: 0.7825 MB / 0.6808 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.5503, allocations: 234.7 kB / 0.681 GB, free: 6.527 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.5504, allocations: 76 kB / 0.6811 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.5527, allocations: 1.196 MB / 0.6822 GB, free: 5.246 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5527, allocations: 0 / 0.6822 GB, free: 5.246 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.5528, allocations: 37.48 kB / 0.6823 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.5528, allocations: 16 kB / 0.6823 GB, free: 5.195 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.5551, allocations: 1.16 MB / 0.6834 GB, free: 4.031 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.5603, allocations: 3.157 MB / 0.6865 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.5633, allocations: 1.74 MB / 0.6882 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.698e-05/0.5634, allocations: 16.98 kB / 0.6882 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5635, allocations: 39.56 kB / 0.6882 GB, free: 14.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 1.974e-06/0.5635, allocations: 0 / 0.6882 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02996/0.5934, allocations: 8.849 MB / 0.6969 GB, free: 5.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5935, allocations: 90.11 kB / 0.697 GB, free: 5.828 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5947, allocations: 0.8076 MB / 0.6978 GB, free: 5.004 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/0.5948, allocations: 41.7 kB / 0.6978 GB, free: 4.957 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.5951, allocations: 0.4967 MB / 0.6983 GB, free: 4.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.5954, allocations: 323.2 kB / 0.6986 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.5955, allocations: 16 kB / 0.6986 GB, free: 4.117 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.5956, allocations: 341.9 kB / 0.6989 GB, free: 3.777 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.597, allocations: 0.6792 MB / 0.6996 GB, free: 3.098 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.5984, allocations: 0.7804 MB / 0.7004 GB, free: 2.289 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.5999, allocations: 0.7225 MB / 0.7011 GB, free: 1.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5999, allocations: 0 / 0.7011 GB, free: 1.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01469/0.6146, allocations: 5.066 MB / 0.706 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.6149, allocations: 0.7983 MB / 0.7068 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6149, allocations: 0 / 0.7068 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/0.6217, allocations: 2.24 MB / 0.709 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.6222, allocations: 122.4 kB / 0.7091 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/0.6453, allocations: 10.76 MB / 0.7196 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.6466, allocations: 191.2 kB / 0.7198 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.6467, allocations: 32 kB / 0.7198 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.6467, allocations: 4 kB / 0.7198 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0141/0.6608, allocations: 4.908 MB / 0.7246 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6608, allocations: 7.5 kB / 0.7246 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006676/0.6675, allocations: 2.237 MB / 0.7268 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.6681, allocations: 111.8 kB / 0.7269 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/0.6911, allocations: 10.74 MB / 0.7374 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6925, allocations: 187.2 kB / 0.7376 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.6926, allocations: 28 kB / 0.7376 GB, free: 11.8 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0005515/0.6932, allocations: 317.7 kB / 0.7379 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.6934, allocations: 118.5 kB / 0.738 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.7073, allocations: 5.038 MB / 0.7429 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.7074, allocations: 8 kB / 0.7429 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.7074, allocations: 4 kB / 0.743 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.7074, allocations: 3.984 kB / 0.743 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.7232, allocations: 6.651 MB / 0.7494 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7232, allocations: 4 kB / 0.7495 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.7238, allocations: 95.83 kB / 0.7495 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006082/0.7299, allocations: 2.172 MB / 0.7517 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.73, allocations: 16 kB / 0.7517 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.7497, allocations: 9.309 MB / 0.7608 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7497, allocations: 6.047 kB / 0.7608 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.7654, allocations: 6.009 MB / 0.7666 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.7659, allocations: 215.4 kB / 0.7669 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.766, allocations: 16 kB / 0.7669 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7671, allocations: 143.9 kB / 0.767 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/0.7677, allocations: 192.6 kB / 0.7672 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7678, allocations: 24 kB / 0.7672 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009745/0.7688, allocations: 0.6391 MB / 0.7678 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.725e-06/0.7688, allocations: 0 / 0.7678 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001784/0.7706, allocations: 0.6904 MB / 0.7685 GB, free: 11.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.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 (56): * Single equations (assignments): 55 * 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.0003107/0.7709, allocations: 139.1 kB / 0.7686 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01085/0.7818, allocations: 4.345 MB / 0.7729 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.7818, allocations: 0 / 0.7729 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004578/0.7864, allocations: 1.759 MB / 0.7746 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.7872, allocations: 85.73 kB / 0.7747 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.7909, allocations: 2.501 MB / 0.7771 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.7916, allocations: 1.132 MB / 0.7782 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003875/0.792, allocations: 94 kB / 0.7783 GB, free: 1.66 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.7921, allocations: 55.42 kB / 0.7784 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.7921, allocations: 3.938 kB / 0.7784 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of Templates: time 0.2333/1.025, allocations: 28.23 MB / 0.806 GB, free: 156.5 MB / 0.573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)