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.004927/0.004927, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.41/1.41, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001506/0.001506, allocations: 188.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5318/0.5318, allocations: 91.9 MB / 431.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 73.19 kB / 0.5727 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1819, allocations: 71.29 MB / 0.6424 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.006876/0.1888, allocations: 6.331 MB / 0.6485 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00432/0.1932, allocations: 1.95 MB / 0.6504 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.1939, allocations: 8 kB / 0.6504 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.1946, allocations: 234 kB / 0.6507 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.1965, allocations: 0.7172 MB / 0.6514 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.1979, allocations: 0.6773 MB / 0.652 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.1993, allocations: 1.46 MB / 0.6535 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.1997, allocations: 316.4 kB / 0.6538 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.2004, allocations: 0.603 MB / 0.6543 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007811/0.2012, allocations: 0.7389 MB / 0.6551 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.2014, allocations: 108 kB / 0.6552 GB, free: 6.363 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.2019, allocations: 235.9 kB / 0.6554 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.2022, allocations: 294.7 kB / 0.6557 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.2027, allocations: 0.6135 MB / 0.6563 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.2044, allocations: 1.556 MB / 0.6578 GB, free: 3.664 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2044, allocations: 0 / 0.6578 GB, free: 3.664 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.2044, allocations: 0 / 0.6578 GB, free: 3.664 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2044, allocations: 3.938 kB / 0.6578 GB, free: 3.66 MB / 462.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.008209/0.2126, allocations: 2.594 MB / 0.6603 GB, free: 1.012 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2127, allocations: 8.031 kB / 0.6603 GB, free: 1.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00489/0.2176, allocations: 0.7835 MB / 0.6611 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.219, allocations: 0.8274 MB / 0.6619 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.2192, allocations: 222.5 kB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.2193, allocations: 80 kB / 0.6622 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.2216, allocations: 1.129 MB / 0.6633 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2216, allocations: 7.922 kB / 0.6633 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.12e-05/0.2217, allocations: 32 kB / 0.6633 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2217, allocations: 16 kB / 0.6634 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.224, allocations: 1.078 MB / 0.6644 GB, free: 12.73 MB / 478.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.005251/0.2292, allocations: 3.133 MB / 0.6675 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2322, allocations: 1.603 MB / 0.669 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.2337, allocations: 0.7619 MB / 0.6698 GB, free: 6.973 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2338, allocations: 9 kB / 0.6698 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2339, allocations: 43.56 kB / 0.6698 GB, free: 6.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=93): time 2.525e-06/0.2339, allocations: 3.938 kB / 0.6698 GB, free: 6.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.02727/0.2612, allocations: 7.075 MB / 0.6767 GB, free: 15.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2613, allocations: 90.11 kB / 0.6768 GB, free: 15.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.2627, allocations: 0.9533 MB / 0.6778 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.2629, allocations: 41.7 kB / 0.6778 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.2632, allocations: 489.2 kB / 0.6783 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.2636, allocations: 357 kB / 0.6786 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.264, allocations: 202.9 kB / 0.6788 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2641, allocations: 345.9 kB / 0.6791 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.2657, allocations: 0.7165 MB / 0.6798 GB, free: 12.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.2674, allocations: 0.8345 MB / 0.6806 GB, free: 11.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01855/0.2859, allocations: 4.724 MB / 0.6853 GB, free: 6.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.286, allocations: 0 / 0.6853 GB, free: 6.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01462/0.3006, allocations: 4.418 MB / 0.6896 GB, free: 2.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.3007, allocations: 7.938 kB / 0.6896 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3007, allocations: 4 kB / 0.6896 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006754/0.3075, allocations: 1.889 MB / 0.6914 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.3087, allocations: 179.8 kB / 0.6916 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02534/0.334, allocations: 9.981 MB / 0.7013 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.3358, allocations: 175.2 kB / 0.7015 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.3361, allocations: 47.92 kB / 0.7016 GB, free: 6.074 MB / 0.4981 GB 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.002143/0.3382, allocations: 0.8695 MB / 0.7024 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001722/0.3399, allocations: 0.8228 MB / 0.7032 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01879/0.3588, allocations: 4.701 MB / 0.7078 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.333e-06/0.3588, allocations: 0 / 0.7078 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01471/0.3735, allocations: 4.383 MB / 0.7121 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3736, allocations: 8 kB / 0.7121 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.3736, allocations: 0 / 0.7121 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/0.3802, allocations: 1.893 MB / 0.7139 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009363/0.3812, allocations: 175.7 kB / 0.7141 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02433/0.4055, allocations: 9.95 MB / 0.7238 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.4073, allocations: 167.3 kB / 0.724 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.4076, allocations: 35.98 kB / 0.724 GB, free: 14.84 MB / 0.5294 GB 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.0004299/0.408, allocations: 244 kB / 0.7243 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/0.4084, allocations: 123.2 kB / 0.7244 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.4222, allocations: 4.077 MB / 0.7284 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.4222, allocations: 15.94 kB / 0.7284 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4222, allocations: 0 / 0.7284 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.4223, allocations: 3.984 kB / 0.7284 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.4385, allocations: 5.72 MB / 0.734 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.4386, allocations: 4 kB / 0.734 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.4392, allocations: 91.89 kB / 0.734 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/0.4456, allocations: 1.831 MB / 0.7358 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.4458, allocations: 16 kB / 0.7359 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/0.4672, allocations: 8.628 MB / 0.7443 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4672, allocations: 0 / 0.7443 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/0.4831, allocations: 5.019 MB / 0.7492 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005139/0.4837, allocations: 208.1 kB / 0.7494 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.484, allocations: 23.98 kB / 0.7494 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.4853, allocations: 103.9 kB / 0.7495 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007206/0.486, allocations: 196.7 kB / 0.7497 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.4862, allocations: 24 kB / 0.7497 GB, free: 4.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001157/0.4873, allocations: 0.6469 MB / 0.7503 GB, free: 3.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4873, allocations: 0 / 0.7503 GB, free: 3.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002541/0.4899, allocations: 0.7259 MB / 0.751 GB, free: 2.797 MB / 0.545 GB 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.0003123/0.4902, allocations: 127.1 kB / 0.7512 GB, free: 2.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01324/0.5035, allocations: 4.268 MB / 0.7553 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.5035, allocations: 0 / 0.7553 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/0.5089, allocations: 1.593 MB / 0.7569 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.5101, allocations: 106.1 kB / 0.757 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.515, allocations: 2.128 MB / 0.7591 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008223/0.5159, allocations: 1.113 MB / 0.7602 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005183/0.5164, allocations: 115.1 kB / 0.7603 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.5167, allocations: 67.42 kB / 0.7603 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of SimCode: time 1.492e-06/0.5167, allocations: 0 / 0.7603 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.3968/0.9135, allocations: 33.42 MB / 0.793 GB, free: 108.7 MB / 0.5606 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)