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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008822, allocations: 109.4 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.411/0.411, allocations: 78.51 MB / 418.5 MB, free: 8.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 63.91 kB / 497.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.241, allocations: 68.16 MB / 0.5524 GB, free: 19.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005006/0.2461, allocations: 6.644 MB / 0.5589 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002881/0.249, allocations: 1.997 MB / 0.5608 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004172/0.2494, allocations: 16 kB / 0.5609 GB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.25, allocations: 178.8 kB / 0.561 GB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.2511, allocations: 0.6473 MB / 0.5617 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009995/0.2521, allocations: 0.6206 MB / 0.5623 GB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007983/0.2529, allocations: 1.413 MB / 0.5637 GB, free: 8.359 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.2532, allocations: 287.4 kB / 0.5639 GB, free: 8.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.2536, allocations: 0.5521 MB / 0.5645 GB, free: 7.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.2541, allocations: 0.6999 MB / 0.5651 GB, free: 6.816 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.2542, allocations: 68 kB / 0.5652 GB, free: 6.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.2545, allocations: 199.8 kB / 0.5654 GB, free: 6.555 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.2547, allocations: 246.8 kB / 0.5656 GB, free: 6.312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.255, allocations: 0.5745 MB / 0.5662 GB, free: 5.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007778/0.2558, allocations: 1.487 MB / 0.5677 GB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2558, allocations: 4 kB / 0.5677 GB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2558, allocations: 0 / 0.5677 GB, free: 4.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2559, allocations: 0 / 0.5677 GB, free: 4.238 MB / 378.7 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.006952/0.2628, allocations: 2.556 MB / 0.5702 GB, free: 1.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2629, allocations: 12.03 kB / 0.5702 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.2672, allocations: 0.7711 MB / 0.5709 GB, free: 0.8438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2682, allocations: 0.8148 MB / 0.5717 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.2684, allocations: 222.5 kB / 0.5719 GB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.2685, allocations: 76 kB / 0.572 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.2706, allocations: 1.129 MB / 0.5731 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.2707, allocations: 3.938 kB / 0.5731 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.2708, allocations: 32 kB / 0.5731 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2708, allocations: 23.88 kB / 0.5732 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.2729, allocations: 1.074 MB / 0.5742 GB, free: 13.37 MB / 394.7 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.004795/0.2777, allocations: 3.151 MB / 0.5773 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.2806, allocations: 1.598 MB / 0.5788 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.282, allocations: 0.7697 MB / 0.5796 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.2822, allocations: 16.98 kB / 0.5796 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2822, allocations: 43.5 kB / 0.5797 GB, free: 7.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 2.254e-06/0.2822, allocations: 0 / 0.5797 GB, free: 7.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.02754/0.3098, allocations: 7.067 MB / 0.5866 GB, free: 448 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3098, allocations: 94.09 kB / 0.5866 GB, free: 336 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3111, allocations: 0.9417 MB / 0.5876 GB, free: 15.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3112, allocations: 45.7 kB / 0.5876 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.3115, allocations: 492.5 kB / 0.5881 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.3118, allocations: 335.1 kB / 0.5884 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.3122, allocations: 202.8 kB / 0.5886 GB, free: 14.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3123, allocations: 353.9 kB / 0.5889 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3138, allocations: 0.7125 MB / 0.5896 GB, free: 13.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.3153, allocations: 0.8346 MB / 0.5904 GB, free: 12.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01774/0.3331, allocations: 4.719 MB / 0.595 GB, free: 7.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3331, allocations: 0 / 0.595 GB, free: 7.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01389/0.347, allocations: 4.406 MB / 0.5993 GB, free: 3.184 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3471, allocations: 7.938 kB / 0.5994 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3471, allocations: 4 kB / 0.5994 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006347/0.3534, allocations: 1.901 MB / 0.6012 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.3542, allocations: 179.7 kB / 0.6014 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02192/0.3762, allocations: 9.172 MB / 0.6103 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.3777, allocations: 174.9 kB / 0.6105 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.585e-05/0.3778, allocations: 39.98 kB / 0.6106 GB, free: 7.57 MB / 426.7 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.001786/0.3796, allocations: 0.8695 MB / 0.6114 GB, free: 6.695 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001508/0.3811, allocations: 0.8228 MB / 0.6122 GB, free: 5.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01807/0.3992, allocations: 4.692 MB / 0.6168 GB, free: 1.117 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.3992, allocations: 0 / 0.6168 GB, free: 1.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01388/0.4131, allocations: 4.39 MB / 0.6211 GB, free: 12.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4132, allocations: 8 kB / 0.6211 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4132, allocations: 0 / 0.6211 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006552/0.4197, allocations: 1.897 MB / 0.6229 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/0.4206, allocations: 167.8 kB / 0.6231 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/0.442, allocations: 9.171 MB / 0.632 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4435, allocations: 159 kB / 0.6322 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/0.4436, allocations: 47.92 kB / 0.6322 GB, free: 1.121 MB / 442.7 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.0002856/0.4439, allocations: 240.9 kB / 0.6325 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.4441, allocations: 114.6 kB / 0.6326 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/0.4575, allocations: 4.069 MB / 0.6366 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.4575, allocations: 11.94 kB / 0.6366 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4576, allocations: 4 kB / 0.6366 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.4576, allocations: 3.984 kB / 0.6366 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.4729, allocations: 5.723 MB / 0.6422 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.473, allocations: 7.984 kB / 0.6422 GB, free: 6.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.4735, allocations: 87.91 kB / 0.6423 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006101/0.4797, allocations: 1.827 MB / 0.644 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.4798, allocations: 20 kB / 0.6441 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.4982, allocations: 7.867 MB / 0.6517 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.4982, allocations: 0 / 0.6517 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2992/0.7974, allocations: 33.06 MB / 0.684 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.7977, allocations: 208.3 kB / 0.6842 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.7979, allocations: 18.84 kB / 0.6843 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.799, allocations: 108.4 kB / 0.6844 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006324/0.7997, allocations: 194.2 kB / 0.6845 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.522e-05/0.7997, allocations: 24.11 kB / 0.6846 GB, free: 108 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009186/0.8007, allocations: 0.6474 MB / 0.6852 GB, free: 107.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.8007, allocations: 1.906 kB / 0.6852 GB, free: 107.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002944/0.8036, allocations: 1.059 MB / 0.6862 GB, free: 107.9 MB / 490.7 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.0002358/0.8039, allocations: 132.6 kB / 0.6864 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01162/0.8155, allocations: 4.184 MB / 0.6904 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8156, allocations: 3.25 kB / 0.6904 GB, free: 107.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00464/0.8202, allocations: 1.535 MB / 0.6919 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.821, allocations: 103.2 kB / 0.692 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.8287, allocations: 3.846 MB / 0.6958 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.8293, allocations: 1.137 MB / 0.6969 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005097/0.8298, allocations: 126.6 kB / 0.697 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.83, allocations: 64.44 kB / 0.6971 GB, free: 103.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.83, allocations: 0 / 0.6971 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04284/0.8728, allocations: 41.18 MB / 0.7373 GB, free: 71.92 MB / 490.7 MB 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)