Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay") [: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.2+maint.om/package.mo): time 0.001744/0.001745, allocations: 192 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.102/1.102, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 118.9 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.083e-06/7.234e-06, allocations: 0 / 297.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07283/0.07285, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.2682, allocations: 75.78 MB / 417.8 MB, free: 19.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.2684, allocations: 63.09 kB / 417.9 MB, free: 19.44 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02331/0.2918, allocations: 12.84 MB / 430.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.2918, allocations: 12 kB / 430.8 MB, free: 8.879 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007213/0.2925, allocations: 1.028 MB / 431.8 MB, free: 7.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.2926, allocations: 8.031 kB / 431.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2927, allocations: 98.78 kB / 431.9 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.2931, allocations: 434.6 kB / 432.3 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.2932, allocations: 11.98 kB / 432.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.2932, allocations: 19.5 kB / 432.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002803/0.2935, allocations: 187.6 kB / 432.5 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.2939, allocations: 337.9 kB / 432.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.294, allocations: 0 / 432.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.294, allocations: 11.94 kB / 432.9 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.294, allocations: 0 / 432.9 MB, free: 6.805 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2951, allocations: 0.9469 MB / 433.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2954, allocations: 299.2 kB / 434.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2956, allocations: 261.3 kB / 434.4 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.2957, allocations: 4 kB / 434.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.2961, allocations: 0.5488 MB / 434.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.2961, allocations: 0 / 434.9 MB, free: 5.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006681/0.2968, allocations: 0.5069 MB / 435.4 MB, free: 4.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.2968, allocations: 284.5 kB / 435.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2982, allocations: 1.244 MB / 436.9 MB, free: 3.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.2982, allocations: 37.64 kB / 437 MB, free: 3.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.2983, allocations: 105 kB / 437.1 MB, free: 3.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.2984, allocations: 73.47 kB / 437.2 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.2984, allocations: 7.938 kB / 437.2 MB, free: 3.004 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.2985, allocations: 336.4 kB / 437.5 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.2988, allocations: 192.7 kB / 437.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.299, allocations: 229.9 kB / 437.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.2992, allocations: 167.4 kB / 438.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2992, allocations: 0 / 438.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005652/0.2998, allocations: 470.3 kB / 438.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.2998, allocations: 4 kB / 438.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2998, allocations: 7.984 kB / 438.5 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2998, allocations: 3.906 kB / 438.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.019e-05/0.2999, allocations: 0 / 438.5 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2999, allocations: 4 kB / 438.5 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.3002, allocations: 39.77 kB / 438.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/0.3003, allocations: 86.92 kB / 438.7 MB, free: 1.773 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.3005, allocations: 336.4 kB / 439 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.3006, allocations: 98.78 kB / 439.1 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.3009, allocations: 199.9 kB / 439.3 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3009, allocations: 8 kB / 439.3 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3009, allocations: 4 kB / 439.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3009, allocations: 0 / 439.3 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.3023, allocations: 1.397 MB / 440.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3023, allocations: 0 / 440.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-06/0.3023, allocations: 2.062 kB / 440.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3023, allocations: 0 / 440.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.3024, allocations: 26.92 kB / 440.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3024, allocations: 8 kB / 440.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3024, allocations: 3.984 kB / 440.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008678/0.3033, allocations: 0.8474 MB / 441.6 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009362/0.3042, allocations: 0.6095 MB / 442.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.3044, allocations: 57.47 kB / 442.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.3048, allocations: 31.97 kB / 442.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.305, allocations: 91.03 kB / 442.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.3051, allocations: 95.61 kB / 442.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001316/0.3065, allocations: 1.039 MB / 443.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.3069, allocations: 92 kB / 443.6 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002106/0.3072, allocations: 180 kB / 443.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.3079, allocations: 0.64 MB / 444.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3079, allocations: 0 / 444.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.3085, allocations: 0.6306 MB / 445 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.3094, allocations: 193.8 kB / 445.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.3121, allocations: 1.812 MB / 447 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008181/0.313, allocations: 1.111 MB / 448.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.313, allocations: 0 / 448.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of Templates: time 0.01059/0.3236, allocations: 7.658 MB / 455.8 MB, free: 1.738 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)