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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007049/0.007049, allocations: 99.95 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 191 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 54.58 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1444, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003129/0.1477, allocations: 1.486 MB / 374.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.1501, allocations: 0.9053 MB / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.1502, allocations: 0 / 375.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.1504, allocations: 15.86 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.1505, allocations: 23.78 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1508, allocations: 59.88 kB / 375.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.1512, allocations: 331.3 kB / 376 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1514, allocations: 61.52 kB / 376 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.152, allocations: 467.1 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1522, allocations: 167.4 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.1523, allocations: 24 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.1523, allocations: 24 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.1525, allocations: 179.3 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.1528, allocations: 309.7 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008071/0.1536, allocations: 0.9889 MB / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1536, allocations: 0 / 378.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1536, allocations: 3.938 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1536, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.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.001502/0.1552, allocations: 1.297 MB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.1552, allocations: 12.03 kB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1554, allocations: 99.72 kB / 379.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.1562, allocations: 484.8 kB / 380.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.1563, allocations: 20.36 kB / 380.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.1564, allocations: 12.38 kB / 380.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.157, allocations: 312.2 kB / 380.4 MB, free: 9.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.157, allocations: 3.984 kB / 380.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.1571, allocations: 12 kB / 380.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1571, allocations: 0 / 380.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.1574, allocations: 171.8 kB / 380.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1587, allocations: 0.9275 MB / 381.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1592, allocations: 275.7 kB / 381.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.1596, allocations: 230.5 kB / 382 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.1596, allocations: 7.984 kB / 382 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007305/0.1603, allocations: 0.5153 MB / 382.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.1603, allocations: 0 / 382.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001579/0.1619, allocations: 1.011 MB / 383.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.1621, allocations: 281 kB / 383.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.164, allocations: 1.443 MB / 385.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/0.1641, allocations: 45.7 kB / 385.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.1642, allocations: 122.5 kB / 385.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.1643, allocations: 59.27 kB / 385.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.1645, allocations: 196.7 kB / 385.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1647, allocations: 342.7 kB / 386 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.165, allocations: 159.9 kB / 386.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.1653, allocations: 224.7 kB / 386.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.1661, allocations: 0.6731 MB / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1661, allocations: 0 / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0011/0.1673, allocations: 0.7766 MB / 387.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.1674, allocations: 195.3 kB / 388 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1674, allocations: 0 / 388 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1674, allocations: 3.938 kB / 388 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.857e-05/0.1675, allocations: 4 kB / 388 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1675, allocations: 11.97 kB / 388 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.1678, allocations: 23.92 kB / 388.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.1679, allocations: 91.94 kB / 388.1 MB, free: 1.664 MB / 318.1 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,table2.y,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].x,$whenCondition6,$whenCondition5,$PRE.delay.inertialDelaySensitive[2].y,table1.y,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].x,$whenCondition4,$whenCondition3,$PRE.delay.inertialDelaySensitive[1].y,table.y,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].x,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009789/0.1689, allocations: 0.8016 MB / 389 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.169, allocations: 94.88 kB / 389 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.1693, allocations: 195.9 kB / 389.2 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.1694, allocations: 4 kB / 389.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1694, allocations: 0 / 389.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1694, allocations: 3.938 kB / 389.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.1717, allocations: 1.776 MB / 391 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1718, allocations: 0 / 391 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.1718, allocations: 11.88 kB / 391 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1718, allocations: 4 kB / 391 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.1718, allocations: 27.98 kB / 391.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.1718, allocations: 7.922 kB / 391.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1719, allocations: 0 / 391.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.1732, allocations: 1.195 MB / 392.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.1743, allocations: 0.5851 MB / 392.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.1745, allocations: 55.95 kB / 392.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.1749, allocations: 35.86 kB / 392.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.175, allocations: 43.95 kB / 393 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.1751, allocations: 103.8 kB / 393.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001827/0.177, allocations: 1.075 MB / 394.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.177, allocations: 0 / 394.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005575/0.1775, allocations: 104 kB / 394.3 MB, free: 11.32 MB / 334.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003581/0.1779, allocations: 175.3 kB / 394.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.1793, allocations: 0.9453 MB / 395.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1793, allocations: 0 / 395.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009642/0.1803, allocations: 0.7658 MB / 396.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.1816, allocations: 251.5 kB / 396.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1853, allocations: 2.07 MB / 398.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.1865, allocations: 1.085 MB / 399.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.1867, allocations: 33.94 kB / 399.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1867, allocations: 19.44 kB / 399.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of SimCode: time 1.272e-06/0.1867, allocations: 4 kB / 399.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of Templates: time 0.01825/0.205, allocations: 9.178 MB / 408.8 MB, free: 12.55 MB / 350.1 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)