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.001023/0.001023, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.378/1.378, allocations: 194.2 MB / 208.4 MB, free: 6.672 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.001803/0.001803, allocations: 120.7 kB / 253.5 MB, free: 9.535 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.947e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07159/0.07164, allocations: 44.51 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.3561, allocations: 76.51 MB / 426 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.3564, allocations: 77.02 kB / 426 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0219/0.3783, allocations: 13.37 MB / 439.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3783, allocations: 0 / 439.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3784, allocations: 11.69 kB / 439.4 MB, free: 5.824 MB / 298.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.0007152/0.3791, allocations: 1.021 MB / 440.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3791, allocations: 11.53 kB / 440.4 MB, free: 4.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3792, allocations: 97.06 kB / 440.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.3797, allocations: 408.3 kB / 440.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.3797, allocations: 15.12 kB / 441 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3798, allocations: 23.27 kB / 441 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.3802, allocations: 342 kB / 441.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.3802, allocations: 0 / 441.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.3802, allocations: 8 kB / 441.3 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3803, allocations: 7.984 kB / 441.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.3805, allocations: 191.7 kB / 441.5 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.3814, allocations: 0.973 MB / 442.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3817, allocations: 298.2 kB / 442.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.382, allocations: 263.3 kB / 443 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.382, allocations: 3.062 kB / 443 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.3825, allocations: 0.5823 MB / 443.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.263e-06/0.3825, allocations: 0 / 443.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001009/0.3835, allocations: 0.8802 MB / 444.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.3836, allocations: 276.8 kB / 444.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.3848, allocations: 1.271 MB / 446 MB, free: 236 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.138e-05/0.3849, allocations: 41.56 kB / 446.1 MB, free: 192 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.385, allocations: 125.1 kB / 446.2 MB, free: 84 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.027e-05/0.385, allocations: 69.52 kB / 446.3 MB, free: 24 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.3851, allocations: 11.88 kB / 446.3 MB, free: 16 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3852, allocations: 338.3 kB / 446.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.3855, allocations: 200.8 kB / 446.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.3858, allocations: 231.1 kB / 447 MB, free: 15.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.3861, allocations: 359.2 kB / 447.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.3861, allocations: 4 kB / 447.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001004/0.3871, allocations: 0.8201 MB / 448.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.3873, allocations: 185.9 kB / 448.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3873, allocations: 11.98 kB / 448.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3873, allocations: 0 / 448.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.3873, allocations: 4 kB / 448.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3873, allocations: 0 / 448.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.3876, allocations: 35.91 kB / 448.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3877, allocations: 91.81 kB / 448.5 MB, free: 14.01 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.0002641/0.388, allocations: 359.6 kB / 448.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.3882, allocations: 106.8 kB / 449 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.3884, allocations: 195.4 kB / 449.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3884, allocations: 4 kB / 449.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3885, allocations: 0 / 449.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3885, allocations: 0 / 449.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.3905, allocations: 1.837 MB / 451 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3905, allocations: 0 / 451 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/0.3906, allocations: 8 kB / 451 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3906, allocations: 0 / 451 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.3906, allocations: 27.86 kB / 451.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3906, allocations: 0 / 451.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3906, allocations: 4 kB / 451.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.392, allocations: 1.271 MB / 452.3 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008437/0.3928, allocations: 0.5939 MB / 452.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.393, allocations: 58.03 kB / 453 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.3933, allocations: 35.81 kB / 453 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3935, allocations: 87.33 kB / 453.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/0.3936, allocations: 95.17 kB / 453.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001267/0.3949, allocations: 1.069 MB / 454.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3949, allocations: 7.938 kB / 454.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.3953, allocations: 105.6 kB / 454.4 MB, free: 8.797 MB / 314.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.000244/0.3955, allocations: 173.8 kB / 454.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009599/0.3965, allocations: 0.983 MB / 455.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3965, allocations: 0 / 455.5 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.3971, allocations: 0.7954 MB / 456.3 MB, free: 7.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008673/0.398, allocations: 219.2 kB / 456.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.4005, allocations: 1.797 MB / 458.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.4012, allocations: 1.102 MB / 459.4 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.4013, allocations: 33.17 kB / 459.5 MB, free: 4.254 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.4014, allocations: 15.44 kB / 459.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4014, allocations: 0 / 459.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of Templates: time 0.01065/0.412, allocations: 8.165 MB / 467.6 MB, free: 12.08 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)