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.0007891/0.0007892, allocations: 92.31 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.289/1.289, allocations: 223.3 MB / 239 MB, free: 5.633 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.001033/0.001033, allocations: 172.5 kB / 290.3 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5126/0.5126, allocations: 91.91 MB / 433.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003557, allocations: 15.98 kB / 0.5042 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3209, allocations: 72.46 MB / 0.5749 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.004916/0.3258, allocations: 6.656 MB / 0.5814 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.3293, allocations: 2.232 MB / 0.5836 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006517/0.33, allocations: 20.81 kB / 0.5836 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.3305, allocations: 204.5 kB / 0.5838 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3319, allocations: 0.6279 MB / 0.5844 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3331, allocations: 0.6583 MB / 0.5851 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.3345, allocations: 1.602 MB / 0.5867 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.335, allocations: 401.9 kB / 0.587 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007272/0.3358, allocations: 0.6024 MB / 0.5876 GB, free: 28.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006881/0.3365, allocations: 0.7434 MB / 0.5884 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3366, allocations: 63.56 kB / 0.5884 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.337, allocations: 188.2 kB / 0.5886 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.3372, allocations: 272.6 kB / 0.5889 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3374, allocations: 267.8 kB / 0.5891 GB, free: 28.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.3384, allocations: 1.42 MB / 0.5905 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3384, allocations: 1.25 kB / 0.5905 GB, free: 27.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3384, allocations: 0 / 0.5905 GB, free: 27.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.788e-05/0.3385, allocations: 0 / 0.5905 GB, free: 27.59 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.007032/0.3455, allocations: 2.678 MB / 0.5931 GB, free: 26.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3455, allocations: 13.16 kB / 0.5931 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.3502, allocations: 0.8209 MB / 0.5939 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.3515, allocations: 0.9132 MB / 0.5948 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.3517, allocations: 250.9 kB / 0.5951 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.3518, allocations: 99.16 kB / 0.5951 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.3543, allocations: 1.512 MB / 0.5966 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.3543, allocations: 4.984 kB / 0.5966 GB, free: 24.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3545, allocations: 45.23 kB / 0.5967 GB, free: 24.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.3545, allocations: 24.91 kB / 0.5967 GB, free: 24.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.3571, allocations: 1.415 MB / 0.5981 GB, free: 24.33 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.006108/0.3632, allocations: 4.423 MB / 0.6024 GB, free: 21.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.3665, allocations: 2.061 MB / 0.6044 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.3682, allocations: 0.9628 MB / 0.6054 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.3683, allocations: 18.7 kB / 0.6054 GB, free: 20.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3684, allocations: 45.67 kB / 0.6054 GB, free: 20.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 2.896e-06/0.3684, allocations: 0 / 0.6054 GB, free: 20.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.02719/0.3956, allocations: 9.115 MB / 0.6143 GB, free: 18.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.3957, allocations: 140.6 kB / 0.6144 GB, free: 18.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3973, allocations: 1.123 MB / 0.6155 GB, free: 18.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.3975, allocations: 46.08 kB / 0.6156 GB, free: 18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/0.3978, allocations: 0.6132 MB / 0.6162 GB, free: 17.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003247/0.3982, allocations: 416.8 kB / 0.6166 GB, free: 17.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.3983, allocations: 25.5 kB / 0.6166 GB, free: 17.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.3983, allocations: 363.7 kB / 0.617 GB, free: 16.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.4001, allocations: 0.9312 MB / 0.6179 GB, free: 16.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.4018, allocations: 1.079 MB / 0.6189 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.4035, allocations: 0.9483 MB / 0.6198 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4035, allocations: 4 kB / 0.6198 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01238/0.4159, allocations: 5.647 MB / 0.6254 GB, free: 9.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.416, allocations: 218 kB / 0.6256 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.416, allocations: 7.938 kB / 0.6256 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.4216, allocations: 2.229 MB / 0.6278 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/0.4225, allocations: 243.6 kB / 0.628 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01921/0.4417, allocations: 10.28 MB / 0.638 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/0.4434, allocations: 258.6 kB / 0.6383 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4435, allocations: 47.98 kB / 0.6383 GB, free: 12.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.4436, allocations: 7.938 kB / 0.6383 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.4572, allocations: 5.436 MB / 0.6436 GB, free: 6.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4572, allocations: 4 kB / 0.6436 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006374/0.4636, allocations: 2.229 MB / 0.6458 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4646, allocations: 231.6 kB / 0.646 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/0.4861, allocations: 10.24 MB / 0.656 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4878, allocations: 238.8 kB / 0.6563 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.488, allocations: 47.98 kB / 0.6563 GB, free: 9.598 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.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.0009542/0.489, allocations: 393.6 kB / 0.6567 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004228/0.4894, allocations: 150.2 kB / 0.6568 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/0.5036, allocations: 5.263 MB / 0.662 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.5036, allocations: 15.95 kB / 0.662 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5036, allocations: 0 / 0.662 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-05/0.5037, allocations: 7.969 kB / 0.662 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.5205, allocations: 7.188 MB / 0.669 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.5206, allocations: 0 / 0.669 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.5213, allocations: 147.8 kB / 0.6692 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00603/0.5274, allocations: 2.152 MB / 0.6713 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.5276, allocations: 27.98 kB / 0.6713 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.546, allocations: 8.828 MB / 0.6799 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.546, allocations: 3.938 kB / 0.6799 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/0.5623, allocations: 6.498 MB / 0.6863 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.5628, allocations: 235 kB / 0.6865 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.5632, allocations: 23.95 kB / 0.6865 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.5645, allocations: 167.9 kB / 0.6867 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006374/0.5651, allocations: 212.6 kB / 0.6869 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5652, allocations: 28 kB / 0.6869 GB, free: 9.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.5665, allocations: 0.7507 MB / 0.6876 GB, free: 9.184 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5665, allocations: 0 / 0.6876 GB, free: 9.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002513/0.569, allocations: 0.819 MB / 0.6884 GB, free: 8.363 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 (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.0002928/0.5693, allocations: 138 kB / 0.6886 GB, free: 8.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0121/0.5814, allocations: 5.085 MB / 0.6935 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5814, allocations: 0 / 0.6935 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004713/0.5862, allocations: 1.892 MB / 0.6954 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5874, allocations: 153.6 kB / 0.6955 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.5922, allocations: 2.998 MB / 0.6984 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/0.5931, allocations: 1.217 MB / 0.6996 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.5939, allocations: 176.9 kB / 0.6998 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.5941, allocations: 83.41 kB / 0.6999 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5941, allocations: 0 / 0.6999 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.04753/0.6417, allocations: 31.26 MB / 0.7304 GB, free: 13.29 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)