Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_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_dev_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.001553/0.001553, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.799/1.799, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009645/0.0009645, allocations: 84.16 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4582/0.4582, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.582e-05, allocations: 0 / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 69.5 MB / 0.5491 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.4603, allocations: 102.3 MB / 0.649 GB, free: 13.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.4605, allocations: 91.92 kB / 0.6491 GB, free: 13.24 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3986/0.8591, allocations: 31.48 MB / 0.6798 GB, free: 102.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.8592, allocations: 0.75 kB / 0.6798 GB, free: 102.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.738e-05/0.8593, allocations: 32.08 kB / 0.6799 GB, free: 102.4 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.005503/0.8648, allocations: 1.974 MB / 0.6818 GB, free: 101.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8648, allocations: 14.06 kB / 0.6818 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.8683, allocations: 0.5911 MB / 0.6824 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.8702, allocations: 0.9067 MB / 0.6833 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.8705, allocations: 250 kB / 0.6835 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.8707, allocations: 101.3 kB / 0.6836 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.873, allocations: 1.24 MB / 0.6848 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.8731, allocations: 0.6875 kB / 0.6848 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.8732, allocations: 43 kB / 0.6849 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.796e-05/0.8732, allocations: 26.72 kB / 0.6849 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.8756, allocations: 1.088 MB / 0.6859 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006599/0.8822, allocations: 4.307 MB / 0.6901 GB, free: 99.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.8845, allocations: 1.715 MB / 0.6918 GB, free: 98.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.8854, allocations: 0.702 MB / 0.6925 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.8856, allocations: 26.67 kB / 0.6925 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.8856, allocations: 44.44 kB / 0.6926 GB, free: 98.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.457e-06/0.8856, allocations: 0 / 0.6926 GB, free: 98.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01189/0.8975, allocations: 4.441 MB / 0.6969 GB, free: 98.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.8976, allocations: 115.4 kB / 0.697 GB, free: 98.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8989, allocations: 0.9248 MB / 0.6979 GB, free: 97.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002544/0.8991, allocations: 45.67 kB / 0.698 GB, free: 97.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.8995, allocations: 0.6167 MB / 0.6986 GB, free: 97.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.8998, allocations: 414.5 kB / 0.699 GB, free: 96.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.218e-05/0.8999, allocations: 19.5 kB / 0.699 GB, free: 96.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.9, allocations: 350.5 kB / 0.6993 GB, free: 96.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008021/0.9008, allocations: 0.5225 MB / 0.6998 GB, free: 96.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.9016, allocations: 0.6796 MB / 0.7005 GB, free: 95.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008436/0.9025, allocations: 0.5914 MB / 0.7011 GB, free: 95.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.9025, allocations: 1.906 kB / 0.7011 GB, free: 95.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01222/0.9147, allocations: 4.686 MB / 0.7057 GB, free: 94.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000292/0.915, allocations: 1.331 MB / 0.707 GB, free: 93.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.915, allocations: 3.812 kB / 0.707 GB, free: 93.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005251/0.9203, allocations: 1.81 MB / 0.7087 GB, free: 92.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009373/0.9213, allocations: 181.3 kB / 0.7089 GB, free: 92.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.9349, allocations: 7.721 MB / 0.7164 GB, free: 86.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.9367, allocations: 231.5 kB / 0.7167 GB, free: 86.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9368, allocations: 39.52 kB / 0.7167 GB, free: 86.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.9368, allocations: 4 kB / 0.7167 GB, free: 86.06 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/0.9483, allocations: 4.524 MB / 0.7211 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.9483, allocations: 4 kB / 0.7211 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004996/0.9533, allocations: 1.809 MB / 0.7229 GB, free: 81.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.9541, allocations: 170.2 kB / 0.723 GB, free: 80.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/0.9673, allocations: 7.682 MB / 0.7305 GB, free: 73.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.969, allocations: 219.4 kB / 0.7308 GB, free: 73.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.9691, allocations: 36 kB / 0.7308 GB, free: 73.66 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "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 () * 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.0002957/0.9694, allocations: 178.8 kB / 0.731 GB, free: 73.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.9696, allocations: 142.2 kB / 0.7311 GB, free: 73.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.9815, allocations: 4.561 MB / 0.7356 GB, free: 69.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.9815, allocations: 12 kB / 0.7356 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.9815, allocations: 4 kB / 0.7356 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.9815, allocations: 3.984 kB / 0.7356 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.996, allocations: 6.412 MB / 0.7418 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.996, allocations: 3.984 kB / 0.7418 GB, free: 63.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.9969, allocations: 143.8 kB / 0.742 GB, free: 63.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004715/1.002, allocations: 1.738 MB / 0.7437 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/1.002, allocations: 27.92 kB / 0.7437 GB, free: 61.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.014, allocations: 6.69 MB / 0.7502 GB, free: 54.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.014, allocations: 0 / 0.7502 GB, free: 54.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.027, allocations: 5.423 MB / 0.7555 GB, free: 49.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009806/1.028, allocations: 235 kB / 0.7558 GB, free: 48.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/1.028, allocations: 27.62 kB / 0.7558 GB, free: 48.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/1.03, allocations: 171.8 kB / 0.7559 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007458/1.031, allocations: 208.6 kB / 0.7561 GB, free: 48.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/1.031, allocations: 28 kB / 0.7562 GB, free: 48.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001097/1.032, allocations: 0.7174 MB / 0.7569 GB, free: 47.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 4 kB / 0.7569 GB, free: 47.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002699/1.034, allocations: 0.7877 MB / 0.7576 GB, free: 46.86 MB / 490.7 MB 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 () * 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.0003325/1.035, allocations: 151.8 kB / 0.7578 GB, free: 46.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009464/1.044, allocations: 3.998 MB / 0.7617 GB, free: 42.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.044, allocations: 64 / 0.7617 GB, free: 42.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004142/1.048, allocations: 1.629 MB / 0.7633 GB, free: 41.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.05, allocations: 150.2 kB / 0.7634 GB, free: 40.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/1.053, allocations: 1.911 MB / 0.7653 GB, free: 38.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.054, allocations: 1.257 MB / 0.7665 GB, free: 37.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008843/1.055, allocations: 235 kB / 0.7667 GB, free: 37.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/1.055, allocations: 55.42 kB / 0.7668 GB, free: 37.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/1.055, allocations: 0 / 0.7668 GB, free: 37.39 MB / 490.7 MB Notification: Performance of Templates: time 0.04236/1.097, allocations: 33.08 MB / 0.7991 GB, free: 4.645 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)