Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004622/0.004622, allocations: 172.8 kB / 15.12 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.271/1.271, allocations: 223.2 MB / 239 MB, free: 1.766 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.0007945/0.0007945, allocations: 98.14 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4336/0.4336, allocations: 79.43 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 16 kB / 0.489 GB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3337, allocations: 69.5 MB / 0.5569 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4565, allocations: 99.93 MB / 0.6545 GB, free: 5.633 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4568, allocations: 84.8 kB / 0.6546 GB, free: 5.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07753/0.5343, allocations: 29.13 MB / 0.683 GB, free: 8.293 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.5344, allocations: 0 / 0.683 GB, free: 8.293 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.5345, allocations: 31.94 kB / 0.6831 GB, free: 8.262 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.006002/0.5405, allocations: 2.084 MB / 0.6851 GB, free: 6.121 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5406, allocations: 12.03 kB / 0.6851 GB, free: 6.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.5441, allocations: 0.5834 MB / 0.6857 GB, free: 5.523 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.5464, allocations: 0.8423 MB / 0.6865 GB, free: 4.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.5467, allocations: 246.4 kB / 0.6867 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.5471, allocations: 92 kB / 0.6868 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.5503, allocations: 1.407 MB / 0.6882 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5503, allocations: 0 / 0.6882 GB, free: 2.816 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.5505, allocations: 36 kB / 0.6882 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.5505, allocations: 28 kB / 0.6882 GB, free: 2.754 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.5532, allocations: 1.284 MB / 0.6895 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00688/0.5601, allocations: 4.248 MB / 0.6937 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.5634, allocations: 1.85 MB / 0.6955 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.5635, allocations: 20.92 kB / 0.6955 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5636, allocations: 51.5 kB / 0.6955 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 3.076e-06/0.5636, allocations: 0 / 0.6955 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.0291/0.5927, allocations: 8.72 MB / 0.704 GB, free: 2.254 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.5928, allocations: 119.8 kB / 0.7042 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.5944, allocations: 0.8526 MB / 0.705 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.5946, allocations: 45.7 kB / 0.705 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/0.5951, allocations: 0.5868 MB / 0.7056 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005385/0.5956, allocations: 370.5 kB / 0.706 GB, free: 244 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5957, allocations: 20 kB / 0.706 GB, free: 224 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5959, allocations: 353.9 kB / 0.7063 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.5975, allocations: 0.7209 MB / 0.707 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.5991, allocations: 0.8925 MB / 0.7079 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.6007, allocations: 0.78 MB / 0.7087 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.6007, allocations: 4 kB / 0.7087 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01465/0.6153, allocations: 5.226 MB / 0.7138 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005514/0.6159, allocations: 1.5 MB / 0.7152 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.616, allocations: 11.94 kB / 0.7152 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006771/0.6227, allocations: 2.229 MB / 0.7174 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/0.6235, allocations: 167.7 kB / 0.7176 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02426/0.6478, allocations: 10.79 MB / 0.7281 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.6495, allocations: 207 kB / 0.7283 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.6498, allocations: 39.98 kB / 0.7283 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6498, allocations: 4 kB / 0.7283 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0144/0.6642, allocations: 5.023 MB / 0.7333 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6642, allocations: 4 kB / 0.7333 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/0.671, allocations: 2.229 MB / 0.7354 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.6718, allocations: 151.8 kB / 0.7356 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02332/0.6951, allocations: 10.74 MB / 0.7461 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.6967, allocations: 183 kB / 0.7462 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.697, allocations: 39.98 kB / 0.7463 GB, free: 6.477 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.000881/0.6979, allocations: 358 kB / 0.7466 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/0.6983, allocations: 134.4 kB / 0.7468 GB, free: 5.988 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.7123, allocations: 5.137 MB / 0.7518 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.7124, allocations: 12 kB / 0.7518 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7124, allocations: 0 / 0.7518 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7124, allocations: 7.969 kB / 0.7518 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/0.7324, allocations: 6.904 MB / 0.7585 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.7324, allocations: 4 kB / 0.7585 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.7333, allocations: 127.8 kB / 0.7587 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006506/0.7398, allocations: 2.168 MB / 0.7608 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002834/0.7401, allocations: 20 kB / 0.7608 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2459/0.986, allocations: 9.293 MB / 0.7699 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9861, allocations: 0 / 0.7699 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.002, allocations: 6.186 MB / 0.7759 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/1.002, allocations: 218.8 kB / 0.7761 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.002, allocations: 19.22 kB / 0.7761 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.003, allocations: 145.4 kB / 0.7763 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.004, allocations: 202.6 kB / 0.7765 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/1.004, allocations: 30.75 kB / 0.7765 GB, free: 142.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008573/1.005, allocations: 0.6658 MB / 0.7771 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.01e-07/1.005, allocations: 0 / 0.7771 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001792/1.007, allocations: 0.7475 MB / 0.7779 GB, free: 142.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * 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 (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 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/1.007, allocations: 149.5 kB / 0.778 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.017, allocations: 4.55 MB / 0.7825 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.017, allocations: 0 / 0.7825 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/1.021, allocations: 1.814 MB / 0.7842 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/1.022, allocations: 112 kB / 0.7843 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/1.025, allocations: 2.744 MB / 0.787 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/1.026, allocations: 1.196 MB / 0.7882 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004082/1.026, allocations: 100.5 kB / 0.7883 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/1.027, allocations: 55.34 kB / 0.7883 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/1.027, allocations: 2.75 kB / 0.7883 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04272/1.069, allocations: 29.48 MB / 0.8171 GB, free: 138.3 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)