Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 175.1 kB / 16.07 MB, free: 5.73 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.284/1.284, allocations: 222.8 MB / 239.7 MB, free: 10.21 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.0007711/0.0007711, allocations: 107.8 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4352/0.4352, allocations: 78.43 MB / 419.6 MB, free: 9.758 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005641, allocations: 12.22 kB / 499.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3482, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.006224/0.3545, allocations: 7.577 MB / 0.5619 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003814/0.3583, allocations: 2.32 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.3595, allocations: 27.88 kB / 0.5642 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.3604, allocations: 210.6 kB / 0.5644 GB, free: 10.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.3624, allocations: 0.6859 MB / 0.5651 GB, free: 9.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.3639, allocations: 0.766 MB / 0.5658 GB, free: 8.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.3655, allocations: 1.702 MB / 0.5675 GB, free: 6.887 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.366, allocations: 478.7 kB / 0.5679 GB, free: 6.391 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.3666, allocations: 0.6024 MB / 0.5685 GB, free: 5.785 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006054/0.3672, allocations: 0.7656 MB / 0.5693 GB, free: 5.016 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.3674, allocations: 63.98 kB / 0.5693 GB, free: 4.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.3678, allocations: 195.9 kB / 0.5695 GB, free: 4.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.368, allocations: 282.5 kB / 0.5698 GB, free: 4.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.3684, allocations: 0.6673 MB / 0.5704 GB, free: 3.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.3693, allocations: 1.426 MB / 0.5718 GB, free: 2.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3694, allocations: 0 / 0.5718 GB, free: 2.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3694, allocations: 4 kB / 0.5718 GB, free: 2.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.3694, allocations: 0 / 0.5718 GB, free: 2.379 MB / 378.7 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.007142/0.3765, allocations: 2.592 MB / 0.5744 GB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3766, allocations: 8.031 kB / 0.5744 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.3815, allocations: 0.8136 MB / 0.5752 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.3832, allocations: 0.9691 MB / 0.5761 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.3835, allocations: 234.5 kB / 0.5763 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.3837, allocations: 104 kB / 0.5764 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.3863, allocations: 1.433 MB / 0.5778 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3863, allocations: 3.938 kB / 0.5778 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3864, allocations: 44 kB / 0.5779 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.3865, allocations: 31.94 kB / 0.5779 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.3892, allocations: 1.312 MB / 0.5792 GB, free: 10.64 MB / 394.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.006543/0.3957, allocations: 4.355 MB / 0.5835 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.3991, allocations: 1.896 MB / 0.5853 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.4009, allocations: 0.8817 MB / 0.5862 GB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.401, allocations: 17.62 kB / 0.5862 GB, free: 3.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4011, allocations: 47.5 kB / 0.5862 GB, free: 3.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 3.126e-06/0.4011, allocations: 4 kB / 0.5862 GB, free: 3.148 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.02807/0.4292, allocations: 7.426 MB / 0.5935 GB, free: 11.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.4293, allocations: 137.5 kB / 0.5936 GB, free: 11.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4309, allocations: 1.133 MB / 0.5947 GB, free: 10.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.4311, allocations: 49.7 kB / 0.5948 GB, free: 10.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.4315, allocations: 0.6067 MB / 0.5954 GB, free: 9.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004551/0.432, allocations: 422 kB / 0.5958 GB, free: 9.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.4322, allocations: 129.6 kB / 0.5959 GB, free: 9.164 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.4323, allocations: 301.1 kB / 0.5962 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/0.4341, allocations: 0.8558 MB / 0.597 GB, free: 8.008 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.436, allocations: 1.006 MB / 0.598 GB, free: 6.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01926/0.4553, allocations: 5.168 MB / 0.603 GB, free: 1.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.4553, allocations: 0 / 0.603 GB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0147/0.47, allocations: 4.686 MB / 0.6076 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002022/0.4703, allocations: 210.1 kB / 0.6078 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.4703, allocations: 7.984 kB / 0.6078 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/0.4769, allocations: 1.893 MB / 0.6097 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.4781, allocations: 235.7 kB / 0.6099 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/0.5003, allocations: 9.211 MB / 0.6189 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.5022, allocations: 210.7 kB / 0.6191 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/0.5024, allocations: 47.98 kB / 0.6191 GB, free: 1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.5025, allocations: 4 kB / 0.6191 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.5168, allocations: 4.483 MB / 0.6235 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.5169, allocations: 4 kB / 0.6235 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006464/0.5233, allocations: 1.897 MB / 0.6254 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.5245, allocations: 231.6 kB / 0.6256 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02144/0.5459, allocations: 9.165 MB / 0.6346 GB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.5477, allocations: 190.8 kB / 0.6347 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.5479, allocations: 47.98 kB / 0.6348 GB, free: 0.8242 MB / 442.7 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.0009157/0.5489, allocations: 396.1 kB / 0.6352 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/0.5493, allocations: 146.2 kB / 0.6353 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.563, allocations: 4.298 MB / 0.6395 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/0.5631, allocations: 12 kB / 0.6395 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5631, allocations: 0 / 0.6395 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/0.5631, allocations: 7.969 kB / 0.6395 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.5806, allocations: 6.227 MB / 0.6456 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.5806, allocations: 0 / 0.6456 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.5815, allocations: 135.8 kB / 0.6457 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006074/0.5876, allocations: 1.832 MB / 0.6475 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/0.5878, allocations: 23.98 kB / 0.6475 GB, free: 3.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/0.6066, allocations: 7.872 MB / 0.6552 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6067, allocations: 0 / 0.6552 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.623, allocations: 5.451 MB / 0.6605 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.6236, allocations: 235 kB / 0.6608 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/0.624, allocations: 23.94 kB / 0.6608 GB, free: 5.836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.6254, allocations: 127.8 kB / 0.6609 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007252/0.6262, allocations: 204.6 kB / 0.6611 GB, free: 5.512 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.6263, allocations: 28 kB / 0.6611 GB, free: 5.484 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001329/0.6277, allocations: 0.7624 MB / 0.6619 GB, free: 4.719 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6277, allocations: 0 / 0.6619 GB, free: 4.719 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0027/0.6304, allocations: 0.819 MB / 0.6627 GB, free: 3.898 MB / 474.7 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.0003278/0.6307, allocations: 137 kB / 0.6628 GB, free: 3.758 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/0.6431, allocations: 4.542 MB / 0.6672 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/0.6431, allocations: 0 / 0.6672 GB, free: 15.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00494/0.6481, allocations: 1.653 MB / 0.6689 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6497, allocations: 162 kB / 0.669 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.6552, allocations: 3.115 MB / 0.6721 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/0.6562, allocations: 1.225 MB / 0.6733 GB, free: 8.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.6567, allocations: 87.41 kB / 0.6733 GB, free: 8.867 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.6567, allocations: 7.938 kB / 0.6733 GB, free: 8.859 MB / 490.7 MB Notification: Performance of Templates: time 0.2467/0.9034, allocations: 25.61 MB / 0.6984 GB, free: 109.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)