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.00153/0.00153, allocations: 164.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.246/1.246, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001723/0.001723, allocations: 112.5 kB / 218 MB, free: 8.426 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08164/0.08167, allocations: 38.77 MB / 301 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.423, allocations: 70.54 MB / 371.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.4233, allocations: 63.41 kB / 371.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03436/0.4577, allocations: 13.26 MB / 384.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4577, allocations: 0 / 384.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.4578, allocations: 12 kB / 384.8 MB, free: 2.758 MB / 266.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.0009162/0.4587, allocations: 1.023 MB / 385.9 MB, free: 1.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.4587, allocations: 8.031 kB / 385.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.4589, allocations: 98.83 kB / 386 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.4593, allocations: 421.9 kB / 386.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.4594, allocations: 8 kB / 386.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.4594, allocations: 20 kB / 386.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002618/0.4597, allocations: 182.3 kB / 386.6 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.4601, allocations: 323.3 kB / 386.9 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.4601, allocations: 4 kB / 386.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.4601, allocations: 7.984 kB / 386.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4601, allocations: 4 kB / 386.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.4612, allocations: 0.9261 MB / 387.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.4615, allocations: 289.8 kB / 388.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.4618, allocations: 255.6 kB / 388.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.4618, allocations: 0 / 388.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.4623, allocations: 0.605 MB / 389 MB, free: 14.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/0.4624, allocations: 0 / 389 MB, free: 14.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0009361/0.4633, allocations: 0.6773 MB / 389.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4634, allocations: 283.4 kB / 389.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.4648, allocations: 1.214 MB / 391.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.4649, allocations: 49.12 kB / 391.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.465, allocations: 120.1 kB / 391.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.4651, allocations: 72.75 kB / 391.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.4651, allocations: 6.688 kB / 391.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4652, allocations: 337.1 kB / 391.7 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.4655, allocations: 192.6 kB / 391.9 MB, free: 12.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.4657, allocations: 226.9 kB / 392.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4659, allocations: 154.1 kB / 392.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4659, allocations: 0 / 392.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008205/0.4668, allocations: 0.6188 MB / 392.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.4669, allocations: 196.8 kB / 393.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4669, allocations: 7.984 kB / 393.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4669, allocations: 3.953 kB / 393.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.456e-05/0.467, allocations: 7.375 kB / 393.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.467, allocations: 3.938 kB / 393.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.4673, allocations: 39.81 kB / 393.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.846e-05/0.4674, allocations: 91.88 kB / 393.2 MB, free: 11.23 MB / 282.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.0002763/0.4677, allocations: 342.6 kB / 393.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4678, allocations: 102.8 kB / 393.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.4681, allocations: 197.1 kB / 393.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4681, allocations: 4 kB / 393.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4681, allocations: 3.953 kB / 393.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4681, allocations: 0 / 393.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.4699, allocations: 1.564 MB / 395.4 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.47, allocations: 4 kB / 395.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.47, allocations: 0 / 395.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.47, allocations: 0 / 395.5 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.4701, allocations: 27.61 kB / 395.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4701, allocations: 7.953 kB / 395.5 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4701, allocations: 0 / 395.5 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.4713, allocations: 1.034 MB / 396.5 MB, free: 8.312 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000925/0.4723, allocations: 0.5957 MB / 397.1 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.4724, allocations: 49.22 kB / 397.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.4728, allocations: 31.59 kB / 397.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.473, allocations: 85.44 kB / 397.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.4731, allocations: 99.17 kB / 397.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00123/0.4744, allocations: 1.024 MB / 398.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4744, allocations: 0 / 398.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.4749, allocations: 104 kB / 398.5 MB, free: 6.633 MB / 282.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.0002841/0.4752, allocations: 180.1 kB / 398.7 MB, free: 6.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008906/0.4761, allocations: 0.9521 MB / 399.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4761, allocations: 3.938 kB / 399.6 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.4768, allocations: 0.7788 MB / 400.4 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4778, allocations: 207.1 kB / 400.6 MB, free: 4.906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.4807, allocations: 1.797 MB / 402.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/0.4815, allocations: 1.111 MB / 403.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.4817, allocations: 37.38 kB / 403.6 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.4817, allocations: 11.44 kB / 403.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4817, allocations: 0 / 403.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of Templates: time 0.01091/0.4926, allocations: 7.734 MB / 411.3 MB, free: 10.36 MB / 298.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)