Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 238.8 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 196.4 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5445/0.5445, allocations: 91.89 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.88 kB / 0.5012 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4432, allocations: 71.27 MB / 0.5708 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005578/0.4488, allocations: 6.675 MB / 0.5773 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.4522, allocations: 2 MB / 0.5793 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.4529, allocations: 15.34 kB / 0.5793 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.4536, allocations: 177.1 kB / 0.5795 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.455, allocations: 0.6492 MB / 0.5801 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.4562, allocations: 0.6187 MB / 0.5807 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.4573, allocations: 1.383 MB / 0.582 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.4577, allocations: 291.2 kB / 0.5823 GB, free: 30.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006611/0.4584, allocations: 0.5537 MB / 0.5829 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.459, allocations: 0.6955 MB / 0.5835 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.4591, allocations: 67.78 kB / 0.5836 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004275/0.4595, allocations: 196.8 kB / 0.5838 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4597, allocations: 253.3 kB / 0.584 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.4601, allocations: 0.5738 MB / 0.5846 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4612, allocations: 1.484 MB / 0.586 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4612, allocations: 0 / 0.586 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4612, allocations: 0 / 0.586 GB, free: 28.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.4613, allocations: 0 / 0.586 GB, free: 28.25 MB / 430.1 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.007937/0.4692, allocations: 2.557 MB / 0.5885 GB, free: 27.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4693, allocations: 9.562 kB / 0.5886 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.4742, allocations: 0.7727 MB / 0.5893 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.4756, allocations: 0.814 MB / 0.5901 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.4758, allocations: 219.8 kB / 0.5903 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.476, allocations: 78.78 kB / 0.5904 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.4782, allocations: 1.131 MB / 0.5915 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4783, allocations: 3.938 kB / 0.5915 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.4784, allocations: 31.06 kB / 0.5915 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4784, allocations: 18.41 kB / 0.5915 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.4806, allocations: 1.084 MB / 0.5926 GB, free: 25.34 MB / 430.1 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.005619/0.4863, allocations: 3.143 MB / 0.5957 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.4892, allocations: 1.602 MB / 0.5972 GB, free: 22.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4907, allocations: 0.764 MB / 0.598 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.4908, allocations: 12.33 kB / 0.598 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4908, allocations: 44.66 kB / 0.598 GB, free: 22.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.635e-06/0.4908, allocations: 4 kB / 0.598 GB, free: 22.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02841/0.5192, allocations: 7.071 MB / 0.6049 GB, free: 20.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5193, allocations: 87.5 kB / 0.605 GB, free: 20.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.521, allocations: 0.948 MB / 0.606 GB, free: 20.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/0.5213, allocations: 41.39 kB / 0.606 GB, free: 20.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.5216, allocations: 489.2 kB / 0.6065 GB, free: 20.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.5219, allocations: 333.9 kB / 0.6068 GB, free: 19.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004297/0.5224, allocations: 209.7 kB / 0.607 GB, free: 19.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.5225, allocations: 350.7 kB / 0.6073 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.524, allocations: 0.7122 MB / 0.608 GB, free: 19.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.5257, allocations: 0.8318 MB / 0.6088 GB, free: 18.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.5442, allocations: 4.718 MB / 0.6134 GB, free: 17.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.5443, allocations: 9.25 kB / 0.6134 GB, free: 17.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01334/0.5576, allocations: 4.417 MB / 0.6178 GB, free: 14.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.5577, allocations: 7.938 kB / 0.6178 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5577, allocations: 4 kB / 0.6178 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005644/0.5634, allocations: 1.889 MB / 0.6196 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.5643, allocations: 187.7 kB / 0.6198 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.5834, allocations: 9.161 MB / 0.6287 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5852, allocations: 174.8 kB / 0.6289 GB, free: 2.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5853, allocations: 39.98 kB / 0.6289 GB, free: 2.863 MB / 430.1 MB 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001649/0.587, allocations: 0.8783 MB / 0.6298 GB, free: 1.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001281/0.5883, allocations: 0.8228 MB / 0.6306 GB, free: 1.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01775/0.606, allocations: 4.696 MB / 0.6352 GB, free: 12.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/0.6061, allocations: 3.938 kB / 0.6352 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01395/0.62, allocations: 4.39 MB / 0.6395 GB, free: 7.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6201, allocations: 4 kB / 0.6395 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6201, allocations: 4 kB / 0.6395 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006356/0.6265, allocations: 1.893 MB / 0.6413 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009497/0.6275, allocations: 175.7 kB / 0.6415 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.6491, allocations: 9.155 MB / 0.6504 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6509, allocations: 163 kB / 0.6506 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.6511, allocations: 47.92 kB / 0.6506 GB, free: 12.41 MB / 462.1 MB 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 (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003629/0.6514, allocations: 228.1 kB / 0.6509 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.6517, allocations: 114.6 kB / 0.651 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.6649, allocations: 4.073 MB / 0.6549 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6649, allocations: 11.94 kB / 0.655 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.6649, allocations: 3.938 kB / 0.655 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.362e-05/0.665, allocations: 3.984 kB / 0.655 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.6807, allocations: 5.731 MB / 0.6606 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/0.6808, allocations: 0 / 0.6606 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.6814, allocations: 91.84 kB / 0.6607 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006208/0.6877, allocations: 1.823 MB / 0.6624 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001991/0.6879, allocations: 20 kB / 0.6624 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/0.7067, allocations: 7.863 MB / 0.6701 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.7067, allocations: 7.875 kB / 0.6701 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/0.7224, allocations: 5.005 MB / 0.675 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.7229, allocations: 211.4 kB / 0.6752 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7232, allocations: 20 kB / 0.6752 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7242, allocations: 103.9 kB / 0.6753 GB, free: 2.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006572/0.7249, allocations: 192.6 kB / 0.6755 GB, free: 2.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.725, allocations: 27.94 kB / 0.6756 GB, free: 2.555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009534/0.726, allocations: 0.6469 MB / 0.6762 GB, free: 1.898 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.726, allocations: 4 kB / 0.6762 GB, free: 1.895 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002064/0.728, allocations: 0.7101 MB / 0.6769 GB, free: 1.184 MB / 478.1 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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.7284, allocations: 135.1 kB / 0.677 GB, free: 1.043 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01195/0.7403, allocations: 4.174 MB / 0.6811 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.7404, allocations: 0 / 0.6811 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004883/0.7452, allocations: 1.552 MB / 0.6826 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7463, allocations: 98.27 kB / 0.6827 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.7508, allocations: 2.507 MB / 0.6851 GB, free: 8.645 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.7515, allocations: 1.113 MB / 0.6862 GB, free: 7.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005515/0.7521, allocations: 115.1 kB / 0.6863 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.7523, allocations: 59.42 kB / 0.6864 GB, free: 7.324 MB / 494.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7523, allocations: 0 / 0.6864 GB, free: 7.324 MB / 494.1 MB Notification: Performance of Templates: time 0.04523/0.7975, allocations: 30.31 MB / 0.716 GB, free: 9.016 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)