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.004481/0.004481, allocations: 171.1 kB / 15.13 MB, free: 6.023 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.223/1.223, allocations: 223.3 MB / 239.1 MB, free: 15.98 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.00104/0.00104, allocations: 103.1 kB / 290.3 MB, free: 4.645 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5356/0.5356, allocations: 78.62 MB / 420 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 16 kB / 499.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1094, allocations: 69.35 MB / 0.5559 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.00609/0.1155, allocations: 6.633 MB / 0.5624 GB, free: 11.15 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.119, allocations: 2.224 MB / 0.5646 GB, free: 8.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.1195, allocations: 19.94 kB / 0.5646 GB, free: 8.898 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.12, allocations: 198.4 kB / 0.5648 GB, free: 8.703 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.1213, allocations: 0.6371 MB / 0.5654 GB, free: 8.062 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1226, allocations: 0.6766 MB / 0.5661 GB, free: 7.395 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.1239, allocations: 1.597 MB / 0.5676 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/0.1244, allocations: 398.2 kB / 0.568 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005896/0.125, allocations: 0.5948 MB / 0.5686 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.1257, allocations: 0.7504 MB / 0.5693 GB, free: 4.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1258, allocations: 60 kB / 0.5694 GB, free: 3.977 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1262, allocations: 187.8 kB / 0.5695 GB, free: 3.793 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.1265, allocations: 266.7 kB / 0.5698 GB, free: 3.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1267, allocations: 268.8 kB / 0.5701 GB, free: 3.262 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1277, allocations: 1.422 MB / 0.5714 GB, free: 1.836 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1278, allocations: 4 kB / 0.5714 GB, free: 1.832 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1278, allocations: 0 / 0.5714 GB, free: 1.832 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1278, allocations: 0 / 0.5714 GB, free: 1.832 MB / 442.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.2097/0.3375, allocations: 2.677 MB / 0.5741 GB, free: 44.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3376, allocations: 9 kB / 0.5741 GB, free: 44.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/0.3426, allocations: 0.8137 MB / 0.5749 GB, free: 44.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.3448, allocations: 0.9255 MB / 0.5758 GB, free: 43.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.345, allocations: 243.1 kB / 0.576 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.3452, allocations: 103.6 kB / 0.5761 GB, free: 43.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.348, allocations: 1.514 MB / 0.5776 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.348, allocations: 1.781 kB / 0.5776 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3481, allocations: 50.39 kB / 0.5776 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.3481, allocations: 23.81 kB / 0.5776 GB, free: 43.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.3508, allocations: 1.413 MB / 0.579 GB, free: 43.33 MB / 442.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.006191/0.357, allocations: 4.423 MB / 0.5833 GB, free: 41.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.3604, allocations: 2.058 MB / 0.5854 GB, free: 41.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.3621, allocations: 0.9618 MB / 0.5863 GB, free: 41.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3622, allocations: 17.55 kB / 0.5863 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3623, allocations: 48.61 kB / 0.5864 GB, free: 41.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=115): time 2.976e-06/0.3623, allocations: 0 / 0.5864 GB, free: 41.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.03027/0.3926, allocations: 9.118 MB / 0.5953 GB, free: 40.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3926, allocations: 142.2 kB / 0.5954 GB, free: 40.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.394, allocations: 1.126 MB / 0.5965 GB, free: 39.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.3942, allocations: 48.3 kB / 0.5965 GB, free: 39.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.3945, allocations: 0.6163 MB / 0.5971 GB, free: 39.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.3948, allocations: 410.3 kB / 0.5975 GB, free: 38.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.3949, allocations: 30.53 kB / 0.5976 GB, free: 38.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.395, allocations: 352.1 kB / 0.5979 GB, free: 38.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.3966, allocations: 0.9351 MB / 0.5988 GB, free: 38.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.3982, allocations: 1.081 MB / 0.5999 GB, free: 37.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/0.3999, allocations: 0.9511 MB / 0.6008 GB, free: 37.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3999, allocations: 0.75 kB / 0.6008 GB, free: 37.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01458/0.4145, allocations: 5.64 MB / 0.6063 GB, free: 35.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.4146, allocations: 213.3 kB / 0.6065 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4146, allocations: 4.219 kB / 0.6065 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006482/0.4211, allocations: 2.231 MB / 0.6087 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.4223, allocations: 246.9 kB / 0.6089 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.4438, allocations: 10.27 MB / 0.619 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.4456, allocations: 261 kB / 0.6192 GB, free: 30.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.4457, allocations: 50.59 kB / 0.6193 GB, free: 30.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.4457, allocations: 7.281 kB / 0.6193 GB, free: 30.84 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01536/0.4611, allocations: 5.434 MB / 0.6246 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4612, allocations: 4.094 kB / 0.6246 GB, free: 29.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006835/0.468, allocations: 2.224 MB / 0.6267 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.4692, allocations: 236.3 kB / 0.627 GB, free: 29.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.4897, allocations: 10.25 MB / 0.637 GB, free: 20.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4915, allocations: 234.8 kB / 0.6372 GB, free: 20.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4916, allocations: 49.98 kB / 0.6373 GB, free: 20.64 MB / 442.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.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.0006372/0.4923, allocations: 391.8 kB / 0.6376 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.4925, allocations: 148 kB / 0.6378 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.5063, allocations: 5.267 MB / 0.6429 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.5064, allocations: 19.95 kB / 0.6429 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5064, allocations: 0 / 0.6429 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.5064, allocations: 3.984 kB / 0.6429 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.5222, allocations: 7.191 MB / 0.65 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.5223, allocations: 0 / 0.65 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/0.5231, allocations: 147.8 kB / 0.6501 GB, free: 7.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/0.529, allocations: 2.158 MB / 0.6522 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.5292, allocations: 20 kB / 0.6522 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.5476, allocations: 8.832 MB / 0.6608 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5476, allocations: 0 / 0.6608 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/0.5659, allocations: 6.497 MB / 0.6672 GB, free: 5.695 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.5664, allocations: 231 kB / 0.6674 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.5666, allocations: 25.86 kB / 0.6674 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.5679, allocations: 171.8 kB / 0.6676 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/0.5684, allocations: 212.6 kB / 0.6678 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.5685, allocations: 31.98 kB / 0.6678 GB, free: 5.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009844/0.5695, allocations: 0.7468 MB / 0.6686 GB, free: 4.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5695, allocations: 0 / 0.6686 GB, free: 4.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001999/0.5715, allocations: 0.8161 MB / 0.6694 GB, free: 3.453 MB / 458.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 (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.0002488/0.5718, allocations: 140.6 kB / 0.6695 GB, free: 3.309 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01246/0.5843, allocations: 5.071 MB / 0.6744 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5843, allocations: 4.125 kB / 0.6745 GB, free: 14.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005023/0.5893, allocations: 1.901 MB / 0.6763 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.5905, allocations: 160.9 kB / 0.6765 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004068/0.5946, allocations: 2.986 MB / 0.6794 GB, free: 9.176 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.5953, allocations: 1.225 MB / 0.6806 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006695/0.596, allocations: 175 kB / 0.6807 GB, free: 7.754 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.5963, allocations: 75.42 kB / 0.6808 GB, free: 7.684 MB / 474.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5963, allocations: 0 / 0.6808 GB, free: 7.684 MB / 474.7 MB Notification: Performance of Templates: time 0.0449/0.6412, allocations: 31.27 MB / 0.7113 GB, free: 8.562 MB / 0.4948 GB 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)