Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005204/0.005204, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.299/1.299, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 118.5 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 15.98 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2629, allocations: 38.76 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.3633, allocations: 71.3 MB / 384.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.3636, allocations: 67.97 kB / 384.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.391, allocations: 13.3 MB / 397.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.391, allocations: 4 kB / 397.6 MB, free: 5.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.391, allocations: 8 kB / 397.6 MB, free: 5.855 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.001521/0.3926, allocations: 1.176 MB / 398.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3926, allocations: 12.02 kB / 398.8 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.3928, allocations: 98.83 kB / 398.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/0.3934, allocations: 412.9 kB / 399.3 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.3935, allocations: 15.98 kB / 399.3 MB, free: 4.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.3935, allocations: 20 kB / 399.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3942, allocations: 348.4 kB / 399.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3942, allocations: 3.984 kB / 399.6 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.3943, allocations: 7.984 kB / 399.6 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3943, allocations: 4 kB / 399.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3947, allocations: 203.8 kB / 399.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3961, allocations: 0.9627 MB / 400.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.3966, allocations: 303.7 kB / 401.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3966, allocations: 8 kB / 401.1 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007095/0.3973, allocations: 0.5894 MB / 401.7 MB, free: 1.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.3974, allocations: 0 / 401.7 MB, free: 1.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001934/0.3993, allocations: 1.346 MB / 403 MB, free: 15.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.3995, allocations: 277 kB / 403.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.4011, allocations: 1.281 MB / 404.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.4012, allocations: 45.64 kB / 404.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.4013, allocations: 118.7 kB / 404.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.4014, allocations: 71.19 kB / 404.8 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.4014, allocations: 11.98 kB / 404.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4016, allocations: 330.8 kB / 405.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.4019, allocations: 203.8 kB / 405.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.4023, allocations: 237 kB / 405.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.4027, allocations: 359.9 kB / 405.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4027, allocations: 0 / 405.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001272/0.404, allocations: 0.839 MB / 406.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.4041, allocations: 190.2 kB / 407 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4042, allocations: 7.953 kB / 407 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4042, allocations: 0 / 407 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.64e-05/0.4042, allocations: 7.938 kB / 407 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4042, allocations: 4 kB / 407 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.4045, allocations: 43.81 kB / 407 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4047, allocations: 87.97 kB / 407.1 MB, free: 11.66 MB / 314.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.001064/0.4057, allocations: 0.7976 MB / 407.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4059, allocations: 102.8 kB / 408 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.4062, allocations: 195.9 kB / 408.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.4062, allocations: 3.953 kB / 408.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4062, allocations: 0 / 408.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4062, allocations: 8 kB / 408.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.4087, allocations: 1.855 MB / 410.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4087, allocations: 0 / 410.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.4088, allocations: 3.938 kB / 410.1 MB, free: 8.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4088, allocations: 3.953 kB / 410.1 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.806e-05/0.4088, allocations: 27.98 kB / 410.1 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4088, allocations: 4 kB / 410.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4089, allocations: 0 / 410.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4105, allocations: 1.29 MB / 411.4 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.4116, allocations: 0.5929 MB / 412 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.4118, allocations: 55.95 kB / 412 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.4122, allocations: 31.97 kB / 412.1 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.4124, allocations: 87.88 kB / 412.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.4125, allocations: 91.92 kB / 412.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.4142, allocations: 1.075 MB / 413.3 MB, free: 5.203 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4142, allocations: 4 kB / 413.3 MB, free: 5.199 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006295/0.4148, allocations: 104 kB / 413.4 MB, free: 5.098 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) * 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.0002713/0.4151, allocations: 175.3 kB / 413.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4164, allocations: 0.9999 MB / 414.6 MB, free: 3.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4164, allocations: 4.188 kB / 414.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.4173, allocations: 0.8048 MB / 415.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009717/0.4183, allocations: 215.8 kB / 415.6 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.4217, allocations: 2.315 MB / 417.9 MB, free: 412 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1599/0.5816, allocations: 1.102 MB / 419 MB, free: 90.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.5819, allocations: 28.7 kB / 419.1 MB, free: 90.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.5819, allocations: 14.66 kB / 419.1 MB, free: 90.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.984e-06/0.5819, allocations: 0 / 419.1 MB, free: 90.75 MB / 314.7 MB Notification: Performance of Templates: time 0.01483/0.5967, allocations: 8.177 MB / 427.3 MB, free: 89.07 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)