Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004444/0.004444, allocations: 170.8 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.158/1.158, allocations: 223.2 MB / 239 MB, free: 1.777 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.0008071/0.0008071, allocations: 107.5 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3905/0.3905, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003214, allocations: 8 kB / 499.7 MB, free: 2.754 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2978, allocations: 69.36 MB / 0.5557 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.4052, allocations: 101.8 MB / 0.6551 GB, free: 4.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4054, allocations: 84.52 kB / 0.6552 GB, free: 4.512 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07711/0.4826, allocations: 31.31 MB / 0.6858 GB, free: 5.031 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4826, allocations: 0 / 0.6858 GB, free: 5.031 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.556e-05/0.4827, allocations: 32 kB / 0.6858 GB, free: 5 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005134/0.4878, allocations: 2.248 MB / 0.688 GB, free: 2.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4879, allocations: 8.031 kB / 0.688 GB, free: 2.688 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/0.4909, allocations: 0.595 MB / 0.6886 GB, free: 2.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.4925, allocations: 0.9452 MB / 0.6895 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.4927, allocations: 242.5 kB / 0.6897 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4929, allocations: 100 kB / 0.6898 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.4954, allocations: 1.503 MB / 0.6913 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4954, allocations: 0 / 0.6913 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4956, allocations: 40 kB / 0.6913 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.4956, allocations: 28 kB / 0.6914 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.4982, allocations: 1.425 MB / 0.6928 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.5041, allocations: 4.308 MB / 0.697 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.5075, allocations: 2.062 MB / 0.699 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.5076, allocations: 25.91 kB / 0.699 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5077, allocations: 43.56 kB / 0.699 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=116): time 2.094e-06/0.5077, allocations: 3.938 kB / 0.699 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116): time 0.02594/0.5336, allocations: 8.482 MB / 0.7073 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.5337, allocations: 115.8 kB / 0.7074 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5351, allocations: 0.959 MB / 0.7084 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.5352, allocations: 45.7 kB / 0.7084 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.5357, allocations: 0.6189 MB / 0.709 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.536, allocations: 409.9 kB / 0.7094 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.5361, allocations: 24 kB / 0.7094 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5362, allocations: 349.9 kB / 0.7098 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.5377, allocations: 0.7795 MB / 0.7105 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.5393, allocations: 0.9456 MB / 0.7115 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.5408, allocations: 0.8432 MB / 0.7123 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5408, allocations: 4 kB / 0.7123 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01396/0.5548, allocations: 5.413 MB / 0.7176 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.5552, allocations: 1.34 MB / 0.7189 GB, free: 2.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5552, allocations: 4 kB / 0.7189 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.5615, allocations: 2.237 MB / 0.7211 GB, free: 160 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.5623, allocations: 183.8 kB / 0.7212 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.5839, allocations: 10.76 MB / 0.7317 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5854, allocations: 234.9 kB / 0.732 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5855, allocations: 47.98 kB / 0.732 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.5855, allocations: 4 kB / 0.732 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01388/0.5994, allocations: 5.202 MB / 0.7371 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.5994, allocations: 4 kB / 0.7371 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/0.6057, allocations: 2.237 MB / 0.7393 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/0.6065, allocations: 175.7 kB / 0.7395 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.6283, allocations: 10.74 MB / 0.7499 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.6297, allocations: 219 kB / 0.7502 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6299, allocations: 43.92 kB / 0.7502 GB, free: 2.043 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.000686/0.6306, allocations: 368.6 kB / 0.7505 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.6309, allocations: 154.2 kB / 0.7507 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.6448, allocations: 5.279 MB / 0.7558 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6448, allocations: 19.98 kB / 0.7559 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6448, allocations: 0 / 0.7559 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.6448, allocations: 7.969 kB / 0.7559 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/0.6603, allocations: 7.14 MB / 0.7628 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.6603, allocations: 7.891 kB / 0.7629 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.661, allocations: 143.9 kB / 0.763 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.6668, allocations: 2.16 MB / 0.7651 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.6669, allocations: 24 kB / 0.7651 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2155/0.8824, allocations: 9.296 MB / 0.7742 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8824, allocations: 1.281 kB / 0.7742 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/0.8975, allocations: 6.412 MB / 0.7805 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.8979, allocations: 238.6 kB / 0.7807 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.8981, allocations: 24.45 kB / 0.7807 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.8993, allocations: 165.4 kB / 0.7809 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005737/0.8999, allocations: 209.4 kB / 0.7811 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-05/0.9, allocations: 29.94 kB / 0.7811 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001009/0.901, allocations: 0.753 MB / 0.7818 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.901, allocations: 0 / 0.7818 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002005/0.9031, allocations: 0.785 MB / 0.7826 GB, free: 140.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.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 (79): * Single equations (assignments): 78 * 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.0002635/0.9033, allocations: 156.1 kB / 0.7828 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.9138, allocations: 4.746 MB / 0.7874 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9138, allocations: 4.125 kB / 0.7874 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.9181, allocations: 1.9 MB / 0.7892 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/0.919, allocations: 148.7 kB / 0.7894 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.9229, allocations: 3.023 MB / 0.7923 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006141/0.9235, allocations: 1.249 MB / 0.7936 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005662/0.9241, allocations: 150.3 kB / 0.7937 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.9244, allocations: 71.28 kB / 0.7938 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.9244, allocations: 0 / 0.7938 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.04195/0.9663, allocations: 30.81 MB / 0.8239 GB, free: 136.1 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)