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.001401/0.001401, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.001324/0.001324, allocations: 196.4 kB / 289.5 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4912/0.4912, allocations: 91.9 MB / 431.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 71.89 kB / 0.5019 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3244, allocations: 71.26 MB / 0.5715 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005167/0.3296, allocations: 6.338 MB / 0.5777 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003263/0.3329, allocations: 1.954 MB / 0.5796 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.3335, allocations: 10.94 kB / 0.5796 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.3342, allocations: 233.7 kB / 0.5798 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.3358, allocations: 0.7234 MB / 0.5805 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.3371, allocations: 0.656 MB / 0.5811 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.3382, allocations: 1.452 MB / 0.5826 GB, free: 30 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.3386, allocations: 331 kB / 0.5829 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006982/0.3393, allocations: 0.5943 MB / 0.5835 GB, free: 29.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007445/0.3401, allocations: 0.7313 MB / 0.5842 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.3403, allocations: 107.8 kB / 0.5843 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.3408, allocations: 247 kB / 0.5845 GB, free: 29.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.3411, allocations: 290.4 kB / 0.5848 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004509/0.3415, allocations: 0.6214 MB / 0.5854 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3427, allocations: 1.52 MB / 0.5869 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3428, allocations: 4 kB / 0.5869 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3428, allocations: 0 / 0.5869 GB, free: 27.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.061e-05/0.3428, allocations: 0 / 0.5869 GB, free: 27.86 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.008282/0.3511, allocations: 2.567 MB / 0.5894 GB, free: 26.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3511, allocations: 9.5 kB / 0.5894 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/0.356, allocations: 0.7682 MB / 0.5901 GB, free: 26.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.3574, allocations: 0.8175 MB / 0.5909 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3576, allocations: 220.8 kB / 0.5912 GB, free: 25.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.3577, allocations: 83.34 kB / 0.5912 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.3598, allocations: 1.128 MB / 0.5923 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3599, allocations: 3.938 kB / 0.5923 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.36, allocations: 31.06 kB / 0.5924 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.36, allocations: 18.28 kB / 0.5924 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002167/0.3621, allocations: 1.084 MB / 0.5934 GB, free: 24.93 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.004804/0.367, allocations: 3.138 MB / 0.5965 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.3698, allocations: 1.607 MB / 0.5981 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.3713, allocations: 0.7587 MB / 0.5988 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-05/0.3714, allocations: 20.53 kB / 0.5988 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.3714, allocations: 43.33 kB / 0.5989 GB, free: 21.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.695e-06/0.3714, allocations: 0 / 0.5989 GB, free: 21.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02836/0.3998, allocations: 7.064 MB / 0.6058 GB, free: 20.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3999, allocations: 88.02 kB / 0.6059 GB, free: 20.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.4013, allocations: 0.9513 MB / 0.6068 GB, free: 20.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.4015, allocations: 41.23 kB / 0.6068 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.4018, allocations: 498.9 kB / 0.6073 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.4021, allocations: 332.1 kB / 0.6076 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4025, allocations: 201.9 kB / 0.6078 GB, free: 19.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.4026, allocations: 351.4 kB / 0.6082 GB, free: 18.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4041, allocations: 0.7112 MB / 0.6088 GB, free: 18.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.4056, allocations: 0.8327 MB / 0.6097 GB, free: 18.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.424, allocations: 4.737 MB / 0.6143 GB, free: 16.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4241, allocations: 1.188 kB / 0.6143 GB, free: 16.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01338/0.4374, allocations: 4.413 MB / 0.6186 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.4375, allocations: 7.938 kB / 0.6186 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4375, allocations: 4 kB / 0.6186 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006021/0.4436, allocations: 1.897 MB / 0.6205 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.4445, allocations: 183.7 kB / 0.6206 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/0.4651, allocations: 9.955 MB / 0.6304 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.4666, allocations: 178.8 kB / 0.6305 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.814e-05/0.4667, allocations: 43.92 kB / 0.6306 GB, free: 1.465 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.001624/0.4683, allocations: 0.8678 MB / 0.6314 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/0.4698, allocations: 0.8267 MB / 0.6322 GB, free: 15.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0184/0.4882, allocations: 4.708 MB / 0.6368 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/0.4882, allocations: 0 / 0.6368 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01444/0.5027, allocations: 4.382 MB / 0.6411 GB, free: 6.605 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5027, allocations: 8 kB / 0.6411 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.5027, allocations: 4 kB / 0.6411 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/0.5094, allocations: 1.897 MB / 0.643 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008784/0.5103, allocations: 171.7 kB / 0.6431 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.5338, allocations: 9.967 MB / 0.6529 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.5355, allocations: 166.9 kB / 0.653 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5357, allocations: 43.98 kB / 0.6531 GB, free: 10.2 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.0003457/0.536, allocations: 232.1 kB / 0.6533 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.5363, allocations: 114.6 kB / 0.6534 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.55, allocations: 4.077 MB / 0.6574 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.55, allocations: 8 kB / 0.6574 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.55, allocations: 0 / 0.6574 GB, free: 5.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5501, allocations: 3.984 kB / 0.6574 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/0.5657, allocations: 5.728 MB / 0.663 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.5657, allocations: 0 / 0.663 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.5663, allocations: 95.83 kB / 0.6631 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006329/0.5727, allocations: 1.835 MB / 0.6649 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.5728, allocations: 16 kB / 0.6649 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/0.5936, allocations: 8.63 MB / 0.6733 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5936, allocations: 0 / 0.6733 GB, free: 5.156 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.6092, allocations: 4.997 MB / 0.6782 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/0.6098, allocations: 207.5 kB / 0.6784 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.61, allocations: 20 kB / 0.6784 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6111, allocations: 103.9 kB / 0.6785 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006137/0.6117, allocations: 200.7 kB / 0.6787 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.6118, allocations: 24 kB / 0.6787 GB, free: 15.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009207/0.6127, allocations: 0.6469 MB / 0.6794 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6127, allocations: 0 / 0.6794 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001869/0.6146, allocations: 0.714 MB / 0.68 GB, free: 14.2 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.0002646/0.6149, allocations: 129.7 kB / 0.6802 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01227/0.6272, allocations: 4.308 MB / 0.6844 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6272, allocations: 0 / 0.6844 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004772/0.632, allocations: 1.578 MB / 0.6859 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.6329, allocations: 104.2 kB / 0.686 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.6369, allocations: 2.113 MB / 0.6881 GB, free: 5.898 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.6375, allocations: 1.113 MB / 0.6892 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004486/0.638, allocations: 119.1 kB / 0.6893 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6382, allocations: 63.42 kB / 0.6893 GB, free: 4.566 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.6382, allocations: 0 / 0.6893 GB, free: 4.566 MB / 494.1 MB Notification: Performance of Templates: time 0.04935/0.6875, allocations: 33.15 MB / 0.7217 GB, free: 3.418 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)