Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008095/0.0008095, allocations: 87 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06602/0.06602, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2847/0.2847, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.613e-05, allocations: 8 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 69.32 MB / 0.5895 GB, free: 2.484 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4564, allocations: 103.4 MB / 0.6904 GB, free: 12.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4567, allocations: 80.2 kB / 0.6905 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08321/0.5399, allocations: 30.45 MB / 0.7202 GB, free: 2.379 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5399, allocations: 0 / 0.7202 GB, free: 2.379 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.904e-05/0.54, allocations: 32 kB / 0.7203 GB, free: 2.348 MB / 458.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.005245/0.5453, allocations: 1.983 MB / 0.7222 GB, free: 464 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5453, allocations: 11.98 kB / 0.7222 GB, free: 452 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.5488, allocations: 0.5934 MB / 0.7228 GB, free: 15.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.5506, allocations: 0.912 MB / 0.7237 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.5509, allocations: 242.6 kB / 0.7239 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.5511, allocations: 96.94 kB / 0.724 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.5532, allocations: 1.238 MB / 0.7252 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5533, allocations: 3.938 kB / 0.7252 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.5534, allocations: 42.75 kB / 0.7253 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5534, allocations: 28 kB / 0.7253 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5554, allocations: 1.09 MB / 0.7264 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006885/0.5624, allocations: 4.31 MB / 0.7306 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.5651, allocations: 1.714 MB / 0.7322 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5662, allocations: 0.7028 MB / 0.7329 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.5663, allocations: 17.92 kB / 0.7329 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.5664, allocations: 48.14 kB / 0.733 GB, free: 7.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=116): time 2.017e-05/0.5664, allocations: 0 / 0.733 GB, free: 7.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=116): time 0.01348/0.5799, allocations: 4.432 MB / 0.7373 GB, free: 4.164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.58, allocations: 119.4 kB / 0.7374 GB, free: 4.027 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5812, allocations: 0.9281 MB / 0.7383 GB, free: 3.324 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.5814, allocations: 44.39 kB / 0.7384 GB, free: 3.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.5818, allocations: 0.6269 MB / 0.739 GB, free: 2.938 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.5822, allocations: 408.1 kB / 0.7394 GB, free: 2.586 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.481e-05/0.5822, allocations: 22.25 kB / 0.7394 GB, free: 2.578 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5824, allocations: 351.5 kB / 0.7397 GB, free: 2.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.5833, allocations: 0.518 MB / 0.7402 GB, free: 1.961 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/0.5842, allocations: 0.6882 MB / 0.7409 GB, free: 1.477 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000926/0.5852, allocations: 0.5818 MB / 0.7415 GB, free: 1.137 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5852, allocations: 0 / 0.7415 GB, free: 1.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01349/0.5987, allocations: 4.69 MB / 0.7461 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004275/0.5991, allocations: 1.337 MB / 0.7474 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5991, allocations: 4 kB / 0.7474 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.605, allocations: 1.812 MB / 0.7491 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/0.6059, allocations: 187.7 kB / 0.7493 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/0.622, allocations: 7.706 MB / 0.7568 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.6239, allocations: 238.8 kB / 0.7571 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.624, allocations: 39.98 kB / 0.7571 GB, free: 1.836 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.624, allocations: 7.438 kB / 0.7571 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01323/0.6373, allocations: 4.519 MB / 0.7615 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6373, allocations: 0 / 0.7615 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005691/0.643, allocations: 1.816 MB / 0.7633 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.6438, allocations: 167.8 kB / 0.7635 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.6593, allocations: 7.683 MB / 0.771 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.6609, allocations: 218.9 kB / 0.7712 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.6611, allocations: 40 kB / 0.7712 GB, free: 3.246 MB / 0.4948 GB 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.0003416/0.6614, allocations: 178.2 kB / 0.7714 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.6617, allocations: 154.2 kB / 0.7715 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/0.6751, allocations: 4.557 MB / 0.776 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6751, allocations: 12 kB / 0.776 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6751, allocations: 3.953 kB / 0.776 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.6751, allocations: 3.984 kB / 0.776 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.6907, allocations: 6.422 MB / 0.7823 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6907, allocations: 0 / 0.7823 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/0.6916, allocations: 151.8 kB / 0.7824 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.697, allocations: 1.739 MB / 0.7841 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.6972, allocations: 24 kB / 0.7841 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.7108, allocations: 6.674 MB / 0.7906 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7108, allocations: 0 / 0.7906 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.7255, allocations: 5.43 MB / 0.796 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.726, allocations: 239 kB / 0.7962 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/0.7263, allocations: 20 kB / 0.7962 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.7277, allocations: 171.8 kB / 0.7964 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006245/0.7284, allocations: 212.6 kB / 0.7966 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7285, allocations: 31.98 kB / 0.7966 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001036/0.7295, allocations: 0.7138 MB / 0.7973 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7295, allocations: 0 / 0.7973 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002231/0.7318, allocations: 0.7877 MB / 0.7981 GB, free: 7.406 MB / 0.5261 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 () * 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.0003294/0.7321, allocations: 155 kB / 0.7982 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.7426, allocations: 4.002 MB / 0.8021 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7426, allocations: 0 / 0.8021 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.7472, allocations: 1.618 MB / 0.8037 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.7483, allocations: 140.7 kB / 0.8038 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.7525, allocations: 1.939 MB / 0.8057 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009492/0.7534, allocations: 1.261 MB / 0.807 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001122/0.7546, allocations: 239.8 kB / 0.8072 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.7548, allocations: 59.42 kB / 0.8072 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/0.7548, allocations: 0 / 0.8072 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of Templates: time 0.0499/0.8047, allocations: 33.09 MB / 0.8396 GB, free: 12.76 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)