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.001487/0.001487, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.32/1.32, allocations: 222.9 MB / 240 MB, free: 4.488 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.001295/0.001295, allocations: 193.3 kB / 290.3 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4884/0.4884, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 79.88 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2933, allocations: 71.25 MB / 0.5729 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005327/0.2987, allocations: 6.346 MB / 0.5791 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.3019, allocations: 1.946 MB / 0.581 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005555/0.3025, allocations: 15.41 kB / 0.581 GB, free: 31.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.3031, allocations: 231.4 kB / 0.5812 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3044, allocations: 0.7228 MB / 0.5819 GB, free: 31.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.3056, allocations: 0.6572 MB / 0.5826 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.3066, allocations: 1.455 MB / 0.584 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.3069, allocations: 333 kB / 0.5843 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.3074, allocations: 0.5999 MB / 0.5849 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.308, allocations: 0.7327 MB / 0.5856 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3082, allocations: 106.1 kB / 0.5857 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.3085, allocations: 242.7 kB / 0.5859 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3087, allocations: 286.7 kB / 0.5862 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.309, allocations: 0.6196 MB / 0.5868 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3101, allocations: 1.545 MB / 0.5883 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3101, allocations: 3.5 kB / 0.5883 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3101, allocations: 1.125 kB / 0.5883 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3101, allocations: 0 / 0.5883 GB, free: 28.05 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.007365/0.3175, allocations: 2.561 MB / 0.5908 GB, free: 26.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3175, allocations: 12.64 kB / 0.5908 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004966/0.3225, allocations: 0.7655 MB / 0.5916 GB, free: 26.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.3238, allocations: 0.8316 MB / 0.5924 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.324, allocations: 225 kB / 0.5926 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3242, allocations: 75.16 kB / 0.5927 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.3262, allocations: 1.133 MB / 0.5938 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3262, allocations: 5.438 kB / 0.5938 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-05/0.3263, allocations: 29.53 kB / 0.5938 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.3263, allocations: 18.25 kB / 0.5938 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.3283, allocations: 1.075 MB / 0.5949 GB, free: 25.13 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.004754/0.3331, allocations: 3.128 MB / 0.5979 GB, free: 23.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.3358, allocations: 1.597 MB / 0.5995 GB, free: 22.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.3371, allocations: 0.7607 MB / 0.6002 GB, free: 22.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.3372, allocations: 24 kB / 0.6003 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3373, allocations: 39.52 kB / 0.6003 GB, free: 22.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.134e-06/0.3373, allocations: 1.094 kB / 0.6003 GB, free: 22.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02615/0.3634, allocations: 7.067 MB / 0.6072 GB, free: 20.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3635, allocations: 87.8 kB / 0.6073 GB, free: 20.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3649, allocations: 0.9427 MB / 0.6082 GB, free: 20.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.3651, allocations: 53.11 kB / 0.6083 GB, free: 20.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.3654, allocations: 494.2 kB / 0.6087 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.3656, allocations: 337.8 kB / 0.6091 GB, free: 19.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.366, allocations: 202.4 kB / 0.6092 GB, free: 19.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.3661, allocations: 350.1 kB / 0.6096 GB, free: 19.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3675, allocations: 0.7088 MB / 0.6103 GB, free: 18.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.369, allocations: 0.8357 MB / 0.6111 GB, free: 18.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/0.3863, allocations: 4.728 MB / 0.6157 GB, free: 16.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.3864, allocations: 1.344 kB / 0.6157 GB, free: 16.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01253/0.3989, allocations: 4.403 MB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.399, allocations: 11.94 kB / 0.62 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.399, allocations: 0 / 0.62 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005529/0.4045, allocations: 1.897 MB / 0.6219 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/0.4054, allocations: 175.7 kB / 0.622 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.4255, allocations: 9.948 MB / 0.6318 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.4271, allocations: 182.8 kB / 0.6319 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.4273, allocations: 39.94 kB / 0.632 GB, free: 1.332 MB / 430.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0017/0.429, allocations: 0.8734 MB / 0.6328 GB, free: 464 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.4305, allocations: 0.8267 MB / 0.6336 GB, free: 15.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01743/0.448, allocations: 4.693 MB / 0.6382 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.448, allocations: 0 / 0.6382 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.0139/0.4619, allocations: 4.39 MB / 0.6425 GB, free: 6.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.462, allocations: 5.875 kB / 0.6425 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.462, allocations: 4 kB / 0.6425 GB, free: 6.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.4684, allocations: 1.893 MB / 0.6444 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008867/0.4693, allocations: 171.7 kB / 0.6445 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.4921, allocations: 9.942 MB / 0.6542 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.4937, allocations: 171 kB / 0.6544 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.4939, allocations: 39.98 kB / 0.6544 GB, free: 10.09 MB / 462.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 (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.0003908/0.4943, allocations: 236.1 kB / 0.6547 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.4947, allocations: 114.6 kB / 0.6548 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.5076, allocations: 4.077 MB / 0.6587 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5076, allocations: 12 kB / 0.6588 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5076, allocations: 0 / 0.6588 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.5077, allocations: 3.984 kB / 0.6588 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.5235, allocations: 5.716 MB / 0.6643 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5236, allocations: 4 kB / 0.6643 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.5242, allocations: 95.83 kB / 0.6644 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006092/0.5303, allocations: 1.82 MB / 0.6662 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/0.5306, allocations: 20 kB / 0.6662 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.5503, allocations: 8.623 MB / 0.6747 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5503, allocations: 4 kB / 0.6747 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01473/0.5651, allocations: 5.003 MB / 0.6795 GB, free: 36 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.5656, allocations: 215.4 kB / 0.6797 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.5659, allocations: 16 kB / 0.6798 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.5671, allocations: 103.9 kB / 0.6799 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/0.5677, allocations: 192.7 kB / 0.68 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.5679, allocations: 24 kB / 0.6801 GB, free: 15.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001027/0.5689, allocations: 0.6547 MB / 0.6807 GB, free: 14.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5689, allocations: 4 kB / 0.6807 GB, free: 14.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0021/0.571, allocations: 0.7101 MB / 0.6814 GB, free: 14.1 MB / 494.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 (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.0002856/0.5713, allocations: 129.8 kB / 0.6815 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.5824, allocations: 4.257 MB / 0.6857 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.5824, allocations: 8.062 kB / 0.6857 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004539/0.587, allocations: 1.581 MB / 0.6872 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.588, allocations: 103.5 kB / 0.6873 GB, free: 7.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.5923, allocations: 2.081 MB / 0.6894 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/0.593, allocations: 1.113 MB / 0.6905 GB, free: 4.723 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00049/0.5935, allocations: 119.1 kB / 0.6906 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.5937, allocations: 71.42 kB / 0.6906 GB, free: 4.531 MB / 494.1 MB Notification: Performance of SimCode: time 9.81e-07/0.5937, allocations: 0 / 0.6906 GB, free: 4.531 MB / 494.1 MB Notification: Performance of Templates: time 0.04928/0.643, allocations: 33.16 MB / 0.723 GB, free: 3.359 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)