Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_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_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.00102/0.00102, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.389/1.389, allocations: 223.3 MB / 239 MB, free: 5.453 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.001062/0.001062, allocations: 176.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4368/0.4368, allocations: 78.55 MB / 419.9 MB, free: 4.246 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 12 kB / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 69.37 MB / 0.5558 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.2433/0.3685, allocations: 6.631 MB / 0.5623 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003984/0.3726, allocations: 2.212 MB / 0.5644 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008534/0.3735, allocations: 19.38 kB / 0.5645 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006756/0.3741, allocations: 206.7 kB / 0.5647 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.3758, allocations: 0.6241 MB / 0.5653 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.3772, allocations: 0.6699 MB / 0.5659 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.3788, allocations: 1.603 MB / 0.5675 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005672/0.3794, allocations: 397.4 kB / 0.5679 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.3802, allocations: 0.5915 MB / 0.5685 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.3809, allocations: 0.753 MB / 0.5692 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.381, allocations: 61 kB / 0.5692 GB, free: 35.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.3815, allocations: 187.5 kB / 0.5694 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.3817, allocations: 271.5 kB / 0.5697 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3819, allocations: 268.6 kB / 0.5699 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.383, allocations: 1.425 MB / 0.5713 GB, free: 35.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.383, allocations: 0 / 0.5713 GB, free: 35.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.383, allocations: 2.781 kB / 0.5713 GB, free: 35.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.383, allocations: 0.9688 kB / 0.5713 GB, free: 35.08 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.007122/0.3901, allocations: 2.683 MB / 0.574 GB, free: 34.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3902, allocations: 8.781 kB / 0.574 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/0.395, allocations: 0.8187 MB / 0.5748 GB, free: 33.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.3965, allocations: 0.9181 MB / 0.5757 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3967, allocations: 248.1 kB / 0.5759 GB, free: 33.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3969, allocations: 104.2 kB / 0.576 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.3993, allocations: 1.511 MB / 0.5775 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3993, allocations: 0 / 0.5775 GB, free: 32.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3994, allocations: 50.25 kB / 0.5775 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3995, allocations: 25.47 kB / 0.5775 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4019, allocations: 1.413 MB / 0.5789 GB, free: 32.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.005769/0.4077, allocations: 4.426 MB / 0.5832 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.4108, allocations: 2.056 MB / 0.5853 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.4126, allocations: 0.9631 MB / 0.5862 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.4127, allocations: 22.05 kB / 0.5862 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4127, allocations: 43.66 kB / 0.5863 GB, free: 27.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.4128, allocations: 1.812 kB / 0.5863 GB, free: 27.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02764/0.4404, allocations: 9.11 MB / 0.5952 GB, free: 26.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.4405, allocations: 146.2 kB / 0.5953 GB, free: 26.21 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.4422, allocations: 1.115 MB / 0.5964 GB, free: 25.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.4425, allocations: 46.58 kB / 0.5964 GB, free: 25.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.443, allocations: 0.612 MB / 0.597 GB, free: 25.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.4433, allocations: 416.1 kB / 0.5974 GB, free: 24.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.224e-05/0.4434, allocations: 26.31 kB / 0.5974 GB, free: 24.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.4435, allocations: 363.6 kB / 0.5978 GB, free: 24.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4454, allocations: 0.935 MB / 0.5987 GB, free: 24.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.4473, allocations: 1.078 MB / 0.5998 GB, free: 23.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.4492, allocations: 0.9476 MB / 0.6007 GB, free: 23.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4492, allocations: 2.312 kB / 0.6007 GB, free: 23.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.0153/0.4645, allocations: 5.646 MB / 0.6062 GB, free: 22.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.4647, allocations: 210.7 kB / 0.6064 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4647, allocations: 4.734 kB / 0.6064 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006755/0.4714, allocations: 2.234 MB / 0.6086 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.4727, allocations: 243.8 kB / 0.6088 GB, free: 21.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.4929, allocations: 10.29 MB / 0.6189 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.4947, allocations: 254.7 kB / 0.6191 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4948, allocations: 53.67 kB / 0.6192 GB, free: 12.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4948, allocations: 4.625 kB / 0.6192 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01287/0.5077, allocations: 5.429 MB / 0.6245 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.5078, allocations: 4.797 kB / 0.6245 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.5135, allocations: 2.232 MB / 0.6266 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.5146, allocations: 231.6 kB / 0.6269 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02095/0.5356, allocations: 10.26 MB / 0.6369 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.5374, allocations: 234.8 kB / 0.6371 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/0.5375, allocations: 51.98 kB / 0.6372 GB, free: 10.28 MB / 446.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.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.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.integrator.y:VARIABLE(flow=false start = tGTypeVI.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: 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 (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.0007541/0.5383, allocations: 389.6 kB / 0.6375 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/0.5386, allocations: 146.2 kB / 0.6377 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.5526, allocations: 5.268 MB / 0.6428 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.5527, allocations: 15.95 kB / 0.6428 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5527, allocations: 0 / 0.6428 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/0.5527, allocations: 7.969 kB / 0.6428 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.5696, allocations: 7.189 MB / 0.6499 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.5697, allocations: 0 / 0.6499 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.5705, allocations: 147.8 kB / 0.65 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.5768, allocations: 2.156 MB / 0.6521 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.577, allocations: 24.92 kB / 0.6521 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01874/0.5958, allocations: 8.826 MB / 0.6608 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5958, allocations: 0 / 0.6608 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.6121, allocations: 6.498 MB / 0.6671 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.6127, allocations: 237.3 kB / 0.6673 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.6129, allocations: 20 kB / 0.6673 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6141, allocations: 172.9 kB / 0.6675 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/0.6147, allocations: 212.6 kB / 0.6677 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/0.6148, allocations: 24 kB / 0.6677 GB, free: 10.65 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.6159, allocations: 0.7546 MB / 0.6685 GB, free: 9.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6159, allocations: 6 kB / 0.6685 GB, free: 9.887 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002467/0.6184, allocations: 0.819 MB / 0.6693 GB, free: 9.066 MB / 478.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 (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.0002744/0.6187, allocations: 128.7 kB / 0.6694 GB, free: 8.934 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01216/0.6309, allocations: 5.08 MB / 0.6744 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.6309, allocations: 4 kB / 0.6744 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.6357, allocations: 1.893 MB / 0.6762 GB, free: 1.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.637, allocations: 158.3 kB / 0.6764 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004655/0.6417, allocations: 2.992 MB / 0.6793 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/0.6425, allocations: 1.221 MB / 0.6805 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000695/0.6432, allocations: 173.9 kB / 0.6806 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.6435, allocations: 83.41 kB / 0.6807 GB, free: 13.29 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6435, allocations: 0.75 kB / 0.6807 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Templates: time 0.04663/0.6901, allocations: 31.26 MB / 0.7112 GB, free: 14.17 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1) Environment - environmentSimulation: