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.001726/0.001726, allocations: 108.4 kB / 17.06 MB, free: 5.973 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.001831/0.001832, allocations: 198.8 kB / 18.01 MB, free: 5.051 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.764/1.764, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.00164/0.00164, allocations: 51.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1338, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003072/0.1369, allocations: 1.509 MB / 376 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1393, allocations: 0.9089 MB / 376.9 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.907e-05/0.1394, allocations: 4 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.1397, allocations: 11.88 kB / 376.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.233e-05/0.1397, allocations: 23.84 kB / 376.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.1401, allocations: 51.88 kB / 377 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.1406, allocations: 327.4 kB / 377.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.1408, allocations: 69.53 kB / 377.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.1414, allocations: 471 kB / 377.8 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1417, allocations: 159.4 kB / 378 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1418, allocations: 24 kB / 378 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.973e-05/0.1419, allocations: 24 kB / 378 MB, free: 1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.1421, allocations: 183.2 kB / 378.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1425, allocations: 293.8 kB / 378.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3244/0.4669, allocations: 0.9982 MB / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.467, allocations: 0 / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.467, allocations: 0 / 379.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.795e-05/0.4671, allocations: 0.5625 kB / 379.5 MB, free: 10.73 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.002212/0.4693, allocations: 1.33 MB / 380.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.4694, allocations: 8.062 kB / 380.8 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.4695, allocations: 103 kB / 380.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/0.4704, allocations: 487.4 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.4705, allocations: 15.83 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.4706, allocations: 18.83 kB / 381.4 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.4714, allocations: 308.5 kB / 381.7 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4714, allocations: 5.734 kB / 381.7 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.4715, allocations: 10.83 kB / 381.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.4715, allocations: 3.781 kB / 381.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.4719, allocations: 163.9 kB / 381.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.474, allocations: 0.9365 MB / 382.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.4746, allocations: 276.5 kB / 383.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.475, allocations: 234.5 kB / 383.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4751, allocations: 1.312 kB / 383.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009207/0.476, allocations: 0.5254 MB / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.476, allocations: 0 / 383.9 MB, free: 8.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002188/0.4782, allocations: 1.013 MB / 384.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.4783, allocations: 282 kB / 385.2 MB, free: 7.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003094/0.4814, allocations: 1.444 MB / 386.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.4816, allocations: 42.78 kB / 386.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.4817, allocations: 119.6 kB / 386.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4818, allocations: 78.23 kB / 386.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.4821, allocations: 191.5 kB / 387 MB, free: 6.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4823, allocations: 339.3 kB / 387.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.4827, allocations: 164.3 kB / 387.5 MB, free: 6.602 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.4831, allocations: 213.8 kB / 387.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009326/0.4841, allocations: 0.6807 MB / 388.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4841, allocations: 1.188 kB / 388.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001801/0.4859, allocations: 0.7722 MB / 389.2 MB, free: 5.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.4861, allocations: 192.3 kB / 389.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4861, allocations: 2.156 kB / 389.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.4862, allocations: 3.094 kB / 389.4 MB, free: 5.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.4862, allocations: 9.906 kB / 389.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.4863, allocations: 6.391 kB / 389.4 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.4868, allocations: 28.66 kB / 389.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.4871, allocations: 96.81 kB / 389.5 MB, free: 5.359 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.002432/0.4895, allocations: 0.791 MB / 390.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.4898, allocations: 102.7 kB / 390.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007525/0.4906, allocations: 200 kB / 390.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4906, allocations: 2.234 kB / 390.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.4906, allocations: 5.656 kB / 390.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4906, allocations: 1.859 kB / 390.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003895/0.4945, allocations: 1.783 MB / 392.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.4946, allocations: 2.812 kB / 392.4 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.65e-05/0.4946, allocations: 6 kB / 392.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.4946, allocations: 1.125 kB / 392.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.4947, allocations: 27.77 kB / 392.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.4948, allocations: 11.34 kB / 392.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.4948, allocations: 1.188 kB / 392.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.497, allocations: 1.199 MB / 393.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/0.4988, allocations: 0.5926 MB / 394.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.499, allocations: 55.66 kB / 394.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.4994, allocations: 27.86 kB / 394.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/0.4997, allocations: 47.22 kB / 394.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/0.5, allocations: 98.69 kB / 394.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003122/0.5031, allocations: 1.073 MB / 395.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5032, allocations: 0 / 395.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009692/0.5041, allocations: 102.6 kB / 395.6 MB, free: 2.109 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.0004064/0.5046, allocations: 179.1 kB / 395.8 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002235/0.5068, allocations: 0.9419 MB / 396.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5068, allocations: 3.938 kB / 396.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.5083, allocations: 0.7663 MB / 397.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/0.5102, allocations: 260.5 kB / 397.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007441/0.5176, allocations: 2.094 MB / 399.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003464/0.5212, allocations: 1.084 MB / 401 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004445/0.5216, allocations: 28.41 kB / 401 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.5218, allocations: 25.25 kB / 401 MB, free: 14.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.225e-06/0.5218, allocations: 0 / 401 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Templates: time 0.02596/0.5477, allocations: 9.184 MB / 410.2 MB, free: 10.62 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)