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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.002274/0.002274, allocations: 198.9 kB / 18 MB, free: 5.082 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.788/1.788, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001493/0.001493, allocations: 55.92 kB / 327.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.16, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003763/0.1638, allocations: 1.493 MB / 376 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1664, allocations: 0.905 MB / 376.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.1665, allocations: 4 kB / 376.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1668, allocations: 19.86 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.25e-05/0.1669, allocations: 23.78 kB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1674, allocations: 51.88 kB / 377 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005639/0.168, allocations: 327.4 kB / 377.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.1682, allocations: 77.48 kB / 377.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.169, allocations: 498.9 kB / 377.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1693, allocations: 155.4 kB / 378 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.1694, allocations: 24 kB / 378 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.1695, allocations: 24 kB / 378.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.1697, allocations: 187.2 kB / 378.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.1701, allocations: 297.8 kB / 378.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3639/0.534, allocations: 0.9881 MB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.5341, allocations: 0.9688 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5341, allocations: 1.375 kB / 379.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.609e-05/0.5341, allocations: 0 / 379.5 MB, free: 10.79 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.004111/0.5383, allocations: 1.299 MB / 380.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.121e-05/0.5384, allocations: 9.625 kB / 380.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.5387, allocations: 99.14 kB / 380.9 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5398, allocations: 483.1 kB / 381.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.5398, allocations: 19.64 kB / 381.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.5399, allocations: 14.12 kB / 381.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/0.5408, allocations: 304.8 kB / 381.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5408, allocations: 4.688 kB / 381.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.5408, allocations: 11.83 kB / 381.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5409, allocations: 1.781 kB / 381.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.5414, allocations: 169.5 kB / 381.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.5438, allocations: 0.9348 MB / 382.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.5443, allocations: 275.9 kB / 383.1 MB, free: 8.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.5448, allocations: 235.8 kB / 383.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.5448, allocations: 2.156 kB / 383.3 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.5458, allocations: 0.5202 MB / 383.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.775e-06/0.5458, allocations: 0.9375 kB / 383.9 MB, free: 8.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002196/0.548, allocations: 1.009 MB / 384.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.5482, allocations: 280.7 kB / 385.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.5511, allocations: 1.446 MB / 386.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.5512, allocations: 42.12 kB / 386.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5513, allocations: 119.7 kB / 386.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.5514, allocations: 74.88 kB / 386.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/0.5518, allocations: 187.4 kB / 387 MB, free: 7.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.552, allocations: 337.6 kB / 387.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.5524, allocations: 162.9 kB / 387.5 MB, free: 6.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004/0.5528, allocations: 219.3 kB / 387.7 MB, free: 6.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/0.5537, allocations: 0.6774 MB / 388.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5537, allocations: 0.5625 kB / 388.4 MB, free: 6.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001582/0.5553, allocations: 0.7794 MB / 389.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.5555, allocations: 192.1 kB / 389.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5555, allocations: 6.078 kB / 389.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/0.5556, allocations: 2.969 kB / 389.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.5556, allocations: 3.531 kB / 389.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.5557, allocations: 6.219 kB / 389.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.5561, allocations: 24.44 kB / 389.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/0.5563, allocations: 96.5 kB / 389.5 MB, free: 5.469 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.001739/0.5581, allocations: 0.7834 MB / 390.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.5583, allocations: 99.25 kB / 390.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.5588, allocations: 200.9 kB / 390.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.5588, allocations: 1.562 kB / 390.6 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5588, allocations: 8.859 kB / 390.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.5588, allocations: 0.5156 kB / 390.6 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.562, allocations: 1.783 MB / 392.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5621, allocations: 4.062 kB / 392.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.5621, allocations: 1.156 kB / 392.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.5621, allocations: 1.969 kB / 392.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.308e-05/0.5622, allocations: 32.77 kB / 392.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.5622, allocations: 5.406 kB / 392.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5622, allocations: 1.406 kB / 392.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.5641, allocations: 1.198 MB / 393.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/0.5654, allocations: 0.5883 MB / 394.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.5656, allocations: 52.36 kB / 394.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.5659, allocations: 33.95 kB / 394.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.5661, allocations: 48.72 kB / 394.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.5663, allocations: 99.36 kB / 394.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.5685, allocations: 1.07 MB / 395.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5685, allocations: 0 / 395.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006967/0.5692, allocations: 103.8 kB / 395.6 MB, free: 2.227 MB / 318.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.0003811/0.5696, allocations: 176.2 kB / 395.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.571, allocations: 0.9456 MB / 396.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.571, allocations: 3.938 kB / 396.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.5719, allocations: 0.7699 MB / 397.5 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5734, allocations: 255.5 kB / 397.7 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/0.5785, allocations: 2.07 MB / 399.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/0.5802, allocations: 1.088 MB / 400.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003188/0.5805, allocations: 27.55 kB / 400.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.5806, allocations: 20.97 kB / 400.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of SimCode: time 4.809e-06/0.5806, allocations: 0 / 400.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of Templates: time 0.02385/0.6044, allocations: 9.369 MB / 410.3 MB, free: 10.53 MB / 334.1 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)