Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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 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_release_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_release_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.0008753/0.0008754, allocations: 175.7 kB / 16.07 MB, free: 5.578 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.289/1.289, allocations: 222.8 MB / 239.7 MB, free: 11.88 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.0007306/0.0007307, allocations: 93.11 kB / 290.4 MB, free: 11.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4419/0.4419, allocations: 78.42 MB / 419.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003681, allocations: 16.22 kB / 499.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 68.73 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005099/0.3016, allocations: 6.653 MB / 0.561 GB, free: 13.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.3048, allocations: 1.989 MB / 0.5629 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005785/0.3054, allocations: 12 kB / 0.563 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.306, allocations: 182.8 kB / 0.5631 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3074, allocations: 0.6409 MB / 0.5638 GB, free: 10.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3085, allocations: 0.6068 MB / 0.5644 GB, free: 10.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.3095, allocations: 1.393 MB / 0.5657 GB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.3098, allocations: 283.4 kB / 0.566 GB, free: 8.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004868/0.3103, allocations: 0.5403 MB / 0.5665 GB, free: 7.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.3108, allocations: 0.6608 MB / 0.5672 GB, free: 7.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3109, allocations: 52 kB / 0.5672 GB, free: 7.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.3113, allocations: 183.9 kB / 0.5674 GB, free: 6.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3115, allocations: 230.8 kB / 0.5676 GB, free: 6.766 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.3118, allocations: 0.555 MB / 0.5681 GB, free: 6.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007098/0.3125, allocations: 1.145 MB / 0.5693 GB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3125, allocations: 0 / 0.5693 GB, free: 5.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3125, allocations: 0 / 0.5693 GB, free: 5.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3125, allocations: 0 / 0.5693 GB, free: 5.059 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.006877/0.3194, allocations: 2.311 MB / 0.5715 GB, free: 2.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3195, allocations: 15.97 kB / 0.5715 GB, free: 2.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.3242, allocations: 0.7711 MB / 0.5723 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3254, allocations: 0.8109 MB / 0.5731 GB, free: 1.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3256, allocations: 222.5 kB / 0.5733 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3257, allocations: 76 kB / 0.5734 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.3277, allocations: 1.133 MB / 0.5745 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3277, allocations: 3.938 kB / 0.5745 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.3278, allocations: 39.94 kB / 0.5745 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3278, allocations: 19.94 kB / 0.5745 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.33, allocations: 1.078 MB / 0.5756 GB, free: 14.43 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.005115/0.3351, allocations: 3.159 MB / 0.5787 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.338, allocations: 1.589 MB / 0.5802 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.3394, allocations: 0.7697 MB / 0.581 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/0.3395, allocations: 16.98 kB / 0.581 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3395, allocations: 39.56 kB / 0.581 GB, free: 8.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 3.046e-06/0.3395, allocations: 0 / 0.581 GB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.0267/0.3662, allocations: 7.059 MB / 0.5879 GB, free: 1.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.3663, allocations: 94.03 kB / 0.588 GB, free: 1.395 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.3678, allocations: 0.9533 MB / 0.5889 GB, free: 432 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.368, allocations: 41.7 kB / 0.589 GB, free: 384 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.3684, allocations: 492.5 kB / 0.5894 GB, free: 15.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.3687, allocations: 327.2 kB / 0.5898 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3689, allocations: 105.7 kB / 0.5899 GB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.369, allocations: 349.9 kB / 0.5902 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3705, allocations: 0.7014 MB / 0.5909 GB, free: 14.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.372, allocations: 0.8345 MB / 0.5917 GB, free: 13.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01732/0.3893, allocations: 4.727 MB / 0.5963 GB, free: 8.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.3893, allocations: 0 / 0.5963 GB, free: 8.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01374/0.4031, allocations: 4.405 MB / 0.6006 GB, free: 4.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.4033, allocations: 159.2 kB / 0.6008 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4033, allocations: 4 kB / 0.6008 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006158/0.4095, allocations: 1.889 MB / 0.6026 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.4104, allocations: 175.7 kB / 0.6028 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.4313, allocations: 9.184 MB / 0.6118 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4328, allocations: 171 kB / 0.6119 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4329, allocations: 47.92 kB / 0.612 GB, free: 8.566 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.433, allocations: 0 / 0.612 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01325/0.4462, allocations: 4.257 MB / 0.6161 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.4463, allocations: 7.938 kB / 0.6161 GB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006162/0.4524, allocations: 1.889 MB / 0.618 GB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.4533, allocations: 171.7 kB / 0.6181 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/0.4741, allocations: 9.145 MB / 0.6271 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4756, allocations: 159 kB / 0.6272 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4757, allocations: 43.92 kB / 0.6273 GB, free: 8.734 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.0005699/0.4763, allocations: 320.9 kB / 0.6276 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.4765, allocations: 114.6 kB / 0.6277 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.4897, allocations: 4.081 MB / 0.6317 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.4897, allocations: 8 kB / 0.6317 GB, free: 4.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4897, allocations: 4 kB / 0.6317 GB, free: 4.195 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.4898, allocations: 7.922 kB / 0.6317 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.5046, allocations: 5.727 MB / 0.6373 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.5047, allocations: 0 / 0.6373 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.5053, allocations: 87.91 kB / 0.6374 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005978/0.5113, allocations: 1.831 MB / 0.6391 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.5115, allocations: 23.94 kB / 0.6392 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.5294, allocations: 7.848 MB / 0.6468 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5295, allocations: 0 / 0.6468 GB, free: 4.379 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.5447, allocations: 5.013 MB / 0.6517 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.5452, allocations: 207.5 kB / 0.6519 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.5454, allocations: 20 kB / 0.6519 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5464, allocations: 99.88 kB / 0.652 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006229/0.5471, allocations: 200.6 kB / 0.6522 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.5471, allocations: 20 kB / 0.6522 GB, free: 14.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009494/0.5481, allocations: 0.6508 MB / 0.6529 GB, free: 14.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5481, allocations: 0 / 0.6529 GB, free: 14.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002035/0.5502, allocations: 0.7101 MB / 0.6536 GB, free: 13.42 MB / 474.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.0002835/0.5504, allocations: 135.1 kB / 0.6537 GB, free: 13.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/0.5617, allocations: 4.185 MB / 0.6578 GB, free: 9.074 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.5617, allocations: 0 / 0.6578 GB, free: 9.074 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004708/0.5664, allocations: 1.537 MB / 0.6593 GB, free: 7.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5675, allocations: 98.55 kB / 0.6594 GB, free: 7.422 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.5717, allocations: 2.535 MB / 0.6619 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.5724, allocations: 1.109 MB / 0.6629 GB, free: 3.711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.5726, allocations: 71.42 kB / 0.663 GB, free: 3.641 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5726, allocations: 0 / 0.663 GB, free: 3.641 MB / 474.7 MB Notification: Performance of Templates: time 0.2333/0.806, allocations: 21.11 MB / 0.6836 GB, free: 116.1 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)