Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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 3.2.3+maint.om/package.mo): time 0.005286/0.005286, allocations: 180.8 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.2 MB / 213.1 MB, free: 13.88 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.0008397/0.0008399, allocations: 90.84 kB / 261.1 MB, free: 13.64 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.06868/0.06868, allocations: 12.58 MB / 321.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2756/0.2756, allocations: 78.06 MB / 450.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.761e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 69.32 MB / 0.5818 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3088/0.4221, allocations: 97.87 MB / 0.6774 GB, free: 9.008 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4225, allocations: 85.72 kB / 0.6775 GB, free: 8.992 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06329/0.4858, allocations: 23.22 MB / 0.7002 GB, free: 6.957 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.493e-05/0.4859, allocations: 20 kB / 0.7002 GB, free: 6.938 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005447/0.4913, allocations: 1.725 MB / 0.7019 GB, free: 5.281 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.4914, allocations: 19.97 kB / 0.7019 GB, free: 5.262 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.4952, allocations: 0.5661 MB / 0.7024 GB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.4972, allocations: 0.6967 MB / 0.7031 GB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.4976, allocations: 243.9 kB / 0.7033 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.4979, allocations: 43.91 kB / 0.7034 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/0.4997, allocations: 0.8005 MB / 0.7042 GB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.5014, allocations: 0.8115 MB / 0.705 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5015, allocations: 3.938 kB / 0.705 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.5016, allocations: 0 / 0.705 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5016, allocations: 20 kB / 0.705 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/0.5072, allocations: 2.982 MB / 0.7079 GB, free: 436 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/0.508, allocations: 0.5493 MB / 0.7084 GB, free: 128 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008146/0.5089, allocations: 0.5553 MB / 0.709 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.509, allocations: 20.61 kB / 0.709 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.509, allocations: 45.84 kB / 0.709 GB, free: 15.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 3.105e-06/0.509, allocations: 0 / 0.709 GB, free: 15.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01438/0.5234, allocations: 4.425 MB / 0.7134 GB, free: 11.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.5235, allocations: 60.19 kB / 0.7134 GB, free: 11.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5246, allocations: 0.6479 MB / 0.7141 GB, free: 11.31 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/0.5248, allocations: 25.7 kB / 0.7141 GB, free: 11.28 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.525, allocations: 294.9 kB / 0.7144 GB, free: 11.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.5255, allocations: 313.4 kB / 0.7147 GB, free: 10.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.5256, allocations: 4 kB / 0.7147 GB, free: 10.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5257, allocations: 340.5 kB / 0.715 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007611/0.5265, allocations: 436.4 kB / 0.7154 GB, free: 10.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.5273, allocations: 0.5186 MB / 0.7159 GB, free: 9.875 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.5281, allocations: 478 kB / 0.7164 GB, free: 9.613 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5281, allocations: 4 kB / 0.7164 GB, free: 9.609 MB / 458.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01431/0.5425, allocations: 4.551 MB / 0.7208 GB, free: 5.621 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.5425, allocations: 4 kB / 0.7208 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.5425, allocations: 0 / 0.7208 GB, free: 5.617 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006432/0.549, allocations: 1.816 MB / 0.7226 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.5498, allocations: 122.6 kB / 0.7227 GB, free: 3.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.5658, allocations: 6.795 MB / 0.7293 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.5674, allocations: 171.2 kB / 0.7295 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.952e-05/0.5675, allocations: 39.86 kB / 0.7295 GB, free: 14.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.000234/0.5677, allocations: 112.8 kB / 0.7297 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.5679, allocations: 114.6 kB / 0.7298 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.5816, allocations: 4.496 MB / 0.7342 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.5817, allocations: 12 kB / 0.7342 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5817, allocations: 0 / 0.7342 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/0.5818, allocations: 3.984 kB / 0.7342 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.5978, allocations: 5.841 MB / 0.7399 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.5979, allocations: 0 / 0.7399 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.5985, allocations: 99.89 kB / 0.74 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.6042, allocations: 1.781 MB / 0.7417 GB, free: 3.043 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.6043, allocations: 11.88 kB / 0.7417 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/0.6182, allocations: 5.997 MB / 0.7476 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.6182, allocations: 11.89 kB / 0.7476 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01487/0.6331, allocations: 5.272 MB / 0.7527 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.6336, allocations: 199.5 kB / 0.7529 GB, free: 7.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6338, allocations: 4 kB / 0.7529 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6349, allocations: 127.9 kB / 0.753 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.6352, allocations: 112.6 kB / 0.7532 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-05/0.6353, allocations: 20 kB / 0.7532 GB, free: 7.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007027/0.636, allocations: 0.5079 MB / 0.7537 GB, free: 6.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001217/0.6372, allocations: 383.5 kB / 0.754 GB, free: 6.234 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.0002954/0.6375, allocations: 120.2 kB / 0.7542 GB, free: 6.109 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005138/0.6427, allocations: 1.972 MB / 0.7561 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6427, allocations: 0 / 0.7561 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004266/0.647, allocations: 1.456 MB / 0.7575 GB, free: 2.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.6476, allocations: 55.34 kB / 0.7576 GB, free: 2.605 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.6516, allocations: 1.5 MB / 0.759 GB, free: 1.066 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008861/0.6525, allocations: 1.111 MB / 0.7601 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.6525, allocations: 0 / 0.7601 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.02898/0.6815, allocations: 19.06 MB / 0.7787 GB, free: 12.86 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)