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.001756/0.001757, 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.001896/0.001896, 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 1.702/1.702, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004368/0.000437, allocations: 18.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3074, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001837/0.3093, allocations: 1.177 MB / 327.7 MB, free: 480 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3113, allocations: 0.8623 MB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.3114, allocations: 1.438 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.3115, allocations: 17.17 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.3116, allocations: 17.73 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3119, allocations: 45.28 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.3122, allocations: 242.9 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3124, allocations: 54.38 kB / 328.9 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.313, allocations: 368.1 kB / 329.2 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.3132, allocations: 162.8 kB / 329.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.3133, allocations: 7.562 kB / 329.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.637e-05/0.3133, allocations: 8.094 kB / 329.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.3136, allocations: 169.3 kB / 329.6 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.3138, allocations: 153.3 kB / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009425/0.3148, allocations: 0.798 MB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3148, allocations: 0 / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3148, allocations: 5.438 kB / 330.5 MB, free: 14.63 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.3148, allocations: 0 / 330.5 MB, free: 14.63 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.001532/0.3163, allocations: 1.144 MB / 331.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.3164, allocations: 9.562 kB / 331.7 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.3166, allocations: 97.22 kB / 331.8 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.3173, allocations: 448.7 kB / 332.2 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.3174, allocations: 14.09 kB / 332.2 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.3175, allocations: 18.91 kB / 332.3 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.3181, allocations: 310.9 kB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3181, allocations: 3.938 kB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.3182, allocations: 11.8 kB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3182, allocations: 2.188 kB / 332.6 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.3185, allocations: 166.4 kB / 332.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.3201, allocations: 0.9421 MB / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3205, allocations: 271.7 kB / 333.9 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.3209, allocations: 234.4 kB / 334.2 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3209, allocations: 4 kB / 334.2 MB, free: 11.53 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007559/0.3217, allocations: 0.5231 MB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 2.445e-06/0.3217, allocations: 0 / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001819/0.3235, allocations: 1.006 MB / 335.7 MB, free: 9.895 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002142/0.3238, allocations: 281 kB / 336 MB, free: 9.559 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.326, allocations: 1.446 MB / 337.4 MB, free: 8.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.3261, allocations: 45.69 kB / 337.5 MB, free: 8.039 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3262, allocations: 118.5 kB / 337.6 MB, free: 7.918 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.3263, allocations: 71.39 kB / 337.7 MB, free: 7.848 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.3263, allocations: 8 kB / 337.7 MB, free: 7.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3265, allocations: 338.8 kB / 338 MB, free: 7.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.3268, allocations: 155.9 kB / 338.2 MB, free: 7.348 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.3271, allocations: 216.8 kB / 338.4 MB, free: 7.117 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.3275, allocations: 338.1 kB / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3275, allocations: 0 / 338.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001121/0.3287, allocations: 0.7802 MB / 339.5 MB, free: 5.926 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.3288, allocations: 194.2 kB / 339.7 MB, free: 5.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3289, allocations: 0 / 339.7 MB, free: 5.699 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3289, allocations: 4 kB / 339.7 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.366e-05/0.3289, allocations: 0 / 339.7 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3289, allocations: 15.88 kB / 339.7 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.3293, allocations: 32.08 kB / 339.7 MB, free: 5.648 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.3294, allocations: 87.94 kB / 339.8 MB, free: 5.562 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.001062/0.3305, allocations: 0.786 MB / 340.6 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.3306, allocations: 110.8 kB / 340.7 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3309, allocations: 187.9 kB / 340.9 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3309, allocations: 4 kB / 340.9 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.331, allocations: 4 kB / 340.9 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.331, allocations: 7.953 kB / 340.9 MB, free: 4.414 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.3334, allocations: 1.781 MB / 342.7 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3334, allocations: 0 / 342.7 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.3335, allocations: 0 / 342.7 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3335, allocations: 4 kB / 342.7 MB, free: 2.535 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.3335, allocations: 27.98 kB / 342.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3335, allocations: 0 / 342.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3335, allocations: 11.92 kB / 342.7 MB, free: 2.496 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.335, allocations: 1.202 MB / 343.9 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008632/0.3359, allocations: 0.5813 MB / 344.5 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.336, allocations: 55.95 kB / 344.6 MB, free: 0.582 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3364, allocations: 23.98 kB / 344.6 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.3366, allocations: 55.89 kB / 344.6 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.3367, allocations: 95.86 kB / 344.7 MB, free: 420 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.3382, allocations: 1.075 MB / 345.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3382, allocations: 3.938 kB / 345.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.3388, allocations: 111.8 kB / 345.9 MB, free: 15.21 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.0002604/0.3391, allocations: 171.3 kB / 346.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.3403, allocations: 0.9492 MB / 347 MB, free: 14.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3403, allocations: 4.062 kB / 347 MB, free: 14.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.3411, allocations: 0.7698 MB / 347.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3422, allocations: 208 kB / 348 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.3458, allocations: 2.307 MB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009194/0.3468, allocations: 1.093 MB / 351.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.3469, allocations: 25.95 kB / 351.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3469, allocations: 15.44 kB / 351.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of SimCode: time 1.142e-06/0.347, allocations: 0 / 351.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of Templates: time 0.01275/0.3597, allocations: 7.694 MB / 359.1 MB, free: 1.754 MB / 286.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)