Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 90.67 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.381/1.381, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001094/0.001094, allocations: 195.3 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5379/0.5379, allocations: 91.92 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.0004128, allocations: 12 kB / 0.5048 GB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4449, allocations: 72.45 MB / 0.5755 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.007349/0.4524, allocations: 6.798 MB / 0.5822 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.4584, allocations: 2.15 MB / 0.5843 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.4598, allocations: 21.47 kB / 0.5843 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.4606, allocations: 195.2 kB / 0.5845 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002536/0.4632, allocations: 0.6452 MB / 0.5851 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.4653, allocations: 0.7043 MB / 0.5858 GB, free: 29.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.4674, allocations: 1.528 MB / 0.5873 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007698/0.4682, allocations: 414.3 kB / 0.5877 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000812/0.469, allocations: 0.5621 MB / 0.5882 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.4698, allocations: 0.7009 MB / 0.5889 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.4699, allocations: 60.88 kB / 0.589 GB, free: 28.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005608/0.4705, allocations: 187.6 kB / 0.5891 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.4707, allocations: 252.6 kB / 0.5894 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.4713, allocations: 0.6407 MB / 0.59 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.473, allocations: 1.662 MB / 0.5916 GB, free: 27.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.473, allocations: 1.031 kB / 0.5916 GB, free: 27.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.473, allocations: 0 / 0.5916 GB, free: 27.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.4731, allocations: 0 / 0.5916 GB, free: 27.07 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.008792/0.4819, allocations: 2.505 MB / 0.5941 GB, free: 25.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.4819, allocations: 13.5 kB / 0.5941 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005319/0.4873, allocations: 0.8027 MB / 0.5949 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.4889, allocations: 0.8757 MB / 0.5957 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.4892, allocations: 246.8 kB / 0.596 GB, free: 25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.4894, allocations: 97.97 kB / 0.5961 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.4923, allocations: 1.411 MB / 0.5974 GB, free: 24.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4923, allocations: 8.875 kB / 0.5974 GB, free: 24.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.4924, allocations: 40.16 kB / 0.5975 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4925, allocations: 23.47 kB / 0.5975 GB, free: 24.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.4952, allocations: 1.289 MB / 0.5988 GB, free: 23.95 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.007026/0.5023, allocations: 4.321 MB / 0.603 GB, free: 21.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.5059, allocations: 1.842 MB / 0.6048 GB, free: 20.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.5077, allocations: 0.9036 MB / 0.6057 GB, free: 19.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5079, allocations: 17.33 kB / 0.6057 GB, free: 19.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.5079, allocations: 49.33 kB / 0.6057 GB, free: 19.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.5079, allocations: 0 / 0.6057 GB, free: 19.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.03411/0.542, allocations: 9.069 MB / 0.6146 GB, free: 18.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.5421, allocations: 114.7 kB / 0.6147 GB, free: 18.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.5439, allocations: 1.014 MB / 0.6157 GB, free: 17.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.5442, allocations: 45.86 kB / 0.6157 GB, free: 17.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.5446, allocations: 0.5651 MB / 0.6163 GB, free: 17.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003939/0.545, allocations: 383.5 kB / 0.6166 GB, free: 16.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.5452, allocations: 120.4 kB / 0.6168 GB, free: 16.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5453, allocations: 358 kB / 0.6171 GB, free: 16.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5471, allocations: 0.8235 MB / 0.6179 GB, free: 16.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.5491, allocations: 1.024 MB / 0.6189 GB, free: 15.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/0.5675, allocations: 5.432 MB / 0.6242 GB, free: 11.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5676, allocations: 0 / 0.6242 GB, free: 11.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01453/0.5821, allocations: 5.526 MB / 0.6296 GB, free: 5.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.5823, allocations: 208.7 kB / 0.6298 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5823, allocations: 4 kB / 0.6298 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/0.5887, allocations: 2.229 MB / 0.632 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.5899, allocations: 223.6 kB / 0.6322 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.6134, allocations: 10.29 MB / 0.6422 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.6155, allocations: 226.8 kB / 0.6425 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.6156, allocations: 51.98 kB / 0.6425 GB, free: 8.316 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6156, allocations: 0 / 0.6425 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01567/0.6313, allocations: 5.323 MB / 0.6477 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.6314, allocations: 7.938 kB / 0.6477 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007134/0.6385, allocations: 2.233 MB / 0.6499 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.6397, allocations: 203.7 kB / 0.6501 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02456/0.6642, allocations: 10.25 MB / 0.6601 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/0.6664, allocations: 199 kB / 0.6603 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.6665, allocations: 59.92 kB / 0.6604 GB, free: 5.891 MB / 462.1 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(flow=false start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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.0008522/0.6674, allocations: 369.2 kB / 0.6607 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.6677, allocations: 130.4 kB / 0.6608 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.683, allocations: 5.168 MB / 0.6659 GB, free: 208 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.6831, allocations: 16 kB / 0.6659 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6831, allocations: 0 / 0.6659 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/0.6832, allocations: 3.984 kB / 0.6659 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.701, allocations: 6.952 MB / 0.6727 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.7011, allocations: 0 / 0.6727 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.7018, allocations: 127.8 kB / 0.6728 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006634/0.7084, allocations: 2.168 MB / 0.6749 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.7086, allocations: 20 kB / 0.6749 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.729, allocations: 8.828 MB / 0.6836 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/0.729, allocations: 0 / 0.6836 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/0.7466, allocations: 6.232 MB / 0.6896 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/0.7473, allocations: 219.2 kB / 0.6899 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.7475, allocations: 20 kB / 0.6899 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.7486, allocations: 143.9 kB / 0.69 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/0.7493, allocations: 196.7 kB / 0.6902 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.449e-05/0.7494, allocations: 31.98 kB / 0.6902 GB, free: 6.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009091/0.7503, allocations: 0.6738 MB / 0.6909 GB, free: 6.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7503, allocations: 4 kB / 0.6909 GB, free: 6.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002219/0.7525, allocations: 0.7762 MB / 0.6917 GB, free: 5.477 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * 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 (70): * Single equations (assignments): 69 * 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.0003163/0.7529, allocations: 135.2 kB / 0.6918 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01317/0.766, allocations: 4.893 MB / 0.6966 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7661, allocations: 0 / 0.6966 GB, free: 428 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005148/0.7712, allocations: 1.83 MB / 0.6983 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7726, allocations: 139.3 kB / 0.6985 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.7769, allocations: 2.854 MB / 0.7013 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007473/0.7776, allocations: 1.169 MB / 0.7024 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005079/0.7781, allocations: 124.1 kB / 0.7025 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.7784, allocations: 71.42 kB / 0.7026 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.7784, allocations: 0 / 0.7026 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.04944/0.8278, allocations: 30.88 MB / 0.7328 GB, free: 11.29 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)