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.001792/0.001792, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002574/0.002574, allocations: 194 kB / 16.53 MB, free: 6.391 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.744/1.744, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001672/0.001672, allocations: 51.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3089, allocations: 46.64 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002929/0.3119, allocations: 1.488 MB / 326.8 MB, free: 0.6836 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3139, allocations: 0.8994 MB / 327.7 MB, free: 0 / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.314, allocations: 2.312 kB / 327.7 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.3142, allocations: 14.47 kB / 327.7 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.572e-05/0.3143, allocations: 24.67 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.3146, allocations: 56.08 kB / 327.8 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004449/0.315, allocations: 323.8 kB / 328.1 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.3153, allocations: 66.42 kB / 328.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.3159, allocations: 473.1 kB / 328.6 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.3162, allocations: 157.7 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.3163, allocations: 26.47 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.3164, allocations: 23.97 kB / 328.8 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002445/0.3166, allocations: 180.6 kB / 329 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.3169, allocations: 299.5 kB / 329.3 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.318, allocations: 0.9795 MB / 330.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3181, allocations: 3.938 kB / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3181, allocations: 0 / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3181, allocations: 1.531 kB / 330.3 MB, free: 14.39 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.001588/0.3197, allocations: 1.299 MB / 331.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3197, allocations: 12.84 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.3199, allocations: 95.59 kB / 331.7 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006575/0.3206, allocations: 479.7 kB / 332.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.3206, allocations: 14.53 kB / 332.2 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.3207, allocations: 18.81 kB / 332.2 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.3213, allocations: 315.4 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3213, allocations: 7.938 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.3214, allocations: 8 kB / 332.5 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3214, allocations: 8 kB / 332.5 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3217, allocations: 163.9 kB / 332.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.3231, allocations: 0.9392 MB / 333.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3235, allocations: 273 kB / 333.9 MB, free: 11.1 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.3239, allocations: 234.5 kB / 334.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3239, allocations: 4 kB / 334.1 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008047/0.3247, allocations: 0.5193 MB / 334.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.3247, allocations: 0 / 334.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001901/0.3266, allocations: 1.003 MB / 335.7 MB, free: 9.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.3268, allocations: 289 kB / 335.9 MB, free: 8.891 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.3292, allocations: 1.435 MB / 337.4 MB, free: 7.434 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.177e-05/0.3292, allocations: 45.62 kB / 337.4 MB, free: 7.383 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3294, allocations: 134.6 kB / 337.5 MB, free: 7.246 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.3295, allocations: 67.19 kB / 337.6 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.3299, allocations: 188.7 kB / 337.8 MB, free: 6.988 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.3302, allocations: 334.8 kB / 338.1 MB, free: 6.652 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.3305, allocations: 163.9 kB / 338.3 MB, free: 6.492 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.3309, allocations: 216.8 kB / 338.5 MB, free: 6.262 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.3317, allocations: 0.677 MB / 339.2 MB, free: 5.492 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3317, allocations: 4 kB / 339.2 MB, free: 5.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001334/0.333, allocations: 0.7802 MB / 340 MB, free: 4.664 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.3333, allocations: 190.2 kB / 340.1 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3333, allocations: 4 kB / 340.1 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.3333, allocations: 0 / 340.1 MB, free: 4.438 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.3334, allocations: 7.938 kB / 340.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.3334, allocations: 0 / 340.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.3337, allocations: 31.92 kB / 340.2 MB, free: 4.398 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.3338, allocations: 96.02 kB / 340.3 MB, free: 4.305 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.001214/0.335, allocations: 0.7898 MB / 341.1 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.3352, allocations: 102.8 kB / 341.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.3356, allocations: 199.9 kB / 341.4 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3356, allocations: 0 / 341.4 MB, free: 3.168 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.3356, allocations: 7.938 kB / 341.4 MB, free: 3.16 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3356, allocations: 3.938 kB / 341.4 MB, free: 3.156 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.3381, allocations: 1.781 MB / 343.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3381, allocations: 0 / 343.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.686e-06/0.3381, allocations: 0 / 343.2 MB, free: 1.281 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3381, allocations: 4 kB / 343.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.3382, allocations: 27.98 kB / 343.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3382, allocations: 3.938 kB / 343.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3382, allocations: 3.938 kB / 343.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.3396, allocations: 1.202 MB / 344.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009315/0.3406, allocations: 0.5813 MB / 345 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3408, allocations: 55.95 kB / 345 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.3411, allocations: 23.92 kB / 345.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.3413, allocations: 43.95 kB / 345.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.3414, allocations: 103.8 kB / 345.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001663/0.3431, allocations: 1.075 MB / 346.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3431, allocations: 4 kB / 346.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.3436, allocations: 111.9 kB / 346.4 MB, free: 13.96 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.0002415/0.3439, allocations: 171.3 kB / 346.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.3451, allocations: 0.9492 MB / 347.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3451, allocations: 0 / 347.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009273/0.3461, allocations: 0.7697 MB / 348.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.3473, allocations: 243.6 kB / 348.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.3515, allocations: 2.098 MB / 350.6 MB, free: 9.551 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.3525, allocations: 1.082 MB / 351.7 MB, free: 8.441 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.3527, allocations: 29.39 kB / 351.7 MB, free: 8.414 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3527, allocations: 19.44 kB / 351.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3527, allocations: 0 / 351.7 MB, free: 8.395 MB / 286.1 MB Notification: Performance of Templates: time 0.01665/0.3694, allocations: 9.168 MB / 360.9 MB, free: 15.21 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)