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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002115/0.002115, allocations: 192.1 kB / 16.14 MB, free: 6.715 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.838/1.838, allocations: 205.1 MB / 222 MB, free: 4.773 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.001196/0.001197, allocations: 56.39 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 46.62 MB / 324.7 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.004463/0.3488, allocations: 1.549 MB / 326.2 MB, free: 0.9141 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.3511, allocations: 0.9224 MB / 327.1 MB, free: 224 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.3512, allocations: 1.125 kB / 327.1 MB, free: 224 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.3515, allocations: 10.33 kB / 327.2 MB, free: 216 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/0.3516, allocations: 16.67 kB / 327.2 MB, free: 204 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.3518, allocations: 49.48 kB / 327.2 MB, free: 164 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.3522, allocations: 269.1 kB / 327.5 MB, free: 4 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.3524, allocations: 61.73 kB / 327.5 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007467/0.3532, allocations: 442.3 kB / 328 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.3534, allocations: 141.8 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.3535, allocations: 9.906 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.3536, allocations: 9.969 kB / 328.1 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.3538, allocations: 189.3 kB / 328.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003391/0.3542, allocations: 283.5 kB / 328.6 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3553, allocations: 0.953 MB / 329.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.3553, allocations: 0 / 329.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3553, allocations: 1.562 kB / 329.6 MB, free: 14.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.3553, allocations: 0 / 329.6 MB, free: 14.71 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.002356/0.3577, allocations: 1.303 MB / 330.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.3578, allocations: 9.5 kB / 330.9 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.358, allocations: 93.88 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.359, allocations: 480.5 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.3591, allocations: 14.69 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.987e-05/0.3591, allocations: 18.81 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.3599, allocations: 315.8 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3599, allocations: 0 / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.36, allocations: 19.3 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.36, allocations: 2.625 kB / 331.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3604, allocations: 166.7 kB / 332 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.362, allocations: 0.939 MB / 332.9 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3624, allocations: 275.7 kB / 333.2 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.3628, allocations: 230.5 kB / 333.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.3629, allocations: 3.938 kB / 333.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/0.3636, allocations: 0.5234 MB / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.3637, allocations: 0 / 333.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001955/0.3656, allocations: 1.01 MB / 334.9 MB, free: 9.676 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/0.3659, allocations: 285 kB / 335.2 MB, free: 9.336 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.3681, allocations: 1.443 MB / 336.6 MB, free: 7.871 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.663e-05/0.3682, allocations: 41.69 kB / 336.7 MB, free: 7.824 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3683, allocations: 118.5 kB / 336.8 MB, free: 7.703 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.3684, allocations: 71.19 kB / 336.9 MB, free: 7.633 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.3687, allocations: 188.7 kB / 337.1 MB, free: 7.441 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3689, allocations: 342.8 kB / 337.4 MB, free: 7.098 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.3692, allocations: 155.9 kB / 337.5 MB, free: 6.945 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3695, allocations: 216.9 kB / 337.8 MB, free: 6.715 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.3704, allocations: 0.6731 MB / 338.4 MB, free: 5.949 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3704, allocations: 3.984 kB / 338.4 MB, free: 5.945 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001155/0.3715, allocations: 0.7841 MB / 339.2 MB, free: 5.117 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.3717, allocations: 194.2 kB / 339.4 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3717, allocations: 0 / 339.4 MB, free: 4.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.3718, allocations: 4 kB / 339.4 MB, free: 4.887 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.3718, allocations: 3.938 kB / 339.4 MB, free: 4.883 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.3718, allocations: 4 kB / 339.4 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3722, allocations: 40.61 kB / 339.5 MB, free: 4.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3723, allocations: 87.92 kB / 339.5 MB, free: 4.754 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,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.001051/0.3734, allocations: 0.7935 MB / 340.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3736, allocations: 98.88 kB / 340.4 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.3739, allocations: 199.9 kB / 340.6 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3739, allocations: 0 / 340.6 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.374, allocations: 0 / 340.6 MB, free: 3.613 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.374, allocations: 7.938 kB / 340.6 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3763, allocations: 1.781 MB / 342.4 MB, free: 1.73 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3764, allocations: 4 kB / 342.4 MB, free: 1.727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.3764, allocations: 3.938 kB / 342.4 MB, free: 1.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3764, allocations: 144 / 342.4 MB, free: 1.723 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-05/0.3764, allocations: 27.98 kB / 342.4 MB, free: 1.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3765, allocations: 7.938 kB / 342.5 MB, free: 1.688 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3765, allocations: 0 / 342.5 MB, free: 1.688 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3781, allocations: 1.206 MB / 343.7 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000935/0.3791, allocations: 0.5813 MB / 344.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3793, allocations: 51.97 kB / 344.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.3796, allocations: 31.77 kB / 344.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.3797, allocations: 47.94 kB / 344.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.3798, allocations: 99.86 kB / 344.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00173/0.3816, allocations: 1.071 MB / 345.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3816, allocations: 0 / 345.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005413/0.3821, allocations: 107.9 kB / 345.6 MB, free: 14.41 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 (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.000668/0.3828, allocations: 175.2 kB / 345.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.384, allocations: 0.9415 MB / 346.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.384, allocations: 0 / 346.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.3848, allocations: 0.7658 MB / 347.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.386, allocations: 228.2 kB / 347.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.39, allocations: 2.384 MB / 350.1 MB, free: 9.734 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/0.391, allocations: 1.081 MB / 351.2 MB, free: 8.625 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.3912, allocations: 29.39 kB / 351.2 MB, free: 8.598 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3913, allocations: 15.44 kB / 351.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3913, allocations: 0 / 351.3 MB, free: 8.582 MB / 286.1 MB Notification: Performance of Templates: time 0.01563/0.4069, allocations: 8.607 MB / 359.9 MB, free: 15.96 MB / 302.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)