Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 229.6 MB, free: 7.539 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.000894/0.0008941, allocations: 89.92 kB / 280.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5005/0.5005, allocations: 78.94 MB / 410.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.423e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1876, allocations: 69.53 MB / 0.5424 GB, free: 5.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6549, allocations: 99.27 MB / 0.6394 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.6552, allocations: 85.34 kB / 0.6395 GB, free: 14.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07444/0.7296, allocations: 29.33 MB / 0.6681 GB, free: 1.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7297, allocations: 0 / 0.6681 GB, free: 1.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.416e-05/0.7298, allocations: 35.92 kB / 0.6682 GB, free: 1.445 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004789/0.7346, allocations: 1.886 MB / 0.67 GB, free: 15.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7346, allocations: 8.688 kB / 0.67 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.7379, allocations: 0.5796 MB / 0.6706 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.7397, allocations: 0.8663 MB / 0.6714 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.7399, allocations: 210.5 kB / 0.6716 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.7401, allocations: 63.72 kB / 0.6717 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/0.7417, allocations: 0.9334 MB / 0.6726 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.7436, allocations: 1.042 MB / 0.6736 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.7436, allocations: 12.59 kB / 0.6736 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/0.7437, allocations: 0 / 0.6736 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.7437, allocations: 24 kB / 0.6736 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007214/0.7509, allocations: 4.326 MB / 0.6779 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.7536, allocations: 1.521 MB / 0.6793 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009017/0.7545, allocations: 0.6283 MB / 0.68 GB, free: 4.891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.7547, allocations: 17.27 kB / 0.68 GB, free: 4.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7547, allocations: 48.81 kB / 0.68 GB, free: 4.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 2.956e-06/0.7547, allocations: 0 / 0.68 GB, free: 4.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01315/0.7679, allocations: 4.27 MB / 0.6842 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.693e-05/0.768, allocations: 116.1 kB / 0.6843 GB, free: 400 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.7694, allocations: 0.8109 MB / 0.6851 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.7697, allocations: 29.64 kB / 0.6851 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.7702, allocations: 0.5947 MB / 0.6857 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.7706, allocations: 374.4 kB / 0.6861 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.7707, allocations: 0 / 0.6861 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7708, allocations: 345.9 kB / 0.6864 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/0.7716, allocations: 475.4 kB / 0.6868 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/0.7725, allocations: 0.6346 MB / 0.6875 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.7734, allocations: 0.5281 MB / 0.688 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.7734, allocations: 7.953 kB / 0.688 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01311/0.7865, allocations: 4.461 MB / 0.6923 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006911/0.7873, allocations: 1.684 MB / 0.694 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7873, allocations: 4 kB / 0.694 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005709/0.793, allocations: 1.76 MB / 0.6957 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/0.7939, allocations: 168.3 kB / 0.6959 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.809, allocations: 7.49 MB / 0.7032 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.8109, allocations: 183 kB / 0.7034 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.811, allocations: 39.98 kB / 0.7034 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8111, allocations: 4 kB / 0.7034 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0128/0.8239, allocations: 4.289 MB / 0.7076 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.8239, allocations: 10.14 kB / 0.7076 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00563/0.8296, allocations: 1.754 MB / 0.7093 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.8304, allocations: 155.8 kB / 0.7095 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.8459, allocations: 7.482 MB / 0.7168 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.8477, allocations: 171 kB / 0.7169 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.8479, allocations: 47.98 kB / 0.717 GB, free: 14.45 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0004548/0.8483, allocations: 130.3 kB / 0.7171 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.8488, allocations: 146.2 kB / 0.7172 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/0.8619, allocations: 4.361 MB / 0.7215 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.8619, allocations: 12 kB / 0.7215 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.862, allocations: 0 / 0.7215 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.862, allocations: 3.984 kB / 0.7215 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/0.8783, allocations: 6.047 MB / 0.7274 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.8783, allocations: 4.75 kB / 0.7274 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.8791, allocations: 123.8 kB / 0.7275 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005513/0.8847, allocations: 1.726 MB / 0.7292 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/0.8849, allocations: 3.953 kB / 0.7292 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.8994, allocations: 6.551 MB / 0.7356 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8995, allocations: 0 / 0.7356 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.9147, allocations: 5.181 MB / 0.7407 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/0.9156, allocations: 235.1 kB / 0.7409 GB, free: 5.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006977/0.9163, allocations: 4.844 kB / 0.7409 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.918, allocations: 127.9 kB / 0.741 GB, free: 5.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007833/0.9188, allocations: 204.9 kB / 0.7412 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.919, allocations: 24 kB / 0.7413 GB, free: 5.277 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00131/0.9203, allocations: 0.616 MB / 0.7419 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9203, allocations: 0 / 0.7419 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00353/0.9239, allocations: 0.6783 MB / 0.7425 GB, free: 3.977 MB / 0.5417 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,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0004635/0.9243, allocations: 157.8 kB / 0.7427 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.935, allocations: 3.73 MB / 0.7463 GB, free: 72 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.935, allocations: 0.5625 kB / 0.7463 GB, free: 72 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004598/0.9396, allocations: 1.514 MB / 0.7478 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.9409, allocations: 106.3 kB / 0.7479 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004223/0.9452, allocations: 1.736 MB / 0.7496 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.9463, allocations: 1.21 MB / 0.7508 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000934/0.9472, allocations: 177.9 kB / 0.7509 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.9474, allocations: 55.44 kB / 0.751 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/0.9474, allocations: 0 / 0.751 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.3251/1.273, allocations: 29.6 MB / 0.7799 GB, free: 142.6 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)