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.001197/0.001203, allocations: 171 kB / 16.1 MB, free: 5.66 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.389/1.389, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.000919/0.000919, allocations: 101.3 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4262/0.4262, allocations: 78.62 MB / 421 MB, free: 9.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 19.94 kB / 0.4894 GB, free: 9.289 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.005148/0.2921, allocations: 7.079 MB / 0.5641 GB, free: 11.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.296, allocations: 2.309 MB / 0.5663 GB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.2971, allocations: 19.94 kB / 0.5663 GB, free: 9.359 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.298, allocations: 222.5 kB / 0.5665 GB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.3, allocations: 0.6683 MB / 0.5672 GB, free: 8.469 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3014, allocations: 0.7622 MB / 0.5679 GB, free: 7.715 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.3027, allocations: 1.706 MB / 0.5696 GB, free: 6.004 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.3032, allocations: 462.8 kB / 0.57 GB, free: 5.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.3037, allocations: 0.6102 MB / 0.5706 GB, free: 4.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.3043, allocations: 0.7656 MB / 0.5714 GB, free: 4.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3044, allocations: 64 kB / 0.5715 GB, free: 4.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.3048, allocations: 195.8 kB / 0.5716 GB, free: 3.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.305, allocations: 278.5 kB / 0.5719 GB, free: 3.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.3053, allocations: 0.7002 MB / 0.5726 GB, free: 2.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.3062, allocations: 1.426 MB / 0.574 GB, free: 1.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3062, allocations: 3.938 kB / 0.574 GB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3062, allocations: 0 / 0.574 GB, free: 1.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.3062, allocations: 0 / 0.574 GB, free: 1.469 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.00711/0.3133, allocations: 2.662 MB / 0.5766 GB, free: 14.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3134, allocations: 12.03 kB / 0.5766 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.3181, allocations: 0.8136 MB / 0.5774 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.3196, allocations: 0.9769 MB / 0.5783 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.3198, allocations: 246.5 kB / 0.5786 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.32, allocations: 100 kB / 0.5787 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.3227, allocations: 1.527 MB / 0.5802 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.3227, allocations: 3.938 kB / 0.5802 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3228, allocations: 44 kB / 0.5802 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.3229, allocations: 24 kB / 0.5802 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00276/0.3256, allocations: 1.421 MB / 0.5816 GB, free: 9.441 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.006455/0.3321, allocations: 4.425 MB / 0.5859 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.3356, allocations: 2.057 MB / 0.588 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.3374, allocations: 0.9715 MB / 0.5889 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.3375, allocations: 24.97 kB / 0.5889 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3375, allocations: 43.56 kB / 0.589 GB, free: 1.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=115): time 3.106e-06/0.3376, allocations: 7.875 kB / 0.589 GB, free: 1.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.02833/0.3659, allocations: 9.164 MB / 0.5979 GB, free: 8.422 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.366, allocations: 145.5 kB / 0.5981 GB, free: 8.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.3676, allocations: 1.137 MB / 0.5992 GB, free: 7.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.3677, allocations: 45.7 kB / 0.5992 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.3682, allocations: 0.6068 MB / 0.5998 GB, free: 6.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.3686, allocations: 414 kB / 0.6002 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3688, allocations: 125.6 kB / 0.6003 GB, free: 5.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3689, allocations: 305.1 kB / 0.6006 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.3707, allocations: 0.9378 MB / 0.6015 GB, free: 4.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/0.3725, allocations: 1.094 MB / 0.6026 GB, free: 3.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01856/0.3911, allocations: 5.684 MB / 0.6081 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3912, allocations: 3.938 kB / 0.6082 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01501/0.4062, allocations: 5.663 MB / 0.6137 GB, free: 8.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.4064, allocations: 220.1 kB / 0.6139 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.4064, allocations: 4 kB / 0.6139 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006483/0.4129, allocations: 2.221 MB / 0.6161 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.414, allocations: 251.6 kB / 0.6163 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.4362, allocations: 10.3 MB / 0.6264 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.4379, allocations: 254.7 kB / 0.6266 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.4381, allocations: 51.98 kB / 0.6267 GB, free: 10.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.4381, allocations: 4 kB / 0.6267 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0147/0.4528, allocations: 5.452 MB / 0.632 GB, free: 5.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4528, allocations: 4 kB / 0.632 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006481/0.4593, allocations: 2.225 MB / 0.6342 GB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4604, allocations: 235.6 kB / 0.6344 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.483, allocations: 10.27 MB / 0.6444 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.4846, allocations: 226.8 kB / 0.6446 GB, free: 8.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.4847, allocations: 51.98 kB / 0.6447 GB, free: 7.969 MB / 458.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.0006956/0.4854, allocations: 393.5 kB / 0.6451 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.4857, allocations: 146.2 kB / 0.6452 GB, free: 7.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.5001, allocations: 5.286 MB / 0.6504 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.5001, allocations: 11.94 kB / 0.6504 GB, free: 2.121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5001, allocations: 4 kB / 0.6504 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/0.5002, allocations: 7.922 kB / 0.6504 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.5172, allocations: 7.192 MB / 0.6574 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.5173, allocations: 0 / 0.6574 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.5181, allocations: 151.7 kB / 0.6575 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/0.5243, allocations: 2.16 MB / 0.6597 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.5245, allocations: 20 kB / 0.6597 GB, free: 8.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.5436, allocations: 8.844 MB / 0.6683 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5436, allocations: 0 / 0.6683 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/0.5606, allocations: 6.517 MB / 0.6747 GB, free: 8.922 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.5611, allocations: 227 kB / 0.6749 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.5613, allocations: 31.92 kB / 0.6749 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.5625, allocations: 163.9 kB / 0.6751 GB, free: 8.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006781/0.5632, allocations: 208.6 kB / 0.6753 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.533e-05/0.5633, allocations: 27.98 kB / 0.6753 GB, free: 8.258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.5644, allocations: 0.7664 MB / 0.6761 GB, free: 7.488 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5644, allocations: 0 / 0.6761 GB, free: 7.488 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002295/0.5667, allocations: 0.8151 MB / 0.6769 GB, free: 6.672 MB / 490.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.0002898/0.567, allocations: 139.1 kB / 0.677 GB, free: 6.527 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01257/0.5796, allocations: 5.092 MB / 0.682 GB, free: 1.406 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5797, allocations: 0 / 0.682 GB, free: 1.406 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2261/0.8058, allocations: 1.879 MB / 0.6838 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.8078, allocations: 154.1 kB / 0.6839 GB, free: 116.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/0.8135, allocations: 3.204 MB / 0.6871 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.8146, allocations: 1.221 MB / 0.6883 GB, free: 114.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004458/0.8151, allocations: 91.25 kB / 0.6883 GB, free: 114.3 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/0.8151, allocations: 3.844 kB / 0.6884 GB, free: 114.3 MB / 490.7 MB Notification: Performance of Templates: time 0.03391/0.849, allocations: 25.63 MB / 0.7134 GB, free: 99.03 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)