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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004648/0.004648, allocations: 183 kB / 7.459 MB, free: 2.512 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.383/1.383, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009643/0.0009642, allocations: 105.5 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4369/0.4369, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.283e-06, allocations: 0 / 485.4 MB, free: 3.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3058, allocations: 69.52 MB / 0.5419 GB, free: 20.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4257, allocations: 101.5 MB / 0.641 GB, free: 2.316 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.426, allocations: 95.92 kB / 0.6411 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08416/0.5101, allocations: 30.85 MB / 0.6712 GB, free: 3.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.5103, allocations: 36.16 kB / 0.6713 GB, free: 3.109 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.005971/0.5163, allocations: 2.039 MB / 0.6733 GB, free: 1.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5163, allocations: 12.03 kB / 0.6733 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/0.5201, allocations: 0.6105 MB / 0.6739 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1869/0.707, allocations: 0.9107 MB / 0.6748 GB, free: 137.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.7074, allocations: 216.1 kB / 0.675 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.7077, allocations: 65.11 kB / 0.675 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00307/0.7107, allocations: 1.033 MB / 0.676 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.7137, allocations: 1.096 MB / 0.6771 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.7137, allocations: 0 / 0.6771 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.7139, allocations: 0 / 0.6771 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.714, allocations: 25.44 kB / 0.6771 GB, free: 137.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008929/0.7229, allocations: 4.166 MB / 0.6812 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.7247, allocations: 0.7504 MB / 0.6819 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.7262, allocations: 0.6809 MB / 0.6826 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.7264, allocations: 16.02 kB / 0.6826 GB, free: 136.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.7264, allocations: 45.31 kB / 0.6827 GB, free: 136 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 5.73e-06/0.7264, allocations: 0 / 0.6827 GB, free: 136 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.02035/0.7468, allocations: 4.638 MB / 0.6872 GB, free: 135.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.7468, allocations: 114.6 kB / 0.6873 GB, free: 135.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.7485, allocations: 0.8453 MB / 0.6881 GB, free: 135.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002342/0.7487, allocations: 25.7 kB / 0.6881 GB, free: 135.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.749, allocations: 401.4 kB / 0.6885 GB, free: 135.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.7495, allocations: 391.2 kB / 0.6889 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.7497, allocations: 0 / 0.6889 GB, free: 135.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.7498, allocations: 355.6 kB / 0.6892 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.7511, allocations: 0.5084 MB / 0.6897 GB, free: 134.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.7524, allocations: 0.6709 MB / 0.6904 GB, free: 134.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.7538, allocations: 0.5767 MB / 0.691 GB, free: 134.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.7539, allocations: 0 / 0.691 GB, free: 134.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0215/0.7754, allocations: 4.849 MB / 0.6957 GB, free: 134.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.7756, allocations: 1.324 MB / 0.697 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7756, allocations: 3.969 kB / 0.697 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009038/0.7847, allocations: 1.832 MB / 0.6988 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.7862, allocations: 182.5 kB / 0.699 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.8101, allocations: 6.793 MB / 0.7056 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.8128, allocations: 228.9 kB / 0.7058 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.813, allocations: 42.94 kB / 0.7058 GB, free: 131.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.813, allocations: 3.156 kB / 0.7058 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0228/0.8358, allocations: 4.667 MB / 0.7104 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-05/0.8359, allocations: 5.938 kB / 0.7104 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005729/0.8416, allocations: 1.826 MB / 0.7122 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.8426, allocations: 170.1 kB / 0.7124 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.8565, allocations: 6.798 MB / 0.719 GB, free: 127.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.8583, allocations: 206.7 kB / 0.7192 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.8584, allocations: 38.2 kB / 0.7192 GB, free: 127.6 MB / 490.7 MB 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.0003889/0.8588, allocations: 139.5 kB / 0.7194 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.859, allocations: 145.7 kB / 0.7195 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/0.8718, allocations: 4.73 MB / 0.7241 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/0.8718, allocations: 14.55 kB / 0.7241 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8718, allocations: 0 / 0.7241 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.8719, allocations: 2.953 kB / 0.7241 GB, free: 126.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.8869, allocations: 6.327 MB / 0.7303 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.887, allocations: 1.469 kB / 0.7303 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008833/0.8878, allocations: 148.8 kB / 0.7305 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005741/0.8936, allocations: 1.789 MB / 0.7322 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/0.8938, allocations: 7.016 kB / 0.7322 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.9067, allocations: 6.011 MB / 0.7381 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.9068, allocations: 0 / 0.7381 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01414/0.9209, allocations: 5.635 MB / 0.7436 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/0.9215, allocations: 228.8 kB / 0.7438 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.9217, allocations: 4 kB / 0.7438 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.923, allocations: 163.7 kB / 0.744 GB, free: 115 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.9233, allocations: 125.3 kB / 0.7441 GB, free: 114.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/0.9234, allocations: 28 kB / 0.7441 GB, free: 114.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007528/0.9241, allocations: 0.6374 MB / 0.7447 GB, free: 114.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002027/0.9262, allocations: 0.717 MB / 0.7454 GB, free: 113.6 MB / 490.7 MB 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.000287/0.9265, allocations: 138 kB / 0.7456 GB, free: 113.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009005/0.9355, allocations: 3.862 MB / 0.7493 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9355, allocations: 4 kB / 0.7493 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/0.9394, allocations: 1.541 MB / 0.7508 GB, free: 108.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007546/0.9402, allocations: 125.8 kB / 0.751 GB, free: 108.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004415/0.9446, allocations: 1.951 MB / 0.7529 GB, free: 106.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007889/0.9454, allocations: 1.291 MB / 0.7541 GB, free: 105.6 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.9454, allocations: 0 / 0.7541 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Templates: time 0.0429/0.9884, allocations: 34.03 MB / 0.7874 GB, free: 77.77 MB / 490.7 MB 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)