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.0009503/0.0009503, allocations: 173.4 kB / 16.1 MB, free: 5.691 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.42/1.42, allocations: 223.3 MB / 240.1 MB, free: 9.965 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.0009852/0.0009852, allocations: 96.17 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5002/0.5002, allocations: 78.61 MB / 421 MB, free: 9.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005672/0.0005676, allocations: 12.38 kB / 0.4894 GB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3511, allocations: 69.35 MB / 0.5571 GB, free: 18.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004625/0.3558, allocations: 6.183 MB / 0.5632 GB, free: 12.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.3589, allocations: 1.974 MB / 0.5651 GB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.3593, allocations: 15.94 kB / 0.5651 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.3598, allocations: 190.8 kB / 0.5653 GB, free: 10.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3611, allocations: 0.6416 MB / 0.5659 GB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3622, allocations: 0.6066 MB / 0.5665 GB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.3632, allocations: 1.389 MB / 0.5679 GB, free: 7.801 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.3635, allocations: 291.4 kB / 0.5682 GB, free: 7.508 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.364, allocations: 0.5286 MB / 0.5687 GB, free: 6.977 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.3646, allocations: 0.6608 MB / 0.5693 GB, free: 6.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3647, allocations: 56 kB / 0.5694 GB, free: 6.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.365, allocations: 183.9 kB / 0.5695 GB, free: 6.078 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001768/0.3652, allocations: 230.8 kB / 0.5698 GB, free: 5.852 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.3656, allocations: 0.5762 MB / 0.5703 GB, free: 5.266 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007533/0.3663, allocations: 1.141 MB / 0.5714 GB, free: 4.121 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3664, allocations: 0 / 0.5714 GB, free: 4.121 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3664, allocations: 4 kB / 0.5714 GB, free: 4.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.3664, allocations: 0 / 0.5714 GB, free: 4.117 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.006649/0.373, allocations: 2.381 MB / 0.5738 GB, free: 1.684 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3731, allocations: 8.031 kB / 0.5738 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/0.3776, allocations: 0.775 MB / 0.5745 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.3787, allocations: 0.8187 MB / 0.5753 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.379, allocations: 222.5 kB / 0.5756 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.3792, allocations: 80 kB / 0.5756 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.3815, allocations: 1.207 MB / 0.5768 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3815, allocations: 7.875 kB / 0.5768 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.3816, allocations: 32 kB / 0.5768 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3816, allocations: 16 kB / 0.5769 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.384, allocations: 1.167 MB / 0.578 GB, free: 13.25 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.005406/0.3894, allocations: 3.222 MB / 0.5811 GB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.3926, allocations: 1.754 MB / 0.5829 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.3942, allocations: 0.8322 MB / 0.5837 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.3944, allocations: 16.92 kB / 0.5837 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3944, allocations: 47.56 kB / 0.5837 GB, free: 7.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 2.985e-06/0.3944, allocations: 0 / 0.5837 GB, free: 7.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.02898/0.4234, allocations: 8.774 MB / 0.5923 GB, free: 14.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.4235, allocations: 98.05 kB / 0.5924 GB, free: 14.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4251, allocations: 0.9494 MB / 0.5933 GB, free: 13.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.4253, allocations: 41.7 kB / 0.5934 GB, free: 13.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.4257, allocations: 488.5 kB / 0.5938 GB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.4261, allocations: 335.2 kB / 0.5941 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4263, allocations: 105.7 kB / 0.5942 GB, free: 12.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4264, allocations: 349.9 kB / 0.5946 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.428, allocations: 0.7795 MB / 0.5953 GB, free: 11.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.4297, allocations: 0.9088 MB / 0.5962 GB, free: 10.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/0.4481, allocations: 5.215 MB / 0.6013 GB, free: 4.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.4481, allocations: 0 / 0.6013 GB, free: 4.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01508/0.4632, allocations: 5.374 MB / 0.6066 GB, free: 15.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.4634, allocations: 157.1 kB / 0.6067 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4634, allocations: 4 kB / 0.6067 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006759/0.4702, allocations: 2.217 MB / 0.6089 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/0.4712, allocations: 179.7 kB / 0.6091 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02318/0.4944, allocations: 10.28 MB / 0.6191 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4961, allocations: 211 kB / 0.6193 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.4962, allocations: 39.92 kB / 0.6193 GB, free: 2.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4962, allocations: 11.94 kB / 0.6193 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01497/0.5112, allocations: 5.214 MB / 0.6244 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.5113, allocations: 4 kB / 0.6244 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006608/0.5179, allocations: 2.217 MB / 0.6266 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/0.5187, allocations: 171.7 kB / 0.6268 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/0.5407, allocations: 10.25 MB / 0.6368 GB, free: 276 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.5423, allocations: 203 kB / 0.637 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5424, allocations: 43.92 kB / 0.637 GB, free: 28 kB / 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.0005885/0.543, allocations: 312.9 kB / 0.6373 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.5432, allocations: 122.6 kB / 0.6374 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/0.5572, allocations: 5.034 MB / 0.6424 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.5572, allocations: 12 kB / 0.6424 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5572, allocations: 0 / 0.6424 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.5573, allocations: 7.922 kB / 0.6424 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.5737, allocations: 6.681 MB / 0.6489 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5738, allocations: 0 / 0.6489 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.5743, allocations: 95.89 kB / 0.649 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00657/0.5809, allocations: 2.159 MB / 0.6511 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.5811, allocations: 16 kB / 0.6511 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/0.601, allocations: 8.836 MB / 0.6597 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.601, allocations: 0 / 0.6597 GB, free: 8.449 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.6176, allocations: 6.04 MB / 0.6656 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.6182, allocations: 207.5 kB / 0.6658 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.6184, allocations: 20 kB / 0.6659 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.6194, allocations: 143.9 kB / 0.666 GB, free: 2.004 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/0.6202, allocations: 192.7 kB / 0.6662 GB, free: 1.816 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.6202, allocations: 20 kB / 0.6662 GB, free: 1.797 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001118/0.6214, allocations: 0.6547 MB / 0.6668 GB, free: 1.133 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6214, allocations: 0 / 0.6668 GB, free: 1.133 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002045/0.6234, allocations: 0.7101 MB / 0.6675 GB, free: 432 kB / 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.0002964/0.6237, allocations: 127.1 kB / 0.6676 GB, free: 296 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01202/0.6358, allocations: 4.72 MB / 0.6723 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6358, allocations: 7.938 kB / 0.6723 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004829/0.6406, allocations: 1.766 MB / 0.674 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.6416, allocations: 100.3 kB / 0.6741 GB, free: 9.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004206/0.6458, allocations: 2.62 MB / 0.6766 GB, free: 6.996 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.6465, allocations: 1.105 MB / 0.6777 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.6468, allocations: 71.42 kB / 0.6778 GB, free: 5.793 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6468, allocations: 4 kB / 0.6778 GB, free: 5.789 MB / 490.7 MB Notification: Performance of Templates: time 0.3019/0.9487, allocations: 21.09 MB / 0.6984 GB, free: 111.4 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)