Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009901/0.0009906, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.235/1.235, allocations: 222.9 MB / 239.6 MB, free: 4.66 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.001427/0.001427, allocations: 184.5 kB / 289.9 MB, free: 2.418 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4062/0.4062, allocations: 78.52 MB / 418.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.88 kB / 497.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 68.18 MB / 0.5525 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.1962/0.3087, allocations: 6.647 MB / 0.559 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.3121, allocations: 1.966 MB / 0.5609 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.3128, allocations: 14.22 kB / 0.5609 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006018/0.3134, allocations: 187.4 kB / 0.5611 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.315, allocations: 0.6332 MB / 0.5617 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3163, allocations: 0.6159 MB / 0.5623 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.3176, allocations: 1.448 MB / 0.5638 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004237/0.318, allocations: 327.8 kB / 0.5641 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006875/0.3187, allocations: 0.6001 MB / 0.5646 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.3193, allocations: 0.7379 MB / 0.5654 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3195, allocations: 107.3 kB / 0.5655 GB, free: 34.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.3199, allocations: 247.1 kB / 0.5657 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.3201, allocations: 294.6 kB / 0.566 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.3205, allocations: 0.6179 MB / 0.5666 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.3215, allocations: 1.184 MB / 0.5677 GB, free: 34.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3215, allocations: 6.656 kB / 0.5678 GB, free: 34.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3215, allocations: 0 / 0.5678 GB, free: 34.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3216, allocations: 0 / 0.5678 GB, free: 34.26 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007337/0.3289, allocations: 2.557 MB / 0.5703 GB, free: 33.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.329, allocations: 10.22 kB / 0.5703 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.3335, allocations: 0.773 MB / 0.571 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3348, allocations: 0.8132 MB / 0.5718 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.335, allocations: 219.9 kB / 0.572 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.3352, allocations: 78.53 kB / 0.5721 GB, free: 32.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3372, allocations: 1.129 MB / 0.5732 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3372, allocations: 5.156 kB / 0.5732 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.3373, allocations: 32.38 kB / 0.5732 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.3373, allocations: 18.38 kB / 0.5733 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.3392, allocations: 1.082 MB / 0.5743 GB, free: 32.63 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.004672/0.3439, allocations: 3.147 MB / 0.5774 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002536/0.3465, allocations: 1.597 MB / 0.5789 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.3478, allocations: 0.7655 MB / 0.5797 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3479, allocations: 18.52 kB / 0.5797 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3479, allocations: 47.09 kB / 0.5798 GB, free: 30.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.845e-06/0.3479, allocations: 0 / 0.5798 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02553/0.3735, allocations: 7.063 MB / 0.5866 GB, free: 29.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3736, allocations: 90.36 kB / 0.5867 GB, free: 28.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.375, allocations: 0.942 MB / 0.5877 GB, free: 28.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.3752, allocations: 43.64 kB / 0.5877 GB, free: 28.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.3755, allocations: 496.5 kB / 0.5882 GB, free: 28.13 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.3759, allocations: 331.5 kB / 0.5885 GB, free: 27.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.3763, allocations: 207.5 kB / 0.5887 GB, free: 27.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.3764, allocations: 349.3 kB / 0.589 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.3778, allocations: 0.712 MB / 0.5897 GB, free: 27.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.3794, allocations: 0.8321 MB / 0.5905 GB, free: 26.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01789/0.3973, allocations: 4.732 MB / 0.5951 GB, free: 25.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.3973, allocations: 1.906 kB / 0.5951 GB, free: 25.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01369/0.411, allocations: 4.417 MB / 0.5995 GB, free: 24.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4111, allocations: 9.375 kB / 0.5995 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4111, allocations: 2.531 kB / 0.5995 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006485/0.4176, allocations: 1.897 MB / 0.6013 GB, free: 24.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009329/0.4185, allocations: 179.3 kB / 0.6015 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/0.4405, allocations: 9.951 MB / 0.6112 GB, free: 18.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4421, allocations: 176.2 kB / 0.6114 GB, free: 18.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.4423, allocations: 42.23 kB / 0.6114 GB, free: 18.59 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001766/0.4441, allocations: 0.8733 MB / 0.6123 GB, free: 17.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001315/0.4454, allocations: 0.8272 MB / 0.6131 GB, free: 17.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01602/0.4614, allocations: 4.709 MB / 0.6177 GB, free: 12.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.692e-06/0.4615, allocations: 0 / 0.6177 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01257/0.474, allocations: 4.382 MB / 0.622 GB, free: 7.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4741, allocations: 8 kB / 0.622 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4741, allocations: 0.6094 kB / 0.622 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005793/0.4799, allocations: 1.9 MB / 0.6238 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.4808, allocations: 175.7 kB / 0.624 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.5016, allocations: 9.962 MB / 0.6337 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5032, allocations: 159 kB / 0.6339 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.5035, allocations: 45.61 kB / 0.6339 GB, free: 11.56 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.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: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0004632/0.5039, allocations: 234.9 kB / 0.6341 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.5043, allocations: 118.5 kB / 0.6343 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5172, allocations: 4.075 MB / 0.6382 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.5173, allocations: 8 kB / 0.6382 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5173, allocations: 0 / 0.6382 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-05/0.5173, allocations: 7.969 kB / 0.6382 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.5332, allocations: 5.728 MB / 0.6438 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.5333, allocations: 0 / 0.6438 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.5339, allocations: 95.83 kB / 0.6439 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005977/0.5399, allocations: 1.825 MB / 0.6457 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.5402, allocations: 23.98 kB / 0.6457 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01946/0.5596, allocations: 8.633 MB / 0.6542 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5597, allocations: 1.828 kB / 0.6542 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.5745, allocations: 4.997 MB / 0.6591 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.575, allocations: 211.4 kB / 0.6593 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/0.5754, allocations: 17.03 kB / 0.6593 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.5767, allocations: 103.9 kB / 0.6594 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006712/0.5774, allocations: 200.7 kB / 0.6596 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5775, allocations: 20.94 kB / 0.6596 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.5786, allocations: 0.6547 MB / 0.6602 GB, free: 268 kB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5786, allocations: 0 / 0.6602 GB, free: 268 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.00236/0.5809, allocations: 0.7179 MB / 0.6609 GB, free: 15.54 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.0003105/0.5813, allocations: 127 kB / 0.661 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01184/0.5931, allocations: 4.295 MB / 0.6652 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5932, allocations: 0 / 0.6652 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004551/0.5977, allocations: 1.58 MB / 0.6668 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.599, allocations: 104.2 kB / 0.6669 GB, free: 9.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.604, allocations: 2.557 MB / 0.6694 GB, free: 6.844 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007619/0.6048, allocations: 1.101 MB / 0.6704 GB, free: 5.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.6052, allocations: 71.42 kB / 0.6705 GB, free: 5.637 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6052, allocations: 4 kB / 0.6705 GB, free: 5.633 MB / 478.1 MB Notification: Performance of Templates: time 0.0291/0.6343, allocations: 21.23 MB / 0.6913 GB, free: 0.5508 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)