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.0009964/0.0009964, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.278/1.278, allocations: 222.9 MB / 239 MB, free: 4.738 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.001092/0.001092, allocations: 195.7 kB / 289.2 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4252/0.4252, allocations: 78.53 MB / 417.9 MB, free: 3.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 83.88 kB / 497 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1243, allocations: 68.17 MB / 0.5519 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2224/0.3468, allocations: 6.652 MB / 0.5584 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.3502, allocations: 1.964 MB / 0.5603 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.3509, allocations: 13.56 kB / 0.5603 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007216/0.3517, allocations: 188 kB / 0.5605 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.3535, allocations: 0.6272 MB / 0.5611 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3548, allocations: 0.6142 MB / 0.5617 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.3562, allocations: 1.456 MB / 0.5631 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004187/0.3566, allocations: 322.8 kB / 0.5634 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.3573, allocations: 0.6048 MB / 0.564 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.358, allocations: 0.7363 MB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.3581, allocations: 107.1 kB / 0.5648 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.3585, allocations: 247.9 kB / 0.5651 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.3587, allocations: 292.6 kB / 0.5654 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.3591, allocations: 0.6163 MB / 0.566 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3604, allocations: 1.522 MB / 0.5674 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3604, allocations: 2.719 kB / 0.5674 GB, free: 34.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3604, allocations: 2.625 kB / 0.5675 GB, free: 34.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.3604, allocations: 0 / 0.5675 GB, free: 34.16 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.007634/0.3681, allocations: 2.563 MB / 0.57 GB, free: 33.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3682, allocations: 8.781 kB / 0.57 GB, free: 33.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/0.3728, allocations: 0.771 MB / 0.5707 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.374, allocations: 0.8171 MB / 0.5715 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.3742, allocations: 223 kB / 0.5717 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.3743, allocations: 73.59 kB / 0.5718 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3764, allocations: 1.134 MB / 0.5729 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3764, allocations: 3.938 kB / 0.5729 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.26e-05/0.3765, allocations: 29.12 kB / 0.5729 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3765, allocations: 21.16 kB / 0.573 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3785, allocations: 1.083 MB / 0.574 GB, free: 32.51 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.004449/0.3829, allocations: 3.15 MB / 0.5771 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.3856, allocations: 1.6 MB / 0.5787 GB, free: 30.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.3868, allocations: 0.7572 MB / 0.5794 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3869, allocations: 23.47 kB / 0.5794 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.387, allocations: 42.34 kB / 0.5795 GB, free: 30.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.846e-06/0.387, allocations: 0 / 0.5795 GB, free: 30.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02603/0.413, allocations: 7.062 MB / 0.5863 GB, free: 28.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.4131, allocations: 87.89 kB / 0.5864 GB, free: 28.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.4145, allocations: 0.9464 MB / 0.5874 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.4147, allocations: 40.95 kB / 0.5874 GB, free: 28.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.415, allocations: 498.7 kB / 0.5879 GB, free: 27.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.4153, allocations: 333.4 kB / 0.5882 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.4157, allocations: 202.6 kB / 0.5884 GB, free: 27.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4159, allocations: 349.4 kB / 0.5887 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.4174, allocations: 0.7084 MB / 0.5894 GB, free: 27.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.419, allocations: 0.8364 MB / 0.5902 GB, free: 26.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01822/0.4372, allocations: 4.74 MB / 0.5949 GB, free: 25.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4373, allocations: 1.406 kB / 0.5949 GB, free: 25.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01404/0.4513, allocations: 4.405 MB / 0.5992 GB, free: 24.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.4514, allocations: 9.844 kB / 0.5992 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4514, allocations: 9.922 kB / 0.5992 GB, free: 24.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.458, allocations: 1.898 MB / 0.601 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.459, allocations: 171.5 kB / 0.6012 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/0.4808, allocations: 9.96 MB / 0.6109 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4824, allocations: 175.9 kB / 0.6111 GB, free: 18.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.4826, allocations: 43.64 kB / 0.6111 GB, free: 18.42 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.001609/0.4842, allocations: 0.8719 MB / 0.612 GB, free: 17.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001267/0.4855, allocations: 0.8228 MB / 0.6128 GB, free: 16.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01619/0.5017, allocations: 4.715 MB / 0.6174 GB, free: 12.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-05/0.5017, allocations: 0 / 0.6174 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0127/0.5144, allocations: 4.382 MB / 0.6217 GB, free: 7.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5145, allocations: 8 kB / 0.6217 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5145, allocations: 4.547 kB / 0.6217 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005621/0.5201, allocations: 1.891 MB / 0.6235 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008467/0.521, allocations: 175.7 kB / 0.6237 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.5422, allocations: 9.962 MB / 0.6334 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.5439, allocations: 167 kB / 0.6336 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.5441, allocations: 42.73 kB / 0.6336 GB, free: 11.3 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.0004635/0.5446, allocations: 238.7 kB / 0.6339 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/0.5449, allocations: 114.6 kB / 0.634 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.5577, allocations: 4.073 MB / 0.6379 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5578, allocations: 8 kB / 0.6379 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5578, allocations: 0 / 0.6379 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.5578, allocations: 4.781 kB / 0.638 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.573, allocations: 5.731 MB / 0.6435 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.5731, allocations: 0.75 kB / 0.6435 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005615/0.5736, allocations: 87.89 kB / 0.6436 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/0.5794, allocations: 1.833 MB / 0.6454 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.5796, allocations: 20 kB / 0.6454 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/0.5991, allocations: 8.633 MB / 0.6539 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5992, allocations: 0 / 0.6539 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.6138, allocations: 5.001 MB / 0.6588 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/0.6143, allocations: 215.3 kB / 0.659 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003201/0.6147, allocations: 20 kB / 0.659 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.616, allocations: 106.9 kB / 0.6591 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/0.6167, allocations: 196.7 kB / 0.6593 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.493e-05/0.6168, allocations: 28.94 kB / 0.6593 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.6179, allocations: 0.643 MB / 0.6599 GB, free: 0 / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6179, allocations: 0 / 0.6599 GB, free: 0 / 462.1 MB Notification: Performance of remove unused functions: time 0.002492/0.6204, allocations: 0.7179 MB / 0.6606 GB, free: 15.28 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.0003071/0.6208, allocations: 127.6 kB / 0.6607 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01179/0.6326, allocations: 4.292 MB / 0.6649 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6326, allocations: 0 / 0.6649 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004572/0.6372, allocations: 1.583 MB / 0.6665 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6384, allocations: 103 kB / 0.6666 GB, free: 9.148 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.6435, allocations: 2.504 MB / 0.669 GB, free: 6.641 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/0.6444, allocations: 1.113 MB / 0.6701 GB, free: 5.492 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000547/0.6449, allocations: 116.9 kB / 0.6702 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.6452, allocations: 67.42 kB / 0.6703 GB, free: 5.312 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6452, allocations: 0 / 0.6703 GB, free: 5.312 MB / 478.1 MB Notification: Performance of Templates: time 0.04795/0.6931, allocations: 32.12 MB / 0.7017 GB, free: 5.344 MB / 0.4981 GB 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)