Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001551/0.001551, allocations: 175 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.266/1.266, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.000821/0.000821, allocations: 89.33 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4742/0.4742, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.374e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3882, allocations: 69.34 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.5073, allocations: 98.52 MB / 0.6442 GB, free: 1.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5076, allocations: 91.89 kB / 0.6443 GB, free: 1.816 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06683/0.5744, allocations: 25.89 MB / 0.6695 GB, free: 7.734 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5745, allocations: 3.938 kB / 0.6695 GB, free: 7.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.739e-05/0.5745, allocations: 20 kB / 0.6696 GB, free: 7.711 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.004605/0.5791, allocations: 1.711 MB / 0.6712 GB, free: 5.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.5792, allocations: 11.97 kB / 0.6713 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003235/0.5825, allocations: 0.5564 MB / 0.6718 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.584, allocations: 0.7553 MB / 0.6725 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.5842, allocations: 230.7 kB / 0.6728 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.5843, allocations: 76 kB / 0.6728 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.586, allocations: 0.9501 MB / 0.6738 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.586, allocations: 0 / 0.6738 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.5861, allocations: 36 kB / 0.6738 GB, free: 3.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5861, allocations: 16 kB / 0.6738 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.5876, allocations: 0.8827 MB / 0.6747 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2907/0.8783, allocations: 3.147 MB / 0.6777 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.8809, allocations: 1.47 MB / 0.6792 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009897/0.8819, allocations: 0.5987 MB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.8821, allocations: 15.72 kB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.8821, allocations: 47.38 kB / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.247e-06/0.8821, allocations: 0 / 0.6798 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.01422/0.8964, allocations: 4.233 MB / 0.684 GB, free: 103.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.8964, allocations: 90.08 kB / 0.684 GB, free: 103.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.8977, allocations: 0.7701 MB / 0.6848 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.8979, allocations: 45 kB / 0.6848 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.8981, allocations: 0.4928 MB / 0.6853 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.8984, allocations: 330.7 kB / 0.6856 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.8985, allocations: 21.84 kB / 0.6857 GB, free: 102.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.75e-05/0.8985, allocations: 337.7 kB / 0.686 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/0.8992, allocations: 454.4 kB / 0.6864 GB, free: 102.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.9, allocations: 0.5486 MB / 0.6869 GB, free: 102.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007135/0.9007, allocations: 496.1 kB / 0.6874 GB, free: 102.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9007, allocations: 0 / 0.6874 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01169/0.9124, allocations: 4.385 MB / 0.6917 GB, free: 101.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.9126, allocations: 0.7982 MB / 0.6925 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9126, allocations: 0 / 0.6925 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005243/0.9178, allocations: 1.807 MB / 0.6942 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/0.9185, allocations: 126.8 kB / 0.6944 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.9327, allocations: 7.713 MB / 0.7019 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.9342, allocations: 199.8 kB / 0.7021 GB, free: 96.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.9343, allocations: 32.45 kB / 0.7021 GB, free: 96.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.9344, allocations: 2.094 kB / 0.7021 GB, free: 96.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/0.9462, allocations: 4.254 MB / 0.7063 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.9463, allocations: 3.609 kB / 0.7063 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005219/0.9515, allocations: 1.804 MB / 0.708 GB, free: 94.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006572/0.9522, allocations: 114.2 kB / 0.7081 GB, free: 94.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.967, allocations: 7.694 MB / 0.7157 GB, free: 87.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.9685, allocations: 190.9 kB / 0.7158 GB, free: 87.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.9687, allocations: 28 kB / 0.7159 GB, free: 87.29 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(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 () * 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.0003186/0.969, allocations: 154.9 kB / 0.716 GB, free: 87.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.9694, allocations: 118.5 kB / 0.7161 GB, free: 87.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/0.9813, allocations: 4.349 MB / 0.7204 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.9814, allocations: 11.94 kB / 0.7204 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.9814, allocations: 0 / 0.7204 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.9815, allocations: 7.797 kB / 0.7204 GB, free: 83.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.9956, allocations: 5.977 MB / 0.7262 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.9957, allocations: 0 / 0.7262 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/0.9963, allocations: 90.91 kB / 0.7263 GB, free: 78.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/1.001, allocations: 1.74 MB / 0.728 GB, free: 77.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/1.002, allocations: 19.98 kB / 0.728 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.014, allocations: 6.697 MB / 0.7346 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.014, allocations: 0 / 0.7346 GB, free: 70.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.027, allocations: 5.095 MB / 0.7396 GB, free: 65.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.027, allocations: 215.4 kB / 0.7398 GB, free: 65.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.028, allocations: 16 kB / 0.7398 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.029, allocations: 143.9 kB / 0.7399 GB, free: 64.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/1.03, allocations: 196.4 kB / 0.7401 GB, free: 64.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/1.03, allocations: 24 kB / 0.7401 GB, free: 64.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007799/1.03, allocations: 0.6048 MB / 0.7407 GB, free: 64.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.03, allocations: 0 / 0.7407 GB, free: 64.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002003/1.032, allocations: 0.6807 MB / 0.7414 GB, free: 63.44 MB / 490.7 MB 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 () * 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.0003122/1.033, allocations: 151.2 kB / 0.7415 GB, free: 63.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009146/1.042, allocations: 3.647 MB / 0.7451 GB, free: 59.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.042, allocations: 8.188 kB / 0.7451 GB, free: 59.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/1.046, allocations: 1.511 MB / 0.7466 GB, free: 58.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/1.047, allocations: 84.3 kB / 0.7466 GB, free: 58.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/1.051, allocations: 1.597 MB / 0.7482 GB, free: 56.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/1.051, allocations: 1.13 MB / 0.7493 GB, free: 55.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007205/1.052, allocations: 161 kB / 0.7495 GB, free: 55.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/1.052, allocations: 47.44 kB / 0.7495 GB, free: 55.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/1.052, allocations: 0 / 0.7495 GB, free: 55.04 MB / 490.7 MB Notification: Performance of Templates: time 0.04066/1.093, allocations: 30.03 MB / 0.7788 GB, free: 25.32 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)