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.0009265/0.0009265, allocations: 188.6 kB / 8.353 MB, free: 0.707 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.27/1.27, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001789/0.001789, allocations: 118.7 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.47e-05, allocations: 4 kB / 298.1 MB, free: 8.246 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08239/0.08242, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.3741, allocations: 75.86 MB / 418.4 MB, free: 19.94 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.3743, allocations: 69.7 kB / 418.5 MB, free: 19.91 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02188/0.3962, allocations: 13.29 MB / 431.8 MB, free: 8.914 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3962, allocations: 0 / 431.8 MB, free: 8.914 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.3963, allocations: 12 kB / 431.8 MB, free: 8.902 MB / 315.1 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.0007874/0.3971, allocations: 1.024 MB / 432.8 MB, free: 7.84 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3971, allocations: 8.031 kB / 432.8 MB, free: 7.832 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.3972, allocations: 98.78 kB / 432.9 MB, free: 7.734 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3976, allocations: 415.6 kB / 433.3 MB, free: 7.293 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3977, allocations: 19.5 kB / 433.3 MB, free: 7.277 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.3977, allocations: 12 kB / 433.4 MB, free: 7.266 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/0.398, allocations: 184 kB / 433.5 MB, free: 7.141 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3983, allocations: 334.4 kB / 433.9 MB, free: 6.867 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3984, allocations: 0 / 433.9 MB, free: 6.867 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.3984, allocations: 8 kB / 433.9 MB, free: 6.859 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3984, allocations: 0 / 433.9 MB, free: 6.859 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.3993, allocations: 0.9278 MB / 434.8 MB, free: 6.023 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3996, allocations: 290.4 kB / 435.1 MB, free: 5.805 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3999, allocations: 251.5 kB / 435.3 MB, free: 5.641 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.3999, allocations: 0 / 435.3 MB, free: 5.641 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.4004, allocations: 0.6066 MB / 435.9 MB, free: 5.062 MB / 315.1 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.4004, allocations: 4 kB / 435.9 MB, free: 5.059 MB / 315.1 MB Notification: Performance of matching and sorting (n=30): time 0.0008913/0.4013, allocations: 0.6778 MB / 436.6 MB, free: 4.516 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4014, allocations: 276.9 kB / 436.9 MB, free: 4.188 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.4026, allocations: 1.227 MB / 438.1 MB, free: 3.145 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.4026, allocations: 33.7 kB / 438.1 MB, free: 3.105 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.4027, allocations: 116.6 kB / 438.3 MB, free: 3.008 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.4028, allocations: 70.98 kB / 438.3 MB, free: 2.949 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.4028, allocations: 15.48 kB / 438.3 MB, free: 2.938 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.4029, allocations: 338.1 kB / 438.7 MB, free: 2.605 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.4031, allocations: 188.6 kB / 438.9 MB, free: 2.488 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.4034, allocations: 217.5 kB / 439.1 MB, free: 2.336 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.4036, allocations: 164.4 kB / 439.2 MB, free: 2.223 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4036, allocations: 0 / 439.2 MB, free: 2.223 MB / 315.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007659/0.4043, allocations: 0.6114 MB / 439.8 MB, free: 1.754 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.4044, allocations: 193.9 kB / 440 MB, free: 1.535 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4044, allocations: 4 kB / 440 MB, free: 1.531 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4045, allocations: 5.969 kB / 440 MB, free: 1.527 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.331e-05/0.4045, allocations: 0 / 440 MB, free: 1.527 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.4045, allocations: 4 kB / 440 MB, free: 1.523 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.4048, allocations: 29.66 kB / 440.1 MB, free: 1.496 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.4049, allocations: 97.3 kB / 440.2 MB, free: 1.402 MB / 315.1 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.0001981/0.4051, allocations: 349.5 kB / 440.5 MB, free: 1.027 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.4052, allocations: 111.9 kB / 440.6 MB, free: 0.918 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.4055, allocations: 199.8 kB / 440.8 MB, free: 0.7422 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.4055, allocations: 0 / 440.8 MB, free: 0.7422 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4056, allocations: 4 kB / 440.8 MB, free: 0.7383 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4056, allocations: 0 / 440.8 MB, free: 0.7383 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.4072, allocations: 1.562 MB / 442.4 MB, free: 15.41 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4072, allocations: 3.984 kB / 442.4 MB, free: 15.41 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.4073, allocations: 4 kB / 442.4 MB, free: 15.41 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4073, allocations: 3.938 kB / 442.4 MB, free: 15.4 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.4073, allocations: 31.55 kB / 442.4 MB, free: 15.38 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4073, allocations: 3.938 kB / 442.4 MB, free: 15.37 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4073, allocations: 0 / 442.4 MB, free: 15.37 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4085, allocations: 1.032 MB / 443.5 MB, free: 14.48 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/0.4094, allocations: 0.5926 MB / 444.1 MB, free: 14 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.4095, allocations: 53.39 kB / 444.1 MB, free: 13.96 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4099, allocations: 35.88 kB / 444.1 MB, free: 13.92 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.4101, allocations: 86.52 kB / 444.2 MB, free: 13.86 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.4102, allocations: 95.61 kB / 444.3 MB, free: 13.77 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.00126/0.4115, allocations: 1.018 MB / 445.3 MB, free: 12.91 MB / 331.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4115, allocations: 4 kB / 445.3 MB, free: 12.9 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.4119, allocations: 107.9 kB / 445.4 MB, free: 12.8 MB / 331.1 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.0002222/0.4122, allocations: 185.2 kB / 445.6 MB, free: 12.62 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0009298/0.4131, allocations: 0.944 MB / 446.6 MB, free: 11.87 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4131, allocations: 4 kB / 446.6 MB, free: 11.87 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.4138, allocations: 0.7819 MB / 447.4 MB, free: 11.24 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/0.4147, allocations: 208.3 kB / 447.6 MB, free: 11.07 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4172, allocations: 1.782 MB / 449.3 MB, free: 9.438 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/0.418, allocations: 1.107 MB / 450.4 MB, free: 8.34 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 9.426e-05/0.4182, allocations: 25.17 kB / 450.5 MB, free: 8.316 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.4182, allocations: 19.44 kB / 450.5 MB, free: 8.297 MB / 331.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4182, allocations: 4.969 kB / 450.5 MB, free: 8.293 MB / 331.1 MB Notification: Performance of Templates: time 0.01119/0.4294, allocations: 7.744 MB / 458.2 MB, free: 0.5547 MB / 331.1 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)