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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009664/0.0009664, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.158/1.158, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001604/0.001604, allocations: 109.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07468/0.07496, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2211/0.2961, allocations: 76.6 MB / 431.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.2964, allocations: 68.69 kB / 431.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02109/0.3175, allocations: 13.33 MB / 445.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3176, allocations: 0 / 445.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3176, allocations: 9.688 kB / 445.1 MB, free: 1.648 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.0009662/0.3186, allocations: 1.179 MB / 446.2 MB, free: 440 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3186, allocations: 8.031 kB / 446.3 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3187, allocations: 94.88 kB / 446.3 MB, free: 336 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005291/0.3193, allocations: 414 kB / 446.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.3193, allocations: 11.25 kB / 446.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.3194, allocations: 23.56 kB / 446.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.3199, allocations: 351.2 kB / 447.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3199, allocations: 7.922 kB / 447.1 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.32, allocations: 11.62 kB / 447.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.32, allocations: 0 / 447.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003354/0.3203, allocations: 210.3 kB / 447.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3215, allocations: 0.9591 MB / 448.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.322, allocations: 305.4 kB / 448.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.322, allocations: 4 kB / 448.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006324/0.3226, allocations: 0.5805 MB / 449.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.3226, allocations: 0.75 kB / 449.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001774/0.3244, allocations: 1.35 MB / 450.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3246, allocations: 277 kB / 450.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.3261, allocations: 1.274 MB / 452.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.3262, allocations: 45.69 kB / 452.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.3263, allocations: 118.5 kB / 452.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/0.3264, allocations: 68.09 kB / 452.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3264, allocations: 8 kB / 452.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3265, allocations: 338.8 kB / 452.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.3269, allocations: 199.8 kB / 452.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/0.3272, allocations: 237 kB / 453.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.3276, allocations: 368.9 kB / 453.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3276, allocations: 0 / 453.4 MB, free: 9.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001152/0.3288, allocations: 0.8434 MB / 454.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3289, allocations: 190.2 kB / 454.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3289, allocations: 1.125 kB / 454.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3289, allocations: 0 / 454.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.534e-05/0.329, allocations: 7.984 kB / 454.5 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.329, allocations: 4 kB / 454.5 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.3293, allocations: 51.84 kB / 454.5 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.3294, allocations: 87.92 kB / 454.6 MB, free: 8.109 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * Number of discrete states: 0 () * Number of clocked 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.000798/0.3302, allocations: 0.7931 MB / 455.4 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3303, allocations: 98.88 kB / 455.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.3306, allocations: 199.9 kB / 455.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3306, allocations: 0 / 455.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3306, allocations: 0 / 455.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3306, allocations: 4 kB / 455.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3328, allocations: 1.857 MB / 457.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3328, allocations: 0 / 457.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-06/0.3328, allocations: 0 / 457.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3328, allocations: 0 / 457.6 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/0.3329, allocations: 27.98 kB / 457.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3329, allocations: 4.812 kB / 457.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3329, allocations: 0 / 457.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.3343, allocations: 1.296 MB / 458.9 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009079/0.3353, allocations: 0.5968 MB / 459.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.3354, allocations: 55.95 kB / 459.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.3357, allocations: 35.97 kB / 459.6 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.3359, allocations: 83.84 kB / 459.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.215e-05/0.336, allocations: 98.91 kB / 459.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001305/0.3373, allocations: 1.079 MB / 460.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 7.938 kB / 460.8 MB, free: 1.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.3378, allocations: 104 kB / 460.9 MB, free: 1.551 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) * Number of clocked states: 0 () * 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.0002095/0.3381, allocations: 174.5 kB / 461.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3392, allocations: 1.004 MB / 462.1 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3392, allocations: 0 / 462.1 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.3399, allocations: 0.8016 MB / 462.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000788/0.3407, allocations: 207.3 kB / 463.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.3436, allocations: 2.313 MB / 465.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/0.3444, allocations: 1.105 MB / 466.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.3445, allocations: 25.95 kB / 466.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3445, allocations: 15.44 kB / 466.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3446, allocations: 0 / 466.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Templates: time 0.01065/0.3552, allocations: 8.165 MB / 474.8 MB, free: 3.559 MB / 346.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)