Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001022/0.001022, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004925/0.0004926, allocations: 11.98 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3193, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001794/0.3212, allocations: 1.178 MB / 327.7 MB, free: 460 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.3231, allocations: 0.8704 MB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.159e-05/0.3232, allocations: 1.156 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3234, allocations: 9.109 kB / 328.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.3235, allocations: 20.77 kB / 328.6 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.3239, allocations: 41.52 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3242, allocations: 244.8 kB / 328.8 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3244, allocations: 58.17 kB / 328.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007297/0.3252, allocations: 363.1 kB / 329.2 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.3255, allocations: 162.1 kB / 329.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.3255, allocations: 12.03 kB / 329.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.939e-05/0.3256, allocations: 8.219 kB / 329.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.3258, allocations: 173.5 kB / 329.6 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.326, allocations: 152.1 kB / 329.7 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008284/0.3268, allocations: 0.7946 MB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3269, allocations: 1.156 kB / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3269, allocations: 0 / 330.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3269, allocations: 0 / 330.5 MB, free: 14.61 MB / 270.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.001626/0.3285, allocations: 1.144 MB / 331.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.3286, allocations: 14.22 kB / 331.7 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.3288, allocations: 96.34 kB / 331.8 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.3296, allocations: 445.5 kB / 332.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.735e-05/0.3297, allocations: 18.45 kB / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.3298, allocations: 14.31 kB / 332.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.3305, allocations: 314.7 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3306, allocations: 1.031 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.3306, allocations: 6.906 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3306, allocations: 6.281 kB / 332.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.331, allocations: 166.4 kB / 332.7 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3328, allocations: 0.9489 MB / 333.7 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3333, allocations: 263.8 kB / 333.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.3338, allocations: 234.5 kB / 334.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3338, allocations: 8 kB / 334.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.3347, allocations: 0.5114 MB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.3347, allocations: 0 / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001991/0.3367, allocations: 1.01 MB / 335.7 MB, free: 9.883 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.3369, allocations: 285 kB / 336 MB, free: 9.543 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.3391, allocations: 1.446 MB / 337.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.3392, allocations: 41.7 kB / 337.5 MB, free: 8.027 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3393, allocations: 118.5 kB / 337.6 MB, free: 7.906 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.3394, allocations: 67.39 kB / 337.7 MB, free: 7.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.3394, allocations: 15.98 kB / 337.7 MB, free: 7.824 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3396, allocations: 334.8 kB / 338 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003213/0.3399, allocations: 159.9 kB / 338.2 MB, free: 7.332 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.3404, allocations: 216.8 kB / 338.4 MB, free: 7.102 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3408, allocations: 334.1 kB / 338.7 MB, free: 6.738 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3408, allocations: 0 / 338.7 MB, free: 6.738 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001311/0.3421, allocations: 0.7802 MB / 339.5 MB, free: 5.914 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.3423, allocations: 198.3 kB / 339.7 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3424, allocations: 0 / 339.7 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.3424, allocations: 4 kB / 339.7 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.3425, allocations: 11.94 kB / 339.7 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3425, allocations: 3.953 kB / 339.7 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.3429, allocations: 27.98 kB / 339.7 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.3431, allocations: 91.92 kB / 339.8 MB, free: 5.547 MB / 270.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,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00134/0.3445, allocations: 0.7857 MB / 340.6 MB, free: 4.711 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.3446, allocations: 102.8 kB / 340.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.3449, allocations: 199.9 kB / 340.9 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3449, allocations: 288 / 340.9 MB, free: 4.41 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.345, allocations: 3.938 kB / 340.9 MB, free: 4.406 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.345, allocations: 3.953 kB / 340.9 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.3477, allocations: 1.785 MB / 342.7 MB, free: 2.523 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3477, allocations: 4 kB / 342.7 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.3477, allocations: 8 kB / 342.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3477, allocations: 0 / 342.7 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.3478, allocations: 27.98 kB / 342.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3478, allocations: 0 / 342.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.3478, allocations: 3.953 kB / 342.7 MB, free: 2.48 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3494, allocations: 1.206 MB / 343.9 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009413/0.3503, allocations: 0.5813 MB / 344.5 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.3505, allocations: 55.95 kB / 344.6 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.3508, allocations: 23.98 kB / 344.6 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.351, allocations: 47.91 kB / 344.6 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.3511, allocations: 99.86 kB / 344.7 MB, free: 404 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.3529, allocations: 1.075 MB / 345.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3529, allocations: 0 / 345.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.3535, allocations: 115.8 kB / 345.9 MB, free: 15.2 MB / 286.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 (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.000299/0.3538, allocations: 175.3 kB / 346.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.3551, allocations: 0.953 MB / 347 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3551, allocations: 0 / 347 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.3559, allocations: 0.762 MB / 347.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.357, allocations: 224.2 kB / 348 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.361, allocations: 2.295 MB / 350.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009948/0.362, allocations: 1.085 MB / 351.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.3622, allocations: 30.05 kB / 351.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.3622, allocations: 19.38 kB / 351.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3622, allocations: 0 / 351.4 MB, free: 9.445 MB / 286.1 MB Notification: Performance of Templates: time 0.01386/0.3761, allocations: 7.685 MB / 359.1 MB, free: 1.746 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)