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.001015/0.001015, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.322/1.322, allocations: 223.2 MB / 238.9 MB, free: 5.672 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.001121/0.001121, allocations: 189 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4662/0.4662, allocations: 79.45 MB / 420.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 16 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 69.52 MB / 0.5569 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test): time 0.246/0.3786, allocations: 6.081 MB / 0.5628 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.3829, allocations: 2.086 MB / 0.5649 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.3839, allocations: 21.16 kB / 0.5649 GB, free: 37.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.3845, allocations: 164.2 kB / 0.565 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.3864, allocations: 0.6682 MB / 0.5657 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.388, allocations: 0.6116 MB / 0.5663 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.3899, allocations: 1.035 MB / 0.5673 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.3905, allocations: 353.9 kB / 0.5676 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.3912, allocations: 0.532 MB / 0.5682 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006205/0.3918, allocations: 0.6637 MB / 0.5688 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.392, allocations: 57.25 kB / 0.5689 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.3924, allocations: 174.3 kB / 0.569 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3926, allocations: 237.2 kB / 0.5693 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.3928, allocations: 249 kB / 0.5695 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.3939, allocations: 1.268 MB / 0.5707 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3939, allocations: 2.438 kB / 0.5707 GB, free: 35.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3939, allocations: 0 / 0.5707 GB, free: 35.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3939, allocations: 3 kB / 0.5707 GB, free: 35.39 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.007527/0.4015, allocations: 2.511 MB / 0.5732 GB, free: 34.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4015, allocations: 12 kB / 0.5732 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.4066, allocations: 0.8103 MB / 0.574 GB, free: 34.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.4084, allocations: 0.8383 MB / 0.5748 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4086, allocations: 243.2 kB / 0.575 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.4088, allocations: 96.2 kB / 0.5751 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.4114, allocations: 1.398 MB / 0.5765 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4114, allocations: 0.9375 kB / 0.5765 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.4116, allocations: 40.41 kB / 0.5765 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.4116, allocations: 25.7 kB / 0.5766 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.4142, allocations: 1.292 MB / 0.5778 GB, free: 32.37 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.006258/0.4204, allocations: 4.3 MB / 0.582 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.4234, allocations: 1.845 MB / 0.5838 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.695e-05/0.4235, allocations: 17.25 kB / 0.5838 GB, free: 28.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4235, allocations: 44.44 kB / 0.5839 GB, free: 28.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.035e-06/0.4235, allocations: 3.938 kB / 0.5839 GB, free: 28.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.03165/0.4552, allocations: 9.023 MB / 0.5927 GB, free: 27.12 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.4553, allocations: 114.4 kB / 0.5928 GB, free: 26.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.4573, allocations: 1.005 MB / 0.5938 GB, free: 26.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.4576, allocations: 45.83 kB / 0.5938 GB, free: 26.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.4581, allocations: 0.5588 MB / 0.5944 GB, free: 26.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.4587, allocations: 382.6 kB / 0.5947 GB, free: 25.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.4589, allocations: 25.25 kB / 0.5948 GB, free: 25.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4591, allocations: 358.5 kB / 0.5951 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.461, allocations: 0.8135 MB / 0.5959 GB, free: 25.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.463, allocations: 1.009 MB / 0.5969 GB, free: 24.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.4648, allocations: 0.8935 MB / 0.5978 GB, free: 24.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4649, allocations: 5.344 kB / 0.5978 GB, free: 24.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.01686/0.4817, allocations: 5.491 MB / 0.6031 GB, free: 23.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003344/0.4821, allocations: 1.501 MB / 0.6046 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.4821, allocations: 4.062 kB / 0.6046 GB, free: 21.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007822/0.49, allocations: 2.225 MB / 0.6068 GB, free: 21.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4912, allocations: 219.8 kB / 0.607 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/0.5173, allocations: 10.77 MB / 0.6175 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5192, allocations: 226.7 kB / 0.6177 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.5194, allocations: 47.98 kB / 0.6178 GB, free: 14.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.5195, allocations: 4 kB / 0.6178 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01394/0.5334, allocations: 5.292 MB / 0.6229 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.5335, allocations: 4.859 kB / 0.6229 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006291/0.5398, allocations: 2.232 MB / 0.6251 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/0.5408, allocations: 203.7 kB / 0.6253 GB, free: 6.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.5633, allocations: 10.74 MB / 0.6358 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5653, allocations: 206.9 kB / 0.636 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/0.5656, allocations: 48.83 kB / 0.636 GB, free: 11.45 MB / 446.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.001142/0.5667, allocations: 368.8 kB / 0.6364 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.5672, allocations: 132.3 kB / 0.6365 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.5818, allocations: 5.168 MB / 0.6416 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5818, allocations: 11.95 kB / 0.6416 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5818, allocations: 0 / 0.6416 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.708e-05/0.5819, allocations: 3.984 kB / 0.6416 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.6004, allocations: 6.95 MB / 0.6484 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.6004, allocations: 0 / 0.6484 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/0.6012, allocations: 117 kB / 0.6485 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006639/0.6078, allocations: 2.165 MB / 0.6506 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/0.6081, allocations: 23.94 kB / 0.6506 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02133/0.6294, allocations: 9.306 MB / 0.6597 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6295, allocations: 0 / 0.6597 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01734/0.6468, allocations: 6.212 MB / 0.6658 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.6474, allocations: 227.8 kB / 0.666 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/0.6478, allocations: 20 kB / 0.666 GB, free: 12.42 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6491, allocations: 143.8 kB / 0.6661 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006557/0.6498, allocations: 204.6 kB / 0.6663 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6499, allocations: 29.19 kB / 0.6664 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009298/0.6508, allocations: 0.666 MB / 0.667 GB, free: 11.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6508, allocations: 0 / 0.667 GB, free: 11.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00261/0.6535, allocations: 0.7776 MB / 0.6678 GB, free: 10.6 MB / 478.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.0002961/0.6538, allocations: 135.2 kB / 0.6679 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0125/0.6663, allocations: 4.871 MB / 0.6727 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6663, allocations: 0 / 0.6727 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005018/0.6713, allocations: 1.823 MB / 0.6744 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009655/0.6723, allocations: 119.4 kB / 0.6746 GB, free: 3.625 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.6768, allocations: 2.745 MB / 0.6772 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/0.6776, allocations: 1.192 MB / 0.6784 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005601/0.6782, allocations: 125.4 kB / 0.6785 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6785, allocations: 71.38 kB / 0.6786 GB, free: 15.47 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6785, allocations: 0 / 0.6786 GB, free: 15.47 MB / 494.1 MB Notification: Performance of Templates: time 0.04463/0.7231, allocations: 29.99 MB / 0.7079 GB, free: 1.621 MB / 0.4981 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)