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.001702/0.001703, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.345/1.345, allocations: 222.9 MB / 239 MB, free: 4.719 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.001444/0.001444, allocations: 196.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4985/0.4985, allocations: 91.9 MB / 431.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 75.88 kB / 0.5014 GB, free: 8.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3313, allocations: 71.27 MB / 0.571 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test): time 0.005532/0.3369, allocations: 6.676 MB / 0.5775 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.3403, allocations: 1.972 MB / 0.5794 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.3407, allocations: 18.31 kB / 0.5794 GB, free: 31.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.3413, allocations: 185.6 kB / 0.5796 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.3426, allocations: 0.6366 MB / 0.5802 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3437, allocations: 0.6216 MB / 0.5808 GB, free: 30.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.3447, allocations: 1.451 MB / 0.5823 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.345, allocations: 324.3 kB / 0.5826 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.3455, allocations: 0.6062 MB / 0.5832 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.3461, allocations: 0.7292 MB / 0.5839 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.3462, allocations: 106.3 kB / 0.584 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003749/0.3466, allocations: 242.6 kB / 0.5842 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.3468, allocations: 295.2 kB / 0.5845 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.3472, allocations: 0.6232 MB / 0.5851 GB, free: 28.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3482, allocations: 1.528 MB / 0.5866 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3482, allocations: 0 / 0.5866 GB, free: 27.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3482, allocations: 0 / 0.5866 GB, free: 27.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3483, allocations: 1.062 kB / 0.5866 GB, free: 27.57 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.007922/0.3562, allocations: 2.555 MB / 0.5891 GB, free: 26.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3563, allocations: 9.406 kB / 0.5891 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.3613, allocations: 0.7707 MB / 0.5899 GB, free: 26.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.3627, allocations: 0.8209 MB / 0.5907 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.3629, allocations: 221.3 kB / 0.5909 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.3631, allocations: 78.56 kB / 0.5909 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.3653, allocations: 1.13 MB / 0.592 GB, free: 25.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3653, allocations: 7.938 kB / 0.5921 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.925e-05/0.3654, allocations: 30.97 kB / 0.5921 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.3654, allocations: 18.41 kB / 0.5921 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.3676, allocations: 1.082 MB / 0.5932 GB, free: 24.65 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.005085/0.3727, allocations: 3.138 MB / 0.5962 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/0.3755, allocations: 1.61 MB / 0.5978 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.377, allocations: 0.7628 MB / 0.5985 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.3771, allocations: 12.58 kB / 0.5985 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3772, allocations: 43.25 kB / 0.5986 GB, free: 21.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 2.995e-06/0.3772, allocations: 0 / 0.5986 GB, free: 21.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.02875/0.406, allocations: 7.072 MB / 0.6055 GB, free: 20.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.406, allocations: 88.98 kB / 0.6056 GB, free: 20.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.4075, allocations: 0.949 MB / 0.6065 GB, free: 19.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.4077, allocations: 40.42 kB / 0.6065 GB, free: 19.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.4081, allocations: 492.4 kB / 0.607 GB, free: 19.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.4084, allocations: 338 kB / 0.6073 GB, free: 19.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/0.4088, allocations: 202 kB / 0.6075 GB, free: 19.01 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.4089, allocations: 345.1 kB / 0.6079 GB, free: 18.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.4104, allocations: 0.7164 MB / 0.6086 GB, free: 18.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.412, allocations: 0.832 MB / 0.6094 GB, free: 18.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.4307, allocations: 4.737 MB / 0.614 GB, free: 16.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.4307, allocations: 1 kB / 0.614 GB, free: 16.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01363/0.4443, allocations: 4.407 MB / 0.6183 GB, free: 13.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4444, allocations: 11.94 kB / 0.6183 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4444, allocations: 0 / 0.6183 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005711/0.4501, allocations: 1.897 MB / 0.6202 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.4511, allocations: 179.7 kB / 0.6203 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.4717, allocations: 9.96 MB / 0.6301 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.4734, allocations: 174.8 kB / 0.6302 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.93e-05/0.4735, allocations: 43.92 kB / 0.6303 GB, free: 1.449 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.001651/0.4752, allocations: 0.8773 MB / 0.6311 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001422/0.4766, allocations: 0.8189 MB / 0.6319 GB, free: 15.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01879/0.4954, allocations: 4.704 MB / 0.6365 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.098e-05/0.4955, allocations: 4 kB / 0.6365 GB, free: 10.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=147) (initialization_lambda0): time 0.01393/0.5094, allocations: 4.382 MB / 0.6408 GB, free: 6.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5095, allocations: 8 kB / 0.6408 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5095, allocations: 3.984 kB / 0.6408 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.5159, allocations: 1.897 MB / 0.6427 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/0.5169, allocations: 179.7 kB / 0.6428 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.54, allocations: 9.961 MB / 0.6526 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.5417, allocations: 163 kB / 0.6527 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5419, allocations: 43.98 kB / 0.6528 GB, free: 10.18 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.0003411/0.5422, allocations: 227.9 kB / 0.653 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.5425, allocations: 118.6 kB / 0.6531 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.5561, allocations: 4.085 MB / 0.6571 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.5562, allocations: 8 kB / 0.6571 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5562, allocations: 0 / 0.6571 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/0.5562, allocations: 3.984 kB / 0.6571 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.5721, allocations: 5.72 MB / 0.6627 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.5721, allocations: 0 / 0.6627 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.5728, allocations: 95.83 kB / 0.6628 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005999/0.5788, allocations: 1.831 MB / 0.6646 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.579, allocations: 16 kB / 0.6646 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.5983, allocations: 8.634 MB / 0.673 GB, free: 5.137 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5983, allocations: 4 kB / 0.673 GB, free: 5.133 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/0.6137, allocations: 5.001 MB / 0.6779 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.6143, allocations: 211.5 kB / 0.6781 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.6145, allocations: 20.08 kB / 0.6781 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6156, allocations: 103.9 kB / 0.6782 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/0.6163, allocations: 200.7 kB / 0.6784 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.6164, allocations: 24 kB / 0.6784 GB, free: 15.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.6175, allocations: 0.643 MB / 0.6791 GB, free: 14.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6175, allocations: 0 / 0.6791 GB, free: 14.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002498/0.62, allocations: 0.7179 MB / 0.6798 GB, free: 14.17 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.0003202/0.6203, allocations: 131.1 kB / 0.6799 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0124/0.6327, allocations: 4.291 MB / 0.6841 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.6328, allocations: 0.5 kB / 0.6841 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004718/0.6375, allocations: 1.581 MB / 0.6856 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6386, allocations: 100.2 kB / 0.6857 GB, free: 8.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.6431, allocations: 2.506 MB / 0.6882 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.6437, allocations: 1.113 MB / 0.6892 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005146/0.6443, allocations: 119.1 kB / 0.6894 GB, free: 4.211 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.6445, allocations: 67.42 kB / 0.6894 GB, free: 4.145 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6445, allocations: 0 / 0.6894 GB, free: 4.145 MB / 494.1 MB Notification: Performance of Templates: time 0.04627/0.6908, allocations: 32.14 MB / 0.7208 GB, free: 4.012 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)