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.0009828/0.0009828, allocations: 91.38 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.266/1.266, allocations: 223.3 MB / 239 MB, free: 5.461 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.0009791/0.0009791, allocations: 176.5 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4909/0.4909, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003433, allocations: 8 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3037, allocations: 72.47 MB / 0.5749 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.00483/0.3086, allocations: 6.366 MB / 0.5812 GB, free: 32.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003337/0.3119, allocations: 2.054 MB / 0.5832 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.313, allocations: 19.19 kB / 0.5832 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006855/0.3137, allocations: 175.5 kB / 0.5833 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.3157, allocations: 0.5995 MB / 0.5839 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.3172, allocations: 0.6222 MB / 0.5845 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.3188, allocations: 1.448 MB / 0.586 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.3194, allocations: 353.2 kB / 0.5863 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.3203, allocations: 0.5387 MB / 0.5868 GB, free: 28.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009105/0.3213, allocations: 0.6836 MB / 0.5875 GB, free: 28.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.3216, allocations: 59.09 kB / 0.5875 GB, free: 28.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.3222, allocations: 178.3 kB / 0.5877 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002311/0.3224, allocations: 240 kB / 0.5879 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003764/0.3228, allocations: 244.9 kB / 0.5882 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.3239, allocations: 1.317 MB / 0.5895 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3239, allocations: 0 / 0.5895 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3239, allocations: 1.625 kB / 0.5895 GB, free: 27.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.3239, allocations: 0 / 0.5895 GB, free: 27.75 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.006836/0.3308, allocations: 2.509 MB / 0.5919 GB, free: 26.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3308, allocations: 9.562 kB / 0.5919 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/0.3356, allocations: 0.8148 MB / 0.5927 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3369, allocations: 0.8311 MB / 0.5935 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.3371, allocations: 242.7 kB / 0.5938 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.3373, allocations: 98.75 kB / 0.5939 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.3396, allocations: 1.411 MB / 0.5952 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3396, allocations: 1.812 kB / 0.5952 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-05/0.3397, allocations: 40.94 kB / 0.5953 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.3398, allocations: 26.48 kB / 0.5953 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.3421, allocations: 1.281 MB / 0.5966 GB, free: 24.68 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.005425/0.3475, allocations: 4.318 MB / 0.6008 GB, free: 22.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.3504, allocations: 1.839 MB / 0.6026 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.352, allocations: 0.9033 MB / 0.6034 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3521, allocations: 17.5 kB / 0.6035 GB, free: 20.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3522, allocations: 44.86 kB / 0.6035 GB, free: 20.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.106e-06/0.3522, allocations: 4 kB / 0.6035 GB, free: 20.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.02768/0.3799, allocations: 9.02 MB / 0.6123 GB, free: 19.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3799, allocations: 115.8 kB / 0.6124 GB, free: 18.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.3813, allocations: 1.003 MB / 0.6134 GB, free: 18.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.3815, allocations: 50.42 kB / 0.6135 GB, free: 18.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.3819, allocations: 0.5611 MB / 0.614 GB, free: 18.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.3822, allocations: 383.2 kB / 0.6144 GB, free: 17.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.3823, allocations: 30.12 kB / 0.6144 GB, free: 17.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.3824, allocations: 353.4 kB / 0.6147 GB, free: 17.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.384, allocations: 0.8131 MB / 0.6155 GB, free: 17.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.3857, allocations: 1.01 MB / 0.6165 GB, free: 16.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.3873, allocations: 0.8902 MB / 0.6174 GB, free: 16.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.3874, allocations: 0.9062 kB / 0.6174 GB, free: 16.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01321/0.4006, allocations: 5.505 MB / 0.6228 GB, free: 12.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.4007, allocations: 204.7 kB / 0.623 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4007, allocations: 4 kB / 0.623 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005631/0.4064, allocations: 2.225 MB / 0.6251 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/0.4073, allocations: 219.7 kB / 0.6253 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.4264, allocations: 10.27 MB / 0.6354 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.4281, allocations: 238.6 kB / 0.6356 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4283, allocations: 43.98 kB / 0.6356 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4283, allocations: 4 kB / 0.6356 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01391/0.4422, allocations: 5.3 MB / 0.6408 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.4423, allocations: 7.938 kB / 0.6408 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006394/0.4487, allocations: 2.222 MB / 0.643 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009902/0.4497, allocations: 203.7 kB / 0.6432 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.4713, allocations: 10.23 MB / 0.6532 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.4728, allocations: 206.9 kB / 0.6534 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.473, allocations: 47.98 kB / 0.6534 GB, free: 12.57 MB / 462.1 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(flow=false start = tGTypeIII.integrator3.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.integrator1.y:VARIABLE(flow=false start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(flow=false start = tGTypeIII.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: 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 (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.0006496/0.4736, allocations: 349.3 kB / 0.6538 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.4739, allocations: 138.3 kB / 0.6539 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.4876, allocations: 5.18 MB / 0.659 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.4877, allocations: 12 kB / 0.659 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4877, allocations: 0 / 0.659 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/0.4877, allocations: 3.984 kB / 0.659 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.5035, allocations: 6.936 MB / 0.6657 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.5036, allocations: 4 kB / 0.6657 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/0.5043, allocations: 123.8 kB / 0.6659 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005912/0.5102, allocations: 2.156 MB / 0.668 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.5104, allocations: 20 kB / 0.668 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.5285, allocations: 8.828 MB / 0.6766 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5286, allocations: 0 / 0.6766 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.544, allocations: 6.216 MB / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.5445, allocations: 223.1 kB / 0.6829 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.5448, allocations: 20 kB / 0.6829 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5459, allocations: 143.9 kB / 0.683 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/0.5465, allocations: 204.6 kB / 0.6832 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.5466, allocations: 32 kB / 0.6833 GB, free: 13.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000922/0.5475, allocations: 0.666 MB / 0.6839 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5475, allocations: 0 / 0.6839 GB, free: 12.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002451/0.55, allocations: 0.7723 MB / 0.6847 GB, free: 12.21 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 (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.0002877/0.5503, allocations: 139.7 kB / 0.6848 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01178/0.5621, allocations: 4.878 MB / 0.6896 GB, free: 7.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5621, allocations: 4.062 kB / 0.6896 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004625/0.5668, allocations: 1.823 MB / 0.6914 GB, free: 5.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.568, allocations: 131.5 kB / 0.6915 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.5722, allocations: 2.719 MB / 0.6941 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.5729, allocations: 1.165 MB / 0.6953 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005628/0.5735, allocations: 124.1 kB / 0.6954 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.5738, allocations: 67.42 kB / 0.6955 GB, free: 1.07 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5738, allocations: 0 / 0.6955 GB, free: 1.07 MB / 494.1 MB Notification: Performance of Templates: time 0.04474/0.6185, allocations: 30.03 MB / 0.7248 GB, free: 3.047 MB / 0.5137 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)