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.001946/0.001946, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002352/0.002352, allocations: 193.1 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001605/0.001604, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.344, allocations: 46.63 MB / 324.8 MB, free: 1.992 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.00251/0.3465, allocations: 1.551 MB / 326.4 MB, free: 0.7656 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.3483, allocations: 0.8991 MB / 327.3 MB, free: 84 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3484, allocations: 1.5 kB / 327.3 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.3486, allocations: 13.33 kB / 327.3 MB, free: 72 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 4.884e-05/0.3486, allocations: 12.77 kB / 327.3 MB, free: 64 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.3489, allocations: 49.89 kB / 327.4 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005144/0.3494, allocations: 336.1 kB / 327.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.3496, allocations: 59.14 kB / 327.8 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/0.3503, allocations: 469.5 kB / 328.2 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3506, allocations: 166 kB / 328.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.3506, allocations: 23.47 kB / 328.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.456e-05/0.3507, allocations: 27.88 kB / 328.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.3509, allocations: 181.8 kB / 328.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.3513, allocations: 303.1 kB / 328.9 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.3524, allocations: 0.9752 MB / 329.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3524, allocations: 0 / 329.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3524, allocations: 1.219 kB / 329.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.3524, allocations: 0 / 329.9 MB, free: 14.49 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.001917/0.3544, allocations: 1.299 MB / 331.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3544, allocations: 13.53 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3546, allocations: 98.97 kB / 331.3 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.3553, allocations: 484.1 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.3554, allocations: 15.09 kB / 331.8 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.3554, allocations: 18.16 kB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005941/0.356, allocations: 311.7 kB / 332.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.356, allocations: 4.047 kB / 332.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.3561, allocations: 12 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3561, allocations: 4 kB / 332.1 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.3564, allocations: 171.8 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.3578, allocations: 0.9351 MB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.3583, allocations: 275.8 kB / 333.5 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.3587, allocations: 230.5 kB / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3587, allocations: 0 / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009179/0.3596, allocations: 0.5195 MB / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.3597, allocations: 0 / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.00192/0.3616, allocations: 1.015 MB / 335.2 MB, free: 9.328 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/0.3618, allocations: 277 kB / 335.5 MB, free: 8.996 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.3642, allocations: 1.443 MB / 337 MB, free: 7.531 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/0.3643, allocations: 41.69 kB / 337 MB, free: 7.484 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3644, allocations: 130.4 kB / 337.1 MB, free: 7.352 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3645, allocations: 67.19 kB / 337.2 MB, free: 7.285 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003433/0.3649, allocations: 188.7 kB / 337.4 MB, free: 7.094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3651, allocations: 338.8 kB / 337.7 MB, free: 6.754 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3654, allocations: 163.9 kB / 337.9 MB, free: 6.594 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.3659, allocations: 216.8 kB / 338.1 MB, free: 6.363 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.3669, allocations: 0.677 MB / 338.8 MB, free: 5.594 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3669, allocations: 0 / 338.8 MB, free: 5.594 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001193/0.3681, allocations: 0.7803 MB / 339.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/0.3683, allocations: 194.2 kB / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3683, allocations: 0 / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3683, allocations: 4 kB / 339.7 MB, free: 4.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.3684, allocations: 4 kB / 339.7 MB, free: 4.535 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3684, allocations: 3.938 kB / 339.7 MB, free: 4.531 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.3687, allocations: 35.83 kB / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.3689, allocations: 87.92 kB / 339.9 MB, free: 4.41 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.001437/0.3703, allocations: 0.7939 MB / 340.7 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.3705, allocations: 102.9 kB / 340.8 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006548/0.3712, allocations: 195.9 kB / 340.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3712, allocations: 0 / 340.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.3712, allocations: 4 kB / 340.9 MB, free: 3.266 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3712, allocations: 7.875 kB / 341 MB, free: 3.258 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.374, allocations: 1.784 MB / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.374, allocations: 0 / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.374, allocations: 0 / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.374, allocations: 4 kB / 342.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.3741, allocations: 27.98 kB / 342.8 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.468e-05/0.3741, allocations: 3.938 kB / 342.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3741, allocations: 0 / 342.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.3757, allocations: 1.206 MB / 344 MB, free: 84 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.3769, allocations: 0.5813 MB / 344.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.3771, allocations: 55.95 kB / 344.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.3774, allocations: 35.75 kB / 344.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3776, allocations: 43.95 kB / 344.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.3778, allocations: 99.86 kB / 344.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.3797, allocations: 1.075 MB / 345.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3797, allocations: 0 / 345.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006465/0.3804, allocations: 108 kB / 346 MB, free: 14.06 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.0002967/0.3807, allocations: 175.3 kB / 346.1 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.382, allocations: 0.9453 MB / 347.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.382, allocations: 0 / 347.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.3828, allocations: 0.7659 MB / 347.9 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.3841, allocations: 246.8 kB / 348.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.3884, allocations: 2.383 MB / 350.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.3897, allocations: 1.081 MB / 351.6 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002349/0.3899, allocations: 37.94 kB / 351.6 MB, free: 8.219 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.39, allocations: 15.44 kB / 351.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of SimCode: time 1.242e-06/0.39, allocations: 0 / 351.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of Templates: time 0.01642/0.4064, allocations: 8.959 MB / 360.6 MB, free: 15.23 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)