Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.006608/0.006608, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.331/1.331, allocations: 222.9 MB / 239.5 MB, free: 4.816 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.00146/0.00146, allocations: 188.5 kB / 289.8 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5059/0.5059, allocations: 91.9 MB / 431.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 76.09 kB / 0.5019 GB, free: 8.238 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3461, allocations: 71.27 MB / 0.5715 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.006137/0.3523, allocations: 6.676 MB / 0.578 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.3563, allocations: 1.992 MB / 0.5799 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.3575, allocations: 16.5 kB / 0.5799 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.3586, allocations: 181.5 kB / 0.5801 GB, free: 31.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.3608, allocations: 0.6438 MB / 0.5807 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3624, allocations: 0.6238 MB / 0.5813 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.3641, allocations: 1.387 MB / 0.5827 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.3647, allocations: 287.6 kB / 0.583 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.3657, allocations: 0.5484 MB / 0.5835 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3668, allocations: 0.7002 MB / 0.5842 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003737/0.3672, allocations: 65.09 kB / 0.5843 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007348/0.3679, allocations: 198.6 kB / 0.5844 GB, free: 29.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.3682, allocations: 248.2 kB / 0.5847 GB, free: 29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.369, allocations: 0.573 MB / 0.5852 GB, free: 28.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.3701, allocations: 1.174 MB / 0.5864 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3701, allocations: 0 / 0.5864 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3701, allocations: 0 / 0.5864 GB, free: 28.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.744e-05/0.3702, allocations: 3.625 kB / 0.5864 GB, free: 28.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.009052/0.3793, allocations: 2.552 MB / 0.5889 GB, free: 27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3793, allocations: 8.969 kB / 0.5889 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005197/0.3845, allocations: 0.7753 MB / 0.5896 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.3864, allocations: 0.8122 MB / 0.5904 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3866, allocations: 228.6 kB / 0.5907 GB, free: 26.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.3869, allocations: 78.28 kB / 0.5907 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.3906, allocations: 1.132 MB / 0.5918 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.3906, allocations: 3.938 kB / 0.5918 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.3908, allocations: 30.5 kB / 0.5919 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.3909, allocations: 19.03 kB / 0.5919 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.3934, allocations: 1.081 MB / 0.5929 GB, free: 25.24 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.006066/0.3994, allocations: 3.14 MB / 0.596 GB, free: 23.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.4025, allocations: 1.6 MB / 0.5976 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.404, allocations: 0.7637 MB / 0.5983 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4042, allocations: 14.66 kB / 0.5983 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.4042, allocations: 43.94 kB / 0.5984 GB, free: 22.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.496e-06/0.4042, allocations: 4 kB / 0.5984 GB, free: 22.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.0285/0.4327, allocations: 7.071 MB / 0.6053 GB, free: 20.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.4328, allocations: 86.58 kB / 0.6054 GB, free: 20.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.4347, allocations: 0.9426 MB / 0.6063 GB, free: 20.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.4349, allocations: 41.05 kB / 0.6063 GB, free: 20.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.4353, allocations: 490.1 kB / 0.6068 GB, free: 19.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.4358, allocations: 337.9 kB / 0.6071 GB, free: 19.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000548/0.4363, allocations: 206.4 kB / 0.6073 GB, free: 19.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.4364, allocations: 351.5 kB / 0.6077 GB, free: 19.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.438, allocations: 0.7067 MB / 0.6083 GB, free: 19.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.4396, allocations: 0.8363 MB / 0.6092 GB, free: 18.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0192/0.4588, allocations: 4.721 MB / 0.6138 GB, free: 17.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.4589, allocations: 5.156 kB / 0.6138 GB, free: 17.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01412/0.473, allocations: 4.416 MB / 0.6181 GB, free: 14.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4731, allocations: 11.94 kB / 0.6181 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.4731, allocations: 0 / 0.6181 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005888/0.479, allocations: 1.897 MB / 0.6199 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009193/0.48, allocations: 175.7 kB / 0.6201 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/0.4998, allocations: 9.174 MB / 0.6291 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.5017, allocations: 170.8 kB / 0.6292 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.502, allocations: 43.98 kB / 0.6293 GB, free: 3.082 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.002141/0.5042, allocations: 0.8695 MB / 0.6301 GB, free: 2.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001473/0.5057, allocations: 0.8267 MB / 0.6309 GB, free: 1.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0184/0.5241, allocations: 4.688 MB / 0.6355 GB, free: 12.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/0.5241, allocations: 0 / 0.6355 GB, free: 12.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01447/0.5386, allocations: 4.397 MB / 0.6398 GB, free: 8.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.5387, allocations: 8 kB / 0.6398 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5387, allocations: 0 / 0.6398 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006412/0.5451, allocations: 1.885 MB / 0.6417 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.5461, allocations: 183.7 kB / 0.6418 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.5685, allocations: 9.159 MB / 0.6508 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.5703, allocations: 159 kB / 0.6509 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.5706, allocations: 43.98 kB / 0.651 GB, free: 12.63 MB / 462.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.0005034/0.5711, allocations: 234.2 kB / 0.6512 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/0.5715, allocations: 114.6 kB / 0.6513 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.5848, allocations: 4.077 MB / 0.6553 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.5848, allocations: 15.94 kB / 0.6553 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5849, allocations: 0 / 0.6553 GB, free: 8.176 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.5849, allocations: 3.984 kB / 0.6553 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/0.6009, allocations: 5.724 MB / 0.6609 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/0.6009, allocations: 0 / 0.6609 GB, free: 2.316 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.6016, allocations: 91.84 kB / 0.661 GB, free: 2.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005997/0.6076, allocations: 1.835 MB / 0.6628 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/0.6079, allocations: 16 kB / 0.6628 GB, free: 380 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/0.6269, allocations: 7.855 MB / 0.6705 GB, free: 8.379 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.627, allocations: 4 kB / 0.6705 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/0.6423, allocations: 5.013 MB / 0.6754 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.6429, allocations: 211.4 kB / 0.6756 GB, free: 3.113 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/0.6433, allocations: 16 kB / 0.6756 GB, free: 3.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.6447, allocations: 103.9 kB / 0.6757 GB, free: 2.996 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007423/0.6454, allocations: 200.6 kB / 0.6759 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.6456, allocations: 27.94 kB / 0.6759 GB, free: 2.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.6468, allocations: 0.6508 MB / 0.6765 GB, free: 2.113 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6468, allocations: 0 / 0.6765 GB, free: 2.113 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002697/0.6496, allocations: 0.7179 MB / 0.6772 GB, free: 1.395 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.0003537/0.6499, allocations: 131.1 kB / 0.6774 GB, free: 1.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01203/0.662, allocations: 4.174 MB / 0.6814 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.662, allocations: 0 / 0.6814 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.6667, allocations: 1.544 MB / 0.6829 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6682, allocations: 96.3 kB / 0.683 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.6734, allocations: 2.557 MB / 0.6855 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/0.6743, allocations: 1.105 MB / 0.6866 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.6747, allocations: 67.42 kB / 0.6867 GB, free: 7.605 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6747, allocations: 0 / 0.6867 GB, free: 7.605 MB / 494.1 MB Notification: Performance of Templates: time 0.03174/0.7065, allocations: 21.22 MB / 0.7074 GB, free: 2.367 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)