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.0009458/0.0009459, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.295/1.295, allocations: 223.3 MB / 239 MB, free: 5.469 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.0009314/0.0009315, allocations: 184.4 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.496/0.496, allocations: 91.91 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 12 kB / 0.5042 GB, free: 7.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 72.46 MB / 0.5749 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.004187/0.2984, allocations: 5.837 MB / 0.5806 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.3013, allocations: 1.898 MB / 0.5825 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.3019, allocations: 14.62 kB / 0.5825 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.3025, allocations: 168.3 kB / 0.5827 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001371/0.3039, allocations: 0.5967 MB / 0.5833 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.305, allocations: 0.5457 MB / 0.5838 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.3062, allocations: 1.306 MB / 0.5851 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.3066, allocations: 269.6 kB / 0.5853 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.3072, allocations: 0.5105 MB / 0.5858 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.3078, allocations: 0.6537 MB / 0.5865 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.3079, allocations: 51.75 kB / 0.5865 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.3083, allocations: 178.3 kB / 0.5867 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3085, allocations: 224.1 kB / 0.5869 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3087, allocations: 213.7 kB / 0.5871 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.3095, allocations: 1.14 MB / 0.5882 GB, free: 28.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3095, allocations: 3.75 kB / 0.5882 GB, free: 28.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3095, allocations: 0 / 0.5882 GB, free: 28.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3095, allocations: 0 / 0.5882 GB, free: 28.81 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.006878/0.3164, allocations: 2.388 MB / 0.5905 GB, free: 27.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3165, allocations: 9.625 kB / 0.5906 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004972/0.3214, allocations: 0.7827 MB / 0.5913 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3229, allocations: 0.7718 MB / 0.5921 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3231, allocations: 227.1 kB / 0.5923 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.3232, allocations: 80.62 kB / 0.5924 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.3254, allocations: 1.207 MB / 0.5935 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3254, allocations: 0 / 0.5935 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.3255, allocations: 30.8 kB / 0.5936 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.3255, allocations: 18.16 kB / 0.5936 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.3278, allocations: 1.162 MB / 0.5947 GB, free: 26.07 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.004805/0.3326, allocations: 3.217 MB / 0.5979 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.3354, allocations: 1.739 MB / 0.5996 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.3368, allocations: 0.8313 MB / 0.6004 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3369, allocations: 12.67 kB / 0.6004 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.337, allocations: 47.33 kB / 0.6004 GB, free: 22.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.645e-06/0.337, allocations: 1.25 kB / 0.6004 GB, free: 22.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02593/0.3629, allocations: 8.726 MB / 0.609 GB, free: 21.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.363, allocations: 96 kB / 0.6091 GB, free: 21.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3643, allocations: 0.9349 MB / 0.61 GB, free: 21.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.3645, allocations: 41.05 kB / 0.61 GB, free: 20.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.3648, allocations: 494 kB / 0.6105 GB, free: 20.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.365, allocations: 333.6 kB / 0.6108 GB, free: 20.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.3651, allocations: 24.84 kB / 0.6108 GB, free: 20.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.729e-05/0.3652, allocations: 354.4 kB / 0.6112 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.3666, allocations: 0.7727 MB / 0.6119 GB, free: 19.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.3681, allocations: 0.9049 MB / 0.6128 GB, free: 19.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.3696, allocations: 0.8274 MB / 0.6136 GB, free: 19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3696, allocations: 1.031 kB / 0.6136 GB, free: 19 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01309/0.3827, allocations: 5.341 MB / 0.6188 GB, free: 16.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/0.3828, allocations: 149.1 kB / 0.619 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3828, allocations: 8 kB / 0.619 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005443/0.3882, allocations: 2.217 MB / 0.6211 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/0.389, allocations: 179.7 kB / 0.6213 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.4068, allocations: 10.25 MB / 0.6313 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.4082, allocations: 218.9 kB / 0.6315 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.4083, allocations: 39.94 kB / 0.6316 GB, free: 3.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.4083, allocations: 4 kB / 0.6316 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01248/0.4208, allocations: 5.179 MB / 0.6366 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4208, allocations: 7.938 kB / 0.6366 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/0.427, allocations: 2.225 MB / 0.6388 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/0.4278, allocations: 171.7 kB / 0.639 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.4485, allocations: 10.22 MB / 0.6489 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4499, allocations: 203 kB / 0.6491 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/0.45, allocations: 39.98 kB / 0.6492 GB, free: 1.031 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.4506, allocations: 317.8 kB / 0.6495 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4508, allocations: 114.6 kB / 0.6496 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/0.4635, allocations: 5.019 MB / 0.6545 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.4635, allocations: 15.95 kB / 0.6545 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4635, allocations: 4 kB / 0.6545 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.4635, allocations: 7.984 kB / 0.6545 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.478, allocations: 6.681 MB / 0.661 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.478, allocations: 0 / 0.661 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.4785, allocations: 99.83 kB / 0.6611 GB, free: 4.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005795/0.4843, allocations: 2.155 MB / 0.6632 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.4844, allocations: 16 kB / 0.6633 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.5025, allocations: 8.82 MB / 0.6719 GB, free: 9.488 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5025, allocations: 4 kB / 0.6719 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.5172, allocations: 6.017 MB / 0.6777 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.5176, allocations: 211.5 kB / 0.678 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.5179, allocations: 20 kB / 0.678 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5189, allocations: 147.8 kB / 0.6781 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005263/0.5194, allocations: 204.5 kB / 0.6783 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.5195, allocations: 20 kB / 0.6783 GB, free: 2.832 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008769/0.5204, allocations: 0.643 MB / 0.679 GB, free: 2.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5204, allocations: 4 kB / 0.679 GB, free: 2.176 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001829/0.5223, allocations: 0.7101 MB / 0.6797 GB, free: 1.465 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.5225, allocations: 127.8 kB / 0.6798 GB, free: 1.332 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01094/0.5334, allocations: 4.707 MB / 0.6844 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5335, allocations: 0 / 0.6844 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004322/0.5378, allocations: 1.766 MB / 0.6861 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.5388, allocations: 98.02 kB / 0.6862 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.5427, allocations: 2.455 MB / 0.6886 GB, free: 8.234 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.5434, allocations: 1.113 MB / 0.6897 GB, free: 7.094 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005067/0.5439, allocations: 119.1 kB / 0.6898 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.5442, allocations: 63.42 kB / 0.6898 GB, free: 6.91 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5442, allocations: 0 / 0.6898 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Templates: time 0.0426/0.5868, allocations: 28.81 MB / 0.718 GB, free: 10.11 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)