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.0008373/0.0008373, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005819/0.005819, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.941/1.941, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0005226/0.0005225, allocations: 12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3635, allocations: 47.59 MB / 327 MB, free: 1.355 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002493/0.3661, allocations: 1.212 MB / 328.2 MB, free: 396 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.3688, allocations: 0.914 MB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.3689, allocations: 1.031 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.3691, allocations: 10.55 kB / 329.2 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.287e-05/0.3692, allocations: 11.98 kB / 329.2 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.3696, allocations: 48.77 kB / 329.2 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.3701, allocations: 257.5 kB / 329.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3704, allocations: 66.25 kB / 329.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008497/0.3712, allocations: 439.4 kB / 330 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.3715, allocations: 138.9 kB / 330.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.3716, allocations: 7.312 kB / 330.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.3716, allocations: 8.75 kB / 330.1 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.3718, allocations: 177.1 kB / 330.3 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.3722, allocations: 303.6 kB / 330.6 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009924/0.3732, allocations: 0.9448 MB / 331.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.3732, allocations: 0 / 331.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3732, allocations: 1.156 kB / 331.5 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.3732, allocations: 4 kB / 331.5 MB, free: 14.2 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.00173/0.3749, allocations: 1.144 MB / 332.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.375, allocations: 10.06 kB / 332.7 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.3753, allocations: 97.05 kB / 332.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.3762, allocations: 480.6 kB / 333.3 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.3763, allocations: 14.59 kB / 333.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.3764, allocations: 19.34 kB / 333.3 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.3771, allocations: 312 kB / 333.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3772, allocations: 3.984 kB / 333.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.3772, allocations: 11.66 kB / 333.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.3772, allocations: 1.156 kB / 333.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.3777, allocations: 163.8 kB / 333.8 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3795, allocations: 0.9408 MB / 334.7 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.3801, allocations: 271.8 kB / 335 MB, free: 11.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.3805, allocations: 238.5 kB / 335.2 MB, free: 10.89 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3805, allocations: 0 / 335.2 MB, free: 10.89 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008657/0.3814, allocations: 0.5155 MB / 335.7 MB, free: 10.32 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.3814, allocations: 4 kB / 335.7 MB, free: 10.31 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001893/0.3833, allocations: 1.01 MB / 336.7 MB, free: 9.258 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.3836, allocations: 285 kB / 337 MB, free: 8.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.3861, allocations: 1.439 MB / 338.5 MB, free: 7.457 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.3862, allocations: 41.69 kB / 338.5 MB, free: 7.41 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3864, allocations: 118.5 kB / 338.6 MB, free: 7.289 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/0.3865, allocations: 75.19 kB / 338.7 MB, free: 7.215 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.3866, allocations: 45.62 kB / 338.7 MB, free: 7.164 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.3868, allocations: 346.8 kB / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.3872, allocations: 155.9 kB / 339.2 MB, free: 6.664 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.3876, allocations: 212.9 kB / 339.4 MB, free: 6.438 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.3885, allocations: 0.6809 MB / 340.1 MB, free: 5.664 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3885, allocations: 0.8438 kB / 340.1 MB, free: 5.664 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001264/0.3898, allocations: 0.7764 MB / 340.9 MB, free: 4.844 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.39, allocations: 194.2 kB / 341.1 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.39, allocations: 0 / 341.1 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.3901, allocations: 4 kB / 341.1 MB, free: 4.613 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.341e-05/0.3901, allocations: 7.984 kB / 341.1 MB, free: 4.605 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3901, allocations: 4 kB / 341.1 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.3906, allocations: 39.86 kB / 341.1 MB, free: 4.562 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3907, allocations: 91.94 kB / 341.2 MB, free: 4.473 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.001494/0.3922, allocations: 0.7937 MB / 342 MB, free: 3.629 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.3924, allocations: 98.88 kB / 342.1 MB, free: 3.531 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.3928, allocations: 191.9 kB / 342.3 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3929, allocations: 4 kB / 342.3 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3929, allocations: 0 / 342.3 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.3929, allocations: 7.938 kB / 342.3 MB, free: 3.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.3958, allocations: 1.781 MB / 344.1 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3958, allocations: 3.938 kB / 344.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.3958, allocations: 8 kB / 344.1 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3958, allocations: 0 / 344.1 MB, free: 1.441 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.3959, allocations: 27.98 kB / 344.1 MB, free: 1.414 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.3959, allocations: 7.922 kB / 344.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3959, allocations: 8 kB / 344.2 MB, free: 1.398 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3976, allocations: 1.195 MB / 345.3 MB, free: 152 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.3989, allocations: 0.5812 MB / 345.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.399, allocations: 59.95 kB / 346 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3994, allocations: 31.91 kB / 346 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.3996, allocations: 47.94 kB / 346.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.3997, allocations: 99.86 kB / 346.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.4017, allocations: 1.075 MB / 347.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4017, allocations: 96 / 347.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006322/0.4023, allocations: 107.9 kB / 347.3 MB, free: 14.12 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.0003253/0.4027, allocations: 179.3 kB / 347.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.4041, allocations: 0.9337 MB / 348.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4041, allocations: 0 / 348.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.4049, allocations: 0.7697 MB / 349.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.4063, allocations: 216.6 kB / 349.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.4109, allocations: 2.381 MB / 351.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.412, allocations: 1.085 MB / 352.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.4123, allocations: 29.39 kB / 352.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.4123, allocations: 19.38 kB / 352.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4123, allocations: 0 / 352.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of Templates: time 0.01532/0.4276, allocations: 7.865 MB / 360.8 MB, free: 428 kB / 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)