Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.004629/0.004629, allocations: 169.8 kB / 15.11 MB, free: 5.969 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.15/1.15, allocations: 223.2 MB / 239 MB, free: 1.809 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.0007715/0.0007715, allocations: 98.75 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.402/0.402, allocations: 78.52 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 16 kB / 499.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 69.36 MB / 0.5557 GB, free: 39.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3935, allocations: 99.34 MB / 0.6527 GB, free: 7.074 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3937, allocations: 100.8 kB / 0.6528 GB, free: 6.977 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06718/0.4609, allocations: 28.82 MB / 0.681 GB, free: 10.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4609, allocations: 0 / 0.681 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.515e-05/0.461, allocations: 35.92 kB / 0.681 GB, free: 9.977 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.004612/0.4656, allocations: 2.08 MB / 0.683 GB, free: 7.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.4656, allocations: 11.97 kB / 0.6831 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002983/0.4686, allocations: 0.5834 MB / 0.6836 GB, free: 7.242 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.4699, allocations: 0.8462 MB / 0.6844 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.4701, allocations: 242.4 kB / 0.6847 GB, free: 6.074 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.4703, allocations: 92 kB / 0.6848 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4726, allocations: 1.407 MB / 0.6861 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4726, allocations: 0 / 0.6861 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4727, allocations: 39.98 kB / 0.6862 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.4728, allocations: 24 kB / 0.6862 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.475, allocations: 1.288 MB / 0.6875 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005355/0.4804, allocations: 4.256 MB / 0.6916 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.4834, allocations: 1.835 MB / 0.6934 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.4835, allocations: 20.94 kB / 0.6934 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4835, allocations: 47.55 kB / 0.6935 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 1.934e-06/0.4835, allocations: 4 kB / 0.6935 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.02657/0.5101, allocations: 8.724 MB / 0.702 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.5102, allocations: 115.8 kB / 0.7021 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.5113, allocations: 0.8565 MB / 0.7029 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.5115, allocations: 45.7 kB / 0.703 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.5118, allocations: 0.5829 MB / 0.7036 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.5122, allocations: 370.5 kB / 0.7039 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.5123, allocations: 20 kB / 0.7039 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5124, allocations: 349.9 kB / 0.7043 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.5137, allocations: 0.7171 MB / 0.705 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5152, allocations: 0.9003 MB / 0.7058 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5166, allocations: 0.78 MB / 0.7066 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5166, allocations: 4 kB / 0.7066 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0134/0.53, allocations: 5.23 MB / 0.7117 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005332/0.5305, allocations: 1.498 MB / 0.7132 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5306, allocations: 8 kB / 0.7132 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/0.537, allocations: 2.233 MB / 0.7154 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.5377, allocations: 167.7 kB / 0.7155 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.5591, allocations: 10.77 MB / 0.726 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.5606, allocations: 210.9 kB / 0.7262 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.5608, allocations: 39.98 kB / 0.7263 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.5608, allocations: 8.938 kB / 0.7263 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01327/0.5741, allocations: 5.023 MB / 0.7312 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5741, allocations: 7.953 kB / 0.7312 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006361/0.5805, allocations: 2.229 MB / 0.7334 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.5812, allocations: 147.8 kB / 0.7335 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.6032, allocations: 10.73 MB / 0.744 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.6046, allocations: 187 kB / 0.7442 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.6048, allocations: 43.98 kB / 0.7442 GB, free: 8.195 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.0006604/0.6054, allocations: 345.5 kB / 0.7446 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.6057, allocations: 138.3 kB / 0.7447 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.6196, allocations: 5.137 MB / 0.7497 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.6197, allocations: 8 kB / 0.7497 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6197, allocations: 4 kB / 0.7497 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/0.6197, allocations: 7.984 kB / 0.7497 GB, free: 2.543 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01622/0.6359, allocations: 6.904 MB / 0.7565 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.636, allocations: 0 / 0.7565 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.6367, allocations: 123.8 kB / 0.7566 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006867/0.6436, allocations: 2.176 MB / 0.7587 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/0.6438, allocations: 20 kB / 0.7587 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2377/0.8816, allocations: 9.305 MB / 0.7678 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8816, allocations: 0.6875 kB / 0.7678 GB, free: 144.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/0.8971, allocations: 6.182 MB / 0.7739 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.8975, allocations: 220.5 kB / 0.7741 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.8977, allocations: 21.31 kB / 0.7741 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/0.8987, allocations: 142.7 kB / 0.7742 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005244/0.8992, allocations: 209 kB / 0.7744 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.8993, allocations: 28.05 kB / 0.7744 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007279/0.9, allocations: 0.665 MB / 0.7751 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9, allocations: 3.969 kB / 0.7751 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001768/0.9018, allocations: 0.7483 MB / 0.7758 GB, free: 143.7 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.0002393/0.902, allocations: 149.6 kB / 0.776 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009904/0.912, allocations: 4.536 MB / 0.7804 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.912, allocations: 2.875 kB / 0.7804 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004035/0.916, allocations: 1.816 MB / 0.7822 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.9168, allocations: 112.2 kB / 0.7823 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.92, allocations: 2.742 MB / 0.785 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.9205, allocations: 1.196 MB / 0.7861 GB, free: 141 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004071/0.921, allocations: 103.3 kB / 0.7862 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.9211, allocations: 60.09 kB / 0.7863 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.9212, allocations: 0 / 0.7863 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.04045/0.9616, allocations: 29.48 MB / 0.8151 GB, free: 139.4 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)