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.000827/0.000827, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.445/1.445, allocations: 223.3 MB / 239.4 MB, free: 5.438 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.001068/0.001068, allocations: 180.5 kB / 290.6 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.612/0.612, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 8 kB / 0.5048 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4829, allocations: 72.45 MB / 0.5755 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.006155/0.4891, allocations: 7.118 MB / 0.5825 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.4939, allocations: 2.313 MB / 0.5847 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.4946, allocations: 21.84 kB / 0.5848 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.4954, allocations: 220.8 kB / 0.585 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.4972, allocations: 0.6709 MB / 0.5856 GB, free: 29.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.4987, allocations: 0.7652 MB / 0.5864 GB, free: 29.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.5002, allocations: 1.698 MB / 0.588 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.5008, allocations: 472.2 kB / 0.5885 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.5015, allocations: 0.6087 MB / 0.5891 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007086/0.5023, allocations: 0.7695 MB / 0.5898 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.5024, allocations: 65.48 kB / 0.5899 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.5028, allocations: 189.7 kB / 0.5901 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.5031, allocations: 283.1 kB / 0.5903 GB, free: 27.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.5036, allocations: 0.6953 MB / 0.591 GB, free: 26.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.5051, allocations: 1.802 MB / 0.5928 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5051, allocations: 0 / 0.5928 GB, free: 26.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5051, allocations: 5.312 kB / 0.5928 GB, free: 26.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.5052, allocations: 0 / 0.5928 GB, free: 26.18 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.008657/0.5138, allocations: 2.663 MB / 0.5954 GB, free: 25.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.5139, allocations: 8.781 kB / 0.5954 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.5189, allocations: 0.8184 MB / 0.5962 GB, free: 24.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.5207, allocations: 0.9696 MB / 0.5971 GB, free: 24.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002482/0.521, allocations: 255 kB / 0.5974 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.5212, allocations: 99.81 kB / 0.5975 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/0.5249, allocations: 1.516 MB / 0.599 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.5249, allocations: 4.875 kB / 0.599 GB, free: 23.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.5251, allocations: 41.75 kB / 0.599 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.5252, allocations: 28.94 kB / 0.599 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.529, allocations: 1.417 MB / 0.6004 GB, free: 22.88 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.007908/0.5369, allocations: 4.418 MB / 0.6047 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.541, allocations: 2.061 MB / 0.6067 GB, free: 19.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.543, allocations: 0.9748 MB / 0.6077 GB, free: 18.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.5431, allocations: 15.53 kB / 0.6077 GB, free: 18.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5431, allocations: 43.94 kB / 0.6077 GB, free: 18.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=115): time 3.667e-06/0.5431, allocations: 0 / 0.6077 GB, free: 18.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=115): time 0.03458/0.5777, allocations: 9.171 MB / 0.6167 GB, free: 17.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.5779, allocations: 141.8 kB / 0.6168 GB, free: 17.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.5802, allocations: 1.129 MB / 0.6179 GB, free: 16.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/0.5807, allocations: 46.64 kB / 0.618 GB, free: 16.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.5812, allocations: 0.6087 MB / 0.6186 GB, free: 16.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.5817, allocations: 417.4 kB / 0.619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.5819, allocations: 128 kB / 0.6191 GB, free: 15.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.694e-05/0.582, allocations: 306.2 kB / 0.6194 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.584, allocations: 0.9369 MB / 0.6203 GB, free: 14.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.586, allocations: 1.089 MB / 0.6214 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/0.6048, allocations: 5.696 MB / 0.6269 GB, free: 8.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.6048, allocations: 3.984 kB / 0.6269 GB, free: 8.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01532/0.6202, allocations: 5.663 MB / 0.6325 GB, free: 2.762 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.6203, allocations: 214.1 kB / 0.6327 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6204, allocations: 4 kB / 0.6327 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006555/0.6269, allocations: 2.225 MB / 0.6348 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.6282, allocations: 251.6 kB / 0.6351 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/0.6537, allocations: 10.3 MB / 0.6451 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.656, allocations: 254.7 kB / 0.6454 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.6562, allocations: 55.98 kB / 0.6454 GB, free: 5.273 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.6562, allocations: 4 kB / 0.6454 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01604/0.6723, allocations: 5.452 MB / 0.6508 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.6723, allocations: 8 kB / 0.6508 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006989/0.6793, allocations: 2.222 MB / 0.6529 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6806, allocations: 235.6 kB / 0.6532 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/0.7037, allocations: 10.28 MB / 0.6632 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.7059, allocations: 230.8 kB / 0.6634 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.706, allocations: 47.98 kB / 0.6635 GB, free: 2.645 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.000931/0.707, allocations: 382.5 kB / 0.6638 GB, free: 2.266 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.7073, allocations: 150.2 kB / 0.664 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/0.7228, allocations: 5.282 MB / 0.6691 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.7229, allocations: 12 kB / 0.6692 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7229, allocations: 0 / 0.6692 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.723, allocations: 3.984 kB / 0.6692 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.7424, allocations: 7.203 MB / 0.6762 GB, free: 5.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/0.7425, allocations: 4 kB / 0.6762 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7436, allocations: 139.9 kB / 0.6763 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006963/0.7506, allocations: 2.164 MB / 0.6784 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/0.7509, allocations: 20 kB / 0.6785 GB, free: 3.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.7711, allocations: 8.843 MB / 0.6871 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7711, allocations: 0 / 0.6871 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/0.7891, allocations: 6.514 MB / 0.6935 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007422/0.7899, allocations: 235 kB / 0.6937 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002125/0.7901, allocations: 23.94 kB / 0.6937 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.7914, allocations: 171.8 kB / 0.6939 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/0.792, allocations: 204.6 kB / 0.6941 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.7921, allocations: 27.98 kB / 0.6941 GB, free: 2.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001082/0.7932, allocations: 0.7625 MB / 0.6948 GB, free: 2.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7932, allocations: 0 / 0.6948 GB, free: 2.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002286/0.7955, allocations: 0.819 MB / 0.6956 GB, free: 1.367 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.0002767/0.7958, allocations: 135.1 kB / 0.6958 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01297/0.8088, allocations: 5.088 MB / 0.7007 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.8088, allocations: 0 / 0.7007 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005178/0.814, allocations: 1.903 MB / 0.7026 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8155, allocations: 158.4 kB / 0.7027 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.82, allocations: 3.145 MB / 0.7058 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.8208, allocations: 1.228 MB / 0.707 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006942/0.8215, allocations: 176.9 kB / 0.7072 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.8217, allocations: 71.42 kB / 0.7072 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.8217, allocations: 0 / 0.7072 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.04824/0.87, allocations: 32.16 MB / 0.7387 GB, free: 5.242 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)