Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007893/0.007893, allocations: 168.3 kB / 15.13 MB, free: 6.023 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.465/1.465, allocations: 223.3 MB / 239.1 MB, free: 1.695 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.0007501/0.0007501, allocations: 100.1 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4237/0.4237, allocations: 78.61 MB / 420 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 11.98 kB / 499.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 69.35 MB / 0.5559 GB, free: 38.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.008032/0.3298, allocations: 6.341 MB / 0.5621 GB, free: 37.28 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.3349, allocations: 2.05 MB / 0.5641 GB, free: 35.82 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009807/0.3359, allocations: 19.22 kB / 0.5641 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.3365, allocations: 171.3 kB / 0.5643 GB, free: 35.73 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.3387, allocations: 0.6148 MB / 0.5649 GB, free: 35.32 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.3407, allocations: 0.6195 MB / 0.5655 GB, free: 35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00206/0.3427, allocations: 1.45 MB / 0.5669 GB, free: 34.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006897/0.3435, allocations: 350.4 kB / 0.5672 GB, free: 34.09 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008921/0.3444, allocations: 0.5367 MB / 0.5678 GB, free: 33.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/0.3452, allocations: 0.6769 MB / 0.5684 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001845/0.3454, allocations: 57.81 kB / 0.5685 GB, free: 33.53 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.346, allocations: 189.4 kB / 0.5687 GB, free: 33.49 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3463, allocations: 239.6 kB / 0.5689 GB, free: 33.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3465, allocations: 247.2 kB / 0.5691 GB, free: 33.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.3479, allocations: 1.314 MB / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3479, allocations: 3.188 kB / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3479, allocations: 0 / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.186e-05/0.348, allocations: 6.594 kB / 0.5704 GB, free: 32.79 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.01083/0.3588, allocations: 2.513 MB / 0.5729 GB, free: 31.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3589, allocations: 12.75 kB / 0.5729 GB, free: 31.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006542/0.3654, allocations: 0.806 MB / 0.5737 GB, free: 31.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.3672, allocations: 0.8344 MB / 0.5745 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002583/0.3675, allocations: 242.4 kB / 0.5747 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.3678, allocations: 99.91 kB / 0.5748 GB, free: 30.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.3714, allocations: 1.407 MB / 0.5762 GB, free: 30.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.3715, allocations: 1.125 kB / 0.5762 GB, free: 30.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.3717, allocations: 36.5 kB / 0.5762 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.3717, allocations: 27.39 kB / 0.5762 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.3756, allocations: 1.283 MB / 0.5775 GB, free: 29.71 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008362/0.3839, allocations: 4.316 MB / 0.5817 GB, free: 27.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/0.3885, allocations: 1.846 MB / 0.5835 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.3908, allocations: 0.8987 MB / 0.5844 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.3909, allocations: 15.67 kB / 0.5844 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.391, allocations: 46.47 kB / 0.5844 GB, free: 25.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.948e-06/0.391, allocations: 2.969 kB / 0.5845 GB, free: 25.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=107): time 0.04511/0.4361, allocations: 9.016 MB / 0.5933 GB, free: 24.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4362, allocations: 114.7 kB / 0.5934 GB, free: 23.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.438, allocations: 1.007 MB / 0.5943 GB, free: 23.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.4383, allocations: 45.83 kB / 0.5944 GB, free: 23.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/0.4387, allocations: 0.556 MB / 0.5949 GB, free: 23.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.4391, allocations: 386.5 kB / 0.5953 GB, free: 22.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.4393, allocations: 25.19 kB / 0.5953 GB, free: 22.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.699e-05/0.4394, allocations: 357.7 kB / 0.5957 GB, free: 22.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/0.4419, allocations: 0.8147 MB / 0.5965 GB, free: 22.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.4447, allocations: 1.017 MB / 0.5975 GB, free: 21.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.4473, allocations: 0.8939 MB / 0.5983 GB, free: 21.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.4473, allocations: 1.312 kB / 0.5983 GB, free: 21.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.02448/0.4718, allocations: 5.493 MB / 0.6037 GB, free: 20.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.472, allocations: 209 kB / 0.6039 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.472, allocations: 3.75 kB / 0.6039 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/0.4833, allocations: 2.229 MB / 0.6061 GB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.4851, allocations: 220.9 kB / 0.6063 GB, free: 19.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03508/0.5202, allocations: 10.26 MB / 0.6163 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.5227, allocations: 226.7 kB / 0.6165 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002751/0.523, allocations: 47.98 kB / 0.6166 GB, free: 11.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.523, allocations: 6.031 kB / 0.6166 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02264/0.5457, allocations: 5.296 MB / 0.6218 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.5458, allocations: 4 kB / 0.6218 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.5559, allocations: 2.234 MB / 0.6239 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5574, allocations: 203.7 kB / 0.6241 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03596/0.5934, allocations: 10.23 MB / 0.6341 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.5958, allocations: 210.8 kB / 0.6343 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/0.5961, allocations: 47.98 kB / 0.6344 GB, free: 9.246 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.001083/0.5972, allocations: 360.9 kB / 0.6347 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.5977, allocations: 130.4 kB / 0.6348 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/0.6205, allocations: 5.176 MB / 0.6399 GB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.6206, allocations: 8 kB / 0.6399 GB, free: 3.555 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6206, allocations: 4 kB / 0.6399 GB, free: 3.551 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/0.6206, allocations: 7.984 kB / 0.6399 GB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02624/0.6469, allocations: 6.94 MB / 0.6467 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.01e-05/0.6469, allocations: 4 kB / 0.6467 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.648, allocations: 115.9 kB / 0.6468 GB, free: 12.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009999/0.658, allocations: 2.16 MB / 0.6489 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.6583, allocations: 24 kB / 0.6489 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/0.6786, allocations: 8.825 MB / 0.6576 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6786, allocations: 3.938 kB / 0.6576 GB, free: 1.188 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0173/0.6959, allocations: 6.212 MB / 0.6636 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.6965, allocations: 227.1 kB / 0.6638 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.6969, allocations: 20 kB / 0.6639 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.6982, allocations: 147.9 kB / 0.664 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006081/0.6989, allocations: 200.6 kB / 0.6642 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/0.699, allocations: 27.98 kB / 0.6642 GB, free: 10.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000937/0.6999, allocations: 0.666 MB / 0.6649 GB, free: 9.652 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6999, allocations: 0 / 0.6649 GB, free: 9.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002472/0.7024, allocations: 0.7762 MB / 0.6656 GB, free: 8.875 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * 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 (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.7027, allocations: 140.1 kB / 0.6658 GB, free: 8.727 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0125/0.7152, allocations: 4.866 MB / 0.6705 GB, free: 3.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7152, allocations: 0 / 0.6705 GB, free: 3.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005006/0.7202, allocations: 1.841 MB / 0.6723 GB, free: 1.984 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.7216, allocations: 123.5 kB / 0.6724 GB, free: 1.867 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.726, allocations: 2.713 MB / 0.6751 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.7267, allocations: 1.173 MB / 0.6762 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005732/0.7273, allocations: 120.1 kB / 0.6763 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.7275, allocations: 75.42 kB / 0.6764 GB, free: 13.73 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.7275, allocations: 0 / 0.6764 GB, free: 13.73 MB / 490.7 MB Notification: Performance of Templates: time 0.0437/0.7713, allocations: 30.03 MB / 0.7057 GB, free: 15.68 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)