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.009692/0.009692, allocations: 103.4 kB / 15.73 MB, free: 6.445 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.002331/0.002331, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.733/1.733, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001429/0.001429, allocations: 47.22 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1488, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.004004/0.1529, allocations: 1.486 MB / 374.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002705/0.1556, allocations: 0.9091 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.1558, allocations: 0 / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1561, allocations: 15.86 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.1562, allocations: 19.86 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1566, allocations: 55.88 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.1572, allocations: 331.3 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.1575, allocations: 69.48 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.1582, allocations: 0.495 MB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.1586, allocations: 163.4 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.1587, allocations: 24 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.121e-05/0.1587, allocations: 24 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.159, allocations: 179.3 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.1594, allocations: 309.7 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1606, allocations: 0.9889 MB / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1606, allocations: 0 / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1606, allocations: 0 / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.1606, allocations: 0 / 378.2 MB, free: 12.24 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.002061/0.1627, allocations: 1.297 MB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.624e-05/0.1628, allocations: 15.97 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.163, allocations: 99.72 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.1639, allocations: 480.8 kB / 380.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.164, allocations: 12.38 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.1641, allocations: 20.38 kB / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.1649, allocations: 308.2 kB / 380.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1649, allocations: 4 kB / 380.4 MB, free: 9.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.1649, allocations: 12 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.165, allocations: 4 kB / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.1653, allocations: 167.8 kB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1671, allocations: 0.9314 MB / 381.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.1676, allocations: 275.7 kB / 381.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.1681, allocations: 234.5 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1681, allocations: 0 / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000975/0.1691, allocations: 0.5231 MB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.1691, allocations: 0 / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001946/0.171, allocations: 1.007 MB / 383.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000286/0.1713, allocations: 281 kB / 383.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.174, allocations: 1.443 MB / 385.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.1741, allocations: 45.62 kB / 385.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1742, allocations: 122.5 kB / 385.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1744, allocations: 63.25 kB / 385.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.1747, allocations: 192.7 kB / 385.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.175, allocations: 338.8 kB / 386 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1753, allocations: 159.9 kB / 386.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.1757, allocations: 224.6 kB / 386.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.1766, allocations: 0.6732 MB / 387.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1767, allocations: 0 / 387.1 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001473/0.1781, allocations: 0.7766 MB / 387.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.1784, allocations: 198.2 kB / 388 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.1784, allocations: 0 / 388 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.1785, allocations: 7.938 kB / 388.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.1785, allocations: 4 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1785, allocations: 0 / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.1789, allocations: 31.92 kB / 388.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.179, allocations: 87.92 kB / 388.2 MB, free: 1.617 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.001373/0.1804, allocations: 0.7938 MB / 389 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.1806, allocations: 102.9 kB / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.181, allocations: 199.9 kB / 389.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.181, allocations: 0 / 389.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.181, allocations: 3.938 kB / 389.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.181, allocations: 7.938 kB / 389.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.1842, allocations: 1.776 MB / 391.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1842, allocations: 4 kB / 391.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.47e-05/0.1842, allocations: 3.938 kB / 391.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1842, allocations: 4 kB / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.1844, allocations: 27.98 kB / 391.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.1844, allocations: 7.938 kB / 391.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1844, allocations: 0 / 391.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.186, allocations: 1.198 MB / 392.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.187, allocations: 0.5812 MB / 392.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.1871, allocations: 59.97 kB / 392.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.1874, allocations: 27.86 kB / 393 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.1876, allocations: 55.92 kB / 393 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.1877, allocations: 95.86 kB / 393.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001602/0.1893, allocations: 1.071 MB / 394.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1893, allocations: 0 / 394.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008209/0.1902, allocations: 104 kB / 394.3 MB, free: 11.27 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.0002944/0.1905, allocations: 179.3 kB / 394.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.1919, allocations: 0.9453 MB / 395.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1919, allocations: 0 / 395.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008114/0.1927, allocations: 0.7697 MB / 396.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.1939, allocations: 252 kB / 396.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.1972, allocations: 2.074 MB / 398.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.1982, allocations: 1.081 MB / 399.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.1984, allocations: 33.38 kB / 399.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1984, allocations: 15.44 kB / 399.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1984, allocations: 4 kB / 399.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of Templates: time 0.01604/0.2145, allocations: 9.353 MB / 409 MB, free: 12.32 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)