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.001022/0.001022, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.27/1.27, allocations: 222.9 MB / 240 MB, free: 4.516 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.001235/0.001235, allocations: 192.4 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4821/0.4821, allocations: 91.9 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 79.86 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.305, allocations: 71.26 MB / 0.5729 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005137/0.3102, allocations: 6.337 MB / 0.5791 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.3133, allocations: 1.94 MB / 0.581 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004638/0.3138, allocations: 15.94 kB / 0.581 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.3144, allocations: 237.1 kB / 0.5812 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.3157, allocations: 0.7248 MB / 0.5819 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3169, allocations: 0.6629 MB / 0.5826 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.318, allocations: 1.467 MB / 0.584 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.3184, allocations: 319.2 kB / 0.5843 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.3189, allocations: 0.5984 MB / 0.5849 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.3195, allocations: 0.7359 MB / 0.5856 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.3196, allocations: 105.4 kB / 0.5857 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.32, allocations: 245.9 kB / 0.5859 GB, free: 29.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.3202, allocations: 289.6 kB / 0.5862 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.3206, allocations: 0.615 MB / 0.5868 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3216, allocations: 1.543 MB / 0.5883 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3216, allocations: 0 / 0.5883 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3216, allocations: 0 / 0.5883 GB, free: 28.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.3217, allocations: 4.5 kB / 0.5883 GB, free: 28.18 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.00701/0.3287, allocations: 2.564 MB / 0.5908 GB, free: 27.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3287, allocations: 12.94 kB / 0.5908 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004616/0.3333, allocations: 0.7648 MB / 0.5916 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.3347, allocations: 0.8344 MB / 0.5924 GB, free: 26.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3349, allocations: 217.6 kB / 0.5926 GB, free: 26.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.335, allocations: 80.88 kB / 0.5927 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.3369, allocations: 1.126 MB / 0.5938 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3369, allocations: 3.938 kB / 0.5938 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.13e-05/0.337, allocations: 30.09 kB / 0.5938 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.3371, allocations: 24.67 kB / 0.5938 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.339, allocations: 1.082 MB / 0.5949 GB, free: 25.25 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.004848/0.3439, allocations: 3.118 MB / 0.5979 GB, free: 23.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.3465, allocations: 1.596 MB / 0.5995 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3479, allocations: 0.7641 MB / 0.6003 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.348, allocations: 17.81 kB / 0.6003 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.348, allocations: 42.53 kB / 0.6003 GB, free: 22.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.146e-06/0.348, allocations: 4 kB / 0.6003 GB, free: 22.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02584/0.3739, allocations: 7.064 MB / 0.6072 GB, free: 20.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.374, allocations: 88.22 kB / 0.6073 GB, free: 20.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3753, allocations: 0.9466 MB / 0.6082 GB, free: 20.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001833/0.3755, allocations: 41.98 kB / 0.6083 GB, free: 20.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.3758, allocations: 498.4 kB / 0.6087 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.3761, allocations: 332.7 kB / 0.6091 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.3765, allocations: 207.1 kB / 0.6093 GB, free: 19.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.3766, allocations: 349.6 kB / 0.6096 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.3779, allocations: 0.708 MB / 0.6103 GB, free: 19.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3794, allocations: 0.8406 MB / 0.6111 GB, free: 18.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0164/0.3958, allocations: 4.72 MB / 0.6157 GB, free: 16.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.3958, allocations: 4 kB / 0.6157 GB, free: 16.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01199/0.4078, allocations: 4.406 MB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.4079, allocations: 7.938 kB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.4079, allocations: 4 kB / 0.62 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/0.4133, allocations: 1.889 MB / 0.6219 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.4143, allocations: 179.7 kB / 0.622 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.4329, allocations: 9.957 MB / 0.6318 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4346, allocations: 178.8 kB / 0.6319 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.4347, allocations: 51.91 kB / 0.632 GB, free: 1.324 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.001474/0.4362, allocations: 0.8617 MB / 0.6328 GB, free: 468 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001314/0.4375, allocations: 0.8267 MB / 0.6336 GB, free: 15.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01676/0.4542, allocations: 4.689 MB / 0.6382 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.959e-06/0.4543, allocations: 0 / 0.6382 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01291/0.4672, allocations: 4.382 MB / 0.6425 GB, free: 6.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4673, allocations: 11.98 kB / 0.6425 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4673, allocations: 4 kB / 0.6425 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/0.4732, allocations: 1.897 MB / 0.6444 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.4741, allocations: 175.8 kB / 0.6445 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/0.4962, allocations: 9.943 MB / 0.6542 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.4977, allocations: 167 kB / 0.6544 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4978, allocations: 32 kB / 0.6544 GB, free: 10.1 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.0003102/0.4982, allocations: 240 kB / 0.6547 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.4984, allocations: 118.6 kB / 0.6548 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.5104, allocations: 4.069 MB / 0.6587 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5105, allocations: 12 kB / 0.6588 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5105, allocations: 0 / 0.6588 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.5105, allocations: 7.969 kB / 0.6588 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.5248, allocations: 5.716 MB / 0.6643 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.5248, allocations: 0 / 0.6643 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.5254, allocations: 91.89 kB / 0.6644 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005552/0.531, allocations: 1.835 MB / 0.6662 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.5311, allocations: 16 kB / 0.6662 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/0.5497, allocations: 8.619 MB / 0.6747 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5497, allocations: 0 / 0.6747 GB, free: 5.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.5635, allocations: 5.011 MB / 0.6796 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.5639, allocations: 215.4 kB / 0.6798 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.5641, allocations: 16 kB / 0.6798 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.5651, allocations: 99.88 kB / 0.6799 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005767/0.5657, allocations: 204.7 kB / 0.6801 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5658, allocations: 23.98 kB / 0.6801 GB, free: 15.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008707/0.5666, allocations: 0.6469 MB / 0.6807 GB, free: 14.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5666, allocations: 0 / 0.6807 GB, free: 14.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001721/0.5684, allocations: 0.714 MB / 0.6814 GB, free: 14.1 MB / 494.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.0002489/0.5686, allocations: 133.7 kB / 0.6815 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.5791, allocations: 4.26 MB / 0.6857 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5791, allocations: 0 / 0.6857 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004242/0.5834, allocations: 1.586 MB / 0.6872 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.5842, allocations: 107.6 kB / 0.6874 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/0.588, allocations: 2.083 MB / 0.6894 GB, free: 5.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.5887, allocations: 1.105 MB / 0.6905 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.5891, allocations: 119.1 kB / 0.6906 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.5893, allocations: 63.42 kB / 0.6906 GB, free: 4.543 MB / 494.1 MB Notification: Performance of SimCode: time 1.083e-06/0.5893, allocations: 0 / 0.6906 GB, free: 4.543 MB / 494.1 MB Notification: Performance of Templates: time 0.04465/0.634, allocations: 33.17 MB / 0.723 GB, free: 3.367 MB / 0.5137 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)