Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0044/0.0044, allocations: 171.6 kB / 15.11 MB, free: 5.973 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.146/1.146, allocations: 223.2 MB / 239 MB, free: 1.746 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 94.69 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4023/0.4023, allocations: 78.52 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 12 kB / 499.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2966, allocations: 69.35 MB / 0.5557 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3983, allocations: 98.6 MB / 0.652 GB, free: 7.742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.3985, allocations: 87.95 kB / 0.6521 GB, free: 7.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06193/0.4604, allocations: 25.97 MB / 0.6775 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4605, allocations: 0 / 0.6775 GB, free: 13.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.584e-05/0.4605, allocations: 20 kB / 0.6775 GB, free: 13.53 MB / 490.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.004419/0.465, allocations: 1.955 MB / 0.6794 GB, free: 11.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.465, allocations: 8.031 kB / 0.6794 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002912/0.4679, allocations: 0.5565 MB / 0.6799 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.4693, allocations: 0.7825 MB / 0.6807 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4695, allocations: 234.7 kB / 0.6809 GB, free: 9.855 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.4696, allocations: 79.98 kB / 0.681 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.4716, allocations: 1.192 MB / 0.6822 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4717, allocations: 0 / 0.6822 GB, free: 8.574 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.4718, allocations: 32 kB / 0.6822 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.4718, allocations: 16 kB / 0.6822 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.4739, allocations: 1.16 MB / 0.6833 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004494/0.4784, allocations: 3.159 MB / 0.6864 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/0.4811, allocations: 1.739 MB / 0.6881 GB, free: 2.219 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-05/0.4812, allocations: 16.98 kB / 0.6881 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.4813, allocations: 47.5 kB / 0.6882 GB, free: 2.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 1.844e-06/0.4813, allocations: 0 / 0.6882 GB, free: 2.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02691/0.5082, allocations: 8.845 MB / 0.6968 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5083, allocations: 90.11 kB / 0.6969 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.5093, allocations: 0.8116 MB / 0.6977 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.5094, allocations: 41.7 kB / 0.6977 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.5098, allocations: 0.4928 MB / 0.6982 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.51, allocations: 327.2 kB / 0.6985 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.5101, allocations: 12 kB / 0.6986 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5102, allocations: 345.9 kB / 0.6989 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.5115, allocations: 0.6813 MB / 0.6995 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.5129, allocations: 0.7804 MB / 0.7003 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.5142, allocations: 0.7225 MB / 0.701 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5142, allocations: 0 / 0.701 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01338/0.5276, allocations: 5.062 MB / 0.706 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/0.5278, allocations: 0.7942 MB / 0.7067 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5279, allocations: 3.938 kB / 0.7067 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006378/0.5342, allocations: 2.24 MB / 0.7089 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.5348, allocations: 119.8 kB / 0.709 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/0.5567, allocations: 10.77 MB / 0.7196 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5581, allocations: 195.1 kB / 0.7197 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.5583, allocations: 31.94 kB / 0.7198 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.5583, allocations: 5.719 kB / 0.7198 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0133/0.5716, allocations: 4.902 MB / 0.7246 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5716, allocations: 4 kB / 0.7246 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006455/0.5781, allocations: 2.237 MB / 0.7268 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.5787, allocations: 115.8 kB / 0.7269 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0214/0.6001, allocations: 10.74 MB / 0.7374 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.6015, allocations: 183.2 kB / 0.7375 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6017, allocations: 32 kB / 0.7376 GB, free: 15.09 MB / 0.5417 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 (70): * Single equations (assignments): 69 * 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.0006055/0.6023, allocations: 310.6 kB / 0.7379 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.6026, allocations: 122.5 kB / 0.738 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.6161, allocations: 5.03 MB / 0.7429 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.6161, allocations: 8 kB / 0.7429 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6161, allocations: 4 kB / 0.7429 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.6162, allocations: 3.984 kB / 0.7429 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.6317, allocations: 6.652 MB / 0.7494 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6318, allocations: 7.938 kB / 0.7494 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.6323, allocations: 91.89 kB / 0.7495 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005918/0.6382, allocations: 2.164 MB / 0.7516 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.6383, allocations: 16 kB / 0.7516 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.657, allocations: 9.305 MB / 0.7607 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.657, allocations: 0 / 0.7607 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.6719, allocations: 6.013 MB / 0.7666 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.6723, allocations: 215.4 kB / 0.7668 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.6726, allocations: 19.98 kB / 0.7668 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.6738, allocations: 148 kB / 0.7669 GB, free: 0.6484 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000589/0.6744, allocations: 200.6 kB / 0.7671 GB, free: 464 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/0.6745, allocations: 24 kB / 0.7672 GB, free: 440 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.2259/0.9004, allocations: 0.6361 MB / 0.7678 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9005, allocations: 1.641 kB / 0.7678 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00235/0.9028, allocations: 0.6737 MB / 0.7684 GB, free: 147.3 MB / 0.5573 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 (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.0002623/0.9031, allocations: 145.4 kB / 0.7686 GB, free: 147.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01075/0.9138, allocations: 4.343 MB / 0.7728 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9139, allocations: 0 / 0.7728 GB, free: 146.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004369/0.9182, allocations: 1.757 MB / 0.7745 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.919, allocations: 86.45 kB / 0.7746 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.9223, allocations: 2.503 MB / 0.7771 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.9228, allocations: 1.131 MB / 0.7782 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.9231, allocations: 89.14 kB / 0.7783 GB, free: 144.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.9233, allocations: 50.42 kB / 0.7783 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.9233, allocations: 0 / 0.7783 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03548/0.9588, allocations: 28.25 MB / 0.8059 GB, free: 143.6 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)