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.000982/0.000982, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.226/1.226, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001103/0.001103, allocations: 184.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4155/0.4155, allocations: 78.52 MB / 417.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 79.86 kB / 496.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1142, allocations: 68.18 MB / 0.5517 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.2044/0.3187, allocations: 6.654 MB / 0.5582 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.3223, allocations: 1.983 MB / 0.5601 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007722/0.3231, allocations: 11.38 kB / 0.5601 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006909/0.3238, allocations: 182.5 kB / 0.5603 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.3256, allocations: 0.6407 MB / 0.5609 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3269, allocations: 0.6207 MB / 0.5616 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3283, allocations: 1.386 MB / 0.5629 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.3287, allocations: 285.2 kB / 0.5632 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007131/0.3294, allocations: 0.5503 MB / 0.5637 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.3301, allocations: 0.6968 MB / 0.5644 GB, free: 35 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.3302, allocations: 67.25 kB / 0.5645 GB, free: 35 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.3307, allocations: 195 kB / 0.5646 GB, free: 34.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3309, allocations: 248 kB / 0.5649 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.3313, allocations: 0.5829 MB / 0.5654 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3325, allocations: 1.488 MB / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3325, allocations: 4.219 kB / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3325, allocations: 0 / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.3325, allocations: 0 / 0.5669 GB, free: 34.36 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.007595/0.3401, allocations: 2.558 MB / 0.5694 GB, free: 33.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3402, allocations: 11.22 kB / 0.5694 GB, free: 33.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.3448, allocations: 0.7695 MB / 0.5702 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.346, allocations: 0.8174 MB / 0.571 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.3461, allocations: 224.5 kB / 0.5712 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.3463, allocations: 74.5 kB / 0.5713 GB, free: 32.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.3482, allocations: 1.131 MB / 0.5724 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3482, allocations: 3.938 kB / 0.5724 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.3483, allocations: 28.75 kB / 0.5724 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3483, allocations: 18.78 kB / 0.5724 GB, free: 32.74 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.3502, allocations: 1.092 MB / 0.5735 GB, free: 32.72 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.004526/0.3548, allocations: 3.138 MB / 0.5765 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.3574, allocations: 1.599 MB / 0.5781 GB, free: 30.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.3587, allocations: 0.7626 MB / 0.5788 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.3588, allocations: 16.16 kB / 0.5789 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3588, allocations: 49.44 kB / 0.5789 GB, free: 30.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.745e-06/0.3588, allocations: 0 / 0.5789 GB, free: 30.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02574/0.3846, allocations: 7.068 MB / 0.5858 GB, free: 29.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3847, allocations: 88.33 kB / 0.5859 GB, free: 29.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3861, allocations: 0.9407 MB / 0.5868 GB, free: 28.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.3863, allocations: 41.91 kB / 0.5868 GB, free: 28.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.3866, allocations: 494.1 kB / 0.5873 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.3869, allocations: 340.8 kB / 0.5876 GB, free: 28.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000374/0.3872, allocations: 202.2 kB / 0.5878 GB, free: 28.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.3873, allocations: 346.4 kB / 0.5882 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3888, allocations: 0.7115 MB / 0.5889 GB, free: 27.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00151/0.3903, allocations: 0.841 MB / 0.5897 GB, free: 27.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01788/0.4082, allocations: 4.725 MB / 0.5943 GB, free: 25.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.4082, allocations: 1.188 kB / 0.5943 GB, free: 25.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01433/0.4226, allocations: 4.402 MB / 0.5986 GB, free: 24.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.4227, allocations: 10.66 kB / 0.5986 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4227, allocations: 2.797 kB / 0.5986 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006517/0.4292, allocations: 1.897 MB / 0.6005 GB, free: 24.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.4302, allocations: 179.1 kB / 0.6006 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/0.4501, allocations: 9.169 MB / 0.6096 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.4517, allocations: 173.2 kB / 0.6098 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.4518, allocations: 43.67 kB / 0.6098 GB, free: 19.31 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.001619/0.4534, allocations: 0.8667 MB / 0.6106 GB, free: 18.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.4547, allocations: 0.8216 MB / 0.6114 GB, free: 18.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01546/0.4702, allocations: 4.702 MB / 0.616 GB, free: 13.35 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/0.4702, allocations: 0 / 0.616 GB, free: 13.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01202/0.4822, allocations: 4.39 MB / 0.6203 GB, free: 8.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4823, allocations: 4 kB / 0.6203 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4823, allocations: 4 kB / 0.6203 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005395/0.4877, allocations: 1.896 MB / 0.6222 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.4886, allocations: 171.8 kB / 0.6223 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.5066, allocations: 9.164 MB / 0.6313 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.5081, allocations: 168.9 kB / 0.6315 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.5082, allocations: 39.98 kB / 0.6315 GB, free: 13.38 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.000316/0.5086, allocations: 232.9 kB / 0.6317 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.5088, allocations: 114.6 kB / 0.6318 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.5211, allocations: 4.069 MB / 0.6358 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.5212, allocations: 11.94 kB / 0.6358 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.5212, allocations: 0 / 0.6358 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.5212, allocations: 7.984 kB / 0.6358 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.5357, allocations: 5.732 MB / 0.6414 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/0.5357, allocations: 1.219 kB / 0.6414 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.5364, allocations: 91.89 kB / 0.6415 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005787/0.5421, allocations: 1.826 MB / 0.6433 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.5423, allocations: 16 kB / 0.6433 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.5594, allocations: 7.866 MB / 0.651 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5594, allocations: 4 kB / 0.651 GB, free: 9.109 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.5732, allocations: 5.001 MB / 0.6559 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.5736, allocations: 207.4 kB / 0.6561 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.5737, allocations: 20 kB / 0.6561 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/0.5747, allocations: 107.9 kB / 0.6562 GB, free: 3.738 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005477/0.5753, allocations: 199.6 kB / 0.6564 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/0.5754, allocations: 27.94 kB / 0.6564 GB, free: 3.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008259/0.5762, allocations: 0.643 MB / 0.657 GB, free: 2.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5762, allocations: 1.031 kB / 0.657 GB, free: 2.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001733/0.5779, allocations: 0.7179 MB / 0.6577 GB, free: 2.148 MB / 462.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.0002255/0.5782, allocations: 127.2 kB / 0.6579 GB, free: 2.016 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01043/0.5886, allocations: 4.176 MB / 0.6619 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.5886, allocations: 4.438 kB / 0.6619 GB, free: 13.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004183/0.5928, allocations: 1.545 MB / 0.6635 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.5937, allocations: 100.3 kB / 0.6635 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.5976, allocations: 2.511 MB / 0.666 GB, free: 9.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.5982, allocations: 1.109 MB / 0.6671 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.5986, allocations: 114.8 kB / 0.6672 GB, free: 8.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5988, allocations: 67.42 kB / 0.6673 GB, free: 8.336 MB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5989, allocations: 0 / 0.6673 GB, free: 8.336 MB / 478.1 MB Notification: Performance of Templates: time 0.03686/0.6357, allocations: 30.31 MB / 0.6969 GB, free: 10.18 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)