Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 92.31 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.504 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.001213/0.001213, allocations: 168.5 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5034/0.5034, allocations: 91.92 MB / 434.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 8 kB / 0.5054 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3609, allocations: 72.46 MB / 0.5762 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.005372/0.3663, allocations: 7.114 MB / 0.5831 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.3704, allocations: 2.31 MB / 0.5854 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009956/0.3715, allocations: 21.06 kB / 0.5854 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.3722, allocations: 223 kB / 0.5856 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.3741, allocations: 0.6702 MB / 0.5863 GB, free: 29.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3756, allocations: 0.7629 MB / 0.587 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001745/0.3774, allocations: 1.702 MB / 0.5887 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005922/0.378, allocations: 468.4 kB / 0.5891 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008621/0.3789, allocations: 0.6155 MB / 0.5897 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.3796, allocations: 0.7655 MB / 0.5905 GB, free: 27.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.3797, allocations: 59.66 kB / 0.5905 GB, free: 27.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.3802, allocations: 196 kB / 0.5907 GB, free: 27.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.3805, allocations: 278.5 kB / 0.591 GB, free: 27.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.381, allocations: 0.7013 MB / 0.5917 GB, free: 26.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.3822, allocations: 1.424 MB / 0.5931 GB, free: 26.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3822, allocations: 1.438 kB / 0.5931 GB, free: 26.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3822, allocations: 0 / 0.5931 GB, free: 26.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.189e-05/0.3823, allocations: 0 / 0.5931 GB, free: 26.35 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.008512/0.3908, allocations: 2.668 MB / 0.5957 GB, free: 25.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.3909, allocations: 10.03 kB / 0.5957 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.3961, allocations: 0.8151 MB / 0.5965 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.3979, allocations: 0.9748 MB / 0.5974 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.3982, allocations: 250.8 kB / 0.5977 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.3984, allocations: 103.4 kB / 0.5978 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.4013, allocations: 1.517 MB / 0.5992 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.4013, allocations: 5.594 kB / 0.5992 GB, free: 23.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.4015, allocations: 40.84 kB / 0.5993 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.4015, allocations: 24.47 kB / 0.5993 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003058/0.4046, allocations: 1.42 MB / 0.6007 GB, free: 23.04 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.007198/0.4118, allocations: 4.416 MB / 0.605 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/0.4156, allocations: 2.057 MB / 0.607 GB, free: 19.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.4178, allocations: 0.9681 MB / 0.608 GB, free: 19.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.4179, allocations: 18.95 kB / 0.608 GB, free: 19 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4179, allocations: 57.25 kB / 0.608 GB, free: 18.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.697e-06/0.4179, allocations: 1.312 kB / 0.608 GB, free: 18.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03277/0.4507, allocations: 9.161 MB / 0.617 GB, free: 17.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.4508, allocations: 142.8 kB / 0.6171 GB, free: 17.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.4527, allocations: 1.134 MB / 0.6182 GB, free: 16.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.453, allocations: 45.58 kB / 0.6183 GB, free: 16.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.4533, allocations: 0.6131 MB / 0.6189 GB, free: 16.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.4537, allocations: 416.1 kB / 0.6193 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4539, allocations: 130.5 kB / 0.6194 GB, free: 15.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.454, allocations: 301.1 kB / 0.6197 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.4559, allocations: 0.9371 MB / 0.6206 GB, free: 15.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4578, allocations: 1.089 MB / 0.6217 GB, free: 14.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01894/0.4767, allocations: 5.696 MB / 0.6272 GB, free: 8.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4768, allocations: 0 / 0.6272 GB, free: 8.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0151/0.4919, allocations: 5.663 MB / 0.6327 GB, free: 3.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.273e-05/0.492, allocations: 210.1 kB / 0.633 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.492, allocations: 7.938 kB / 0.633 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.4986, allocations: 2.225 MB / 0.6351 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.4998, allocations: 251.6 kB / 0.6354 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/0.5242, allocations: 10.3 MB / 0.6454 GB, free: 5.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.5264, allocations: 258.7 kB / 0.6457 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.5266, allocations: 51.98 kB / 0.6457 GB, free: 5.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.5266, allocations: 4 kB / 0.6457 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01592/0.5425, allocations: 5.44 MB / 0.651 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5426, allocations: 4.219 kB / 0.651 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007078/0.5497, allocations: 2.233 MB / 0.6532 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5509, allocations: 235.6 kB / 0.6535 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/0.5748, allocations: 10.27 MB / 0.6635 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5768, allocations: 230.8 kB / 0.6637 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.5771, allocations: 51.98 kB / 0.6638 GB, free: 3.027 MB / 462.1 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.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: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,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 (141): * Single equations (assignments): 140 * 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.0009061/0.578, allocations: 389.7 kB / 0.6641 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.5784, allocations: 146.2 kB / 0.6643 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01605/0.5944, allocations: 5.286 MB / 0.6694 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.5945, allocations: 8 kB / 0.6694 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5945, allocations: 4 kB / 0.6694 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/0.5946, allocations: 3.984 kB / 0.6694 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01932/0.6139, allocations: 7.192 MB / 0.6765 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.6139, allocations: 0 / 0.6765 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/0.6148, allocations: 151.7 kB / 0.6766 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006755/0.6216, allocations: 2.164 MB / 0.6787 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002178/0.6218, allocations: 20 kB / 0.6787 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/0.6428, allocations: 8.847 MB / 0.6874 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.6429, allocations: 4 kB / 0.6874 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/0.6614, allocations: 6.51 MB / 0.6937 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005853/0.662, allocations: 231 kB / 0.694 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/0.6625, allocations: 27.94 kB / 0.694 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.664, allocations: 163.8 kB / 0.6941 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006384/0.6646, allocations: 204.6 kB / 0.6943 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.6647, allocations: 28 kB / 0.6944 GB, free: 3.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001183/0.6659, allocations: 0.7702 MB / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6659, allocations: 0 / 0.6951 GB, free: 2.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002638/0.6686, allocations: 0.8229 MB / 0.6959 GB, free: 1.738 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.transferFunction.x_scaled[1],tGTypeVI.derivative.x) * 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 (78): * Single equations (assignments): 77 * 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.0003034/0.6689, allocations: 131.2 kB / 0.696 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01347/0.6824, allocations: 5.096 MB / 0.701 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.6824, allocations: 0 / 0.701 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005448/0.6879, allocations: 1.892 MB / 0.7029 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.6895, allocations: 160.1 kB / 0.703 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.6945, allocations: 3.198 MB / 0.7061 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/0.6954, allocations: 1.225 MB / 0.7073 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.6958, allocations: 87.41 kB / 0.7074 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.6958, allocations: 0 / 0.7074 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Templates: time 0.03495/0.7308, allocations: 25.63 MB / 0.7325 GB, free: 12.21 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)