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.004775/0.004775, 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.234/1.234, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008583/0.0008582, allocations: 102.1 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4562/0.4562, allocations: 79.43 MB / 420.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3285, allocations: 69.5 MB / 0.5569 GB, free: 39.12 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1178/0.4463, allocations: 102.4 MB / 0.6569 GB, free: 3.223 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4466, allocations: 83.95 kB / 0.657 GB, free: 3.141 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08341/0.53, allocations: 31.61 MB / 0.6878 GB, free: 3.367 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5301, allocations: 0 / 0.6878 GB, free: 3.367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.233e-05/0.5302, allocations: 32 kB / 0.6878 GB, free: 3.336 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.005647/0.5358, allocations: 2.244 MB / 0.69 GB, free: 1.035 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5359, allocations: 12.02 kB / 0.69 GB, free: 1.023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.5391, allocations: 0.5912 MB / 0.6906 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.5412, allocations: 0.9453 MB / 0.6915 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.5414, allocations: 246.5 kB / 0.6918 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.5416, allocations: 100 kB / 0.6919 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/0.5444, allocations: 1.503 MB / 0.6933 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.5445, allocations: 3.984 kB / 0.6934 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5446, allocations: 43.94 kB / 0.6934 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.5446, allocations: 31.98 kB / 0.6934 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.5474, allocations: 1.417 MB / 0.6948 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007174/0.5546, allocations: 4.304 MB / 0.699 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003615/0.5583, allocations: 2.063 MB / 0.701 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.5584, allocations: 20.97 kB / 0.701 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.5584, allocations: 47.5 kB / 0.7011 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=116): time 3.106e-06/0.5585, allocations: 4 kB / 0.7011 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116): time 0.02702/0.5855, allocations: 8.486 MB / 0.7094 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.5856, allocations: 119.8 kB / 0.7095 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.5872, allocations: 0.9511 MB / 0.7104 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.5875, allocations: 45.7 kB / 0.7105 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005034/0.588, allocations: 0.6189 MB / 0.7111 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.5884, allocations: 413.9 kB / 0.7115 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.5885, allocations: 20 kB / 0.7115 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5886, allocations: 353.9 kB / 0.7118 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.5902, allocations: 0.7756 MB / 0.7126 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.5918, allocations: 0.9494 MB / 0.7135 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.5935, allocations: 0.8432 MB / 0.7143 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5935, allocations: 4 kB / 0.7143 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01496/0.6084, allocations: 5.405 MB / 0.7196 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005114/0.609, allocations: 1.338 MB / 0.7209 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.609, allocations: 4 kB / 0.7209 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006641/0.6157, allocations: 2.24 MB / 0.7231 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009358/0.6166, allocations: 183.8 kB / 0.7233 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.639, allocations: 10.77 MB / 0.7338 GB, free: 3.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.6407, allocations: 234.9 kB / 0.734 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.6408, allocations: 39.98 kB / 0.7341 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6408, allocations: 4.781 kB / 0.7341 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01429/0.6551, allocations: 5.206 MB / 0.7392 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.6552, allocations: 0 / 0.7392 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006472/0.6617, allocations: 2.237 MB / 0.7413 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.6625, allocations: 171.7 kB / 0.7415 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/0.6847, allocations: 10.74 MB / 0.752 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6863, allocations: 215 kB / 0.7522 GB, free: 432 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.6864, allocations: 43.98 kB / 0.7522 GB, free: 388 kB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.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: 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 () * Number of clocked 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.0006871/0.6871, allocations: 369.1 kB / 0.7526 GB, free: 12 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.6874, allocations: 150.2 kB / 0.7527 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/0.7014, allocations: 5.286 MB / 0.7579 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.7014, allocations: 12 kB / 0.7579 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7014, allocations: 0 / 0.7579 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.123e-05/0.7015, allocations: 7.969 kB / 0.7579 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.718, allocations: 7.144 MB / 0.7649 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7181, allocations: 0 / 0.7649 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/0.7188, allocations: 151.8 kB / 0.765 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006156/0.725, allocations: 2.16 MB / 0.7671 GB, free: 0.9453 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.7251, allocations: 27.98 kB / 0.7672 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2556/0.9807, allocations: 9.295 MB / 0.7763 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.9808, allocations: 0 / 0.7763 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.9958, allocations: 6.418 MB / 0.7825 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.9964, allocations: 229.9 kB / 0.7827 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.9966, allocations: 26.06 kB / 0.7828 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.9977, allocations: 164.4 kB / 0.7829 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007337/0.9985, allocations: 216.3 kB / 0.7831 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.9986, allocations: 28.33 kB / 0.7832 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001037/0.9996, allocations: 0.7548 MB / 0.7839 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9996, allocations: 0.6562 kB / 0.7839 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00184/1.001, allocations: 0.7877 MB / 0.7847 GB, free: 141.2 MB / 0.5573 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 () * Number of clocked 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.0002848/1.002, allocations: 156.1 kB / 0.7848 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.012, allocations: 4.748 MB / 0.7894 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.013, allocations: 2.375 kB / 0.7895 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004543/1.017, allocations: 1.889 MB / 0.7913 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/1.018, allocations: 151.3 kB / 0.7914 GB, free: 140.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/1.022, allocations: 3.021 MB / 0.7944 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.023, allocations: 1.256 MB / 0.7956 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005843/1.023, allocations: 150 kB / 0.7958 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/1.023, allocations: 66.34 kB / 0.7958 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.023, allocations: 0 / 0.7958 GB, free: 138.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.04389/1.067, allocations: 30.81 MB / 0.8259 GB, free: 136.5 MB / 0.5573 GB 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)