Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001408/0.001408, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001234/0.001234, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.834/1.834, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001164/0.001164, allocations: 47.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003731/0.1334, allocations: 1.55 MB / 327.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.136, allocations: 0.9138 MB / 328.4 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.1361, allocations: 4 kB / 328.4 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1364, allocations: 11.92 kB / 328.4 MB, free: 2.391 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.637e-05/0.1365, allocations: 23.84 kB / 328.5 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.1368, allocations: 39.97 kB / 328.5 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.1372, allocations: 267.3 kB / 328.8 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1375, allocations: 57.53 kB / 328.8 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.138, allocations: 455 kB / 329.3 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1382, allocations: 139.4 kB / 329.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.1383, allocations: 12 kB / 329.4 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.1384, allocations: 8 kB / 329.4 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.1386, allocations: 183.2 kB / 329.6 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.139, allocations: 281.8 kB / 329.9 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.14, allocations: 0.9618 MB / 330.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.14, allocations: 0 / 330.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.14, allocations: 0 / 330.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.14, allocations: 3.938 kB / 330.8 MB, free: 15.98 MB / 286.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.001654/0.1417, allocations: 1.297 MB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.1418, allocations: 8.031 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1419, allocations: 95.81 kB / 332.2 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007203/0.1427, allocations: 484.8 kB / 332.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1427, allocations: 16.38 kB / 332.7 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.1428, allocations: 20.36 kB / 332.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.1433, allocations: 312.2 kB / 333 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1434, allocations: 4 kB / 333.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1434, allocations: 8 kB / 333.1 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1434, allocations: 4 kB / 333.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1437, allocations: 163.9 kB / 333.2 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.145, allocations: 0.943 MB / 334.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.1454, allocations: 271.7 kB / 334.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.1458, allocations: 238.5 kB / 334.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.1458, allocations: 0 / 334.7 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.1466, allocations: 0.5192 MB / 335.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.062e-06/0.1467, allocations: 0 / 335.2 MB, free: 11.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=30): time 0.001671/0.1483, allocations: 1.01 MB / 336.2 MB, free: 10.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.1485, allocations: 281 kB / 336.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.1504, allocations: 1.45 MB / 337.9 MB, free: 8.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.1505, allocations: 33.7 kB / 338 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1506, allocations: 126.5 kB / 338.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.1507, allocations: 67.48 kB / 338.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/0.1509, allocations: 188.7 kB / 338.3 MB, free: 8.031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1511, allocations: 346.7 kB / 338.7 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1514, allocations: 159.9 kB / 338.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.1517, allocations: 208.9 kB / 339 MB, free: 7.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.1524, allocations: 0.6809 MB / 339.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1524, allocations: 4 kB / 339.7 MB, free: 6.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001136/0.1536, allocations: 0.7764 MB / 340.5 MB, free: 5.707 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.1537, allocations: 190.2 kB / 340.7 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1537, allocations: 4 kB / 340.7 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1537, allocations: 0 / 340.7 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.536e-05/0.1538, allocations: 8.781 kB / 340.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1538, allocations: 3.984 kB / 340.7 MB, free: 5.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.1541, allocations: 43.86 kB / 340.7 MB, free: 5.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.1542, allocations: 87.94 kB / 340.8 MB, free: 5.34 MB / 286.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.0009391/0.1552, allocations: 0.7974 MB / 341.6 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.1553, allocations: 94.88 kB / 341.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.1556, allocations: 195.9 kB / 341.9 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1556, allocations: 3.938 kB / 341.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1556, allocations: 4 kB / 341.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1556, allocations: 7.875 kB / 341.9 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.1582, allocations: 1.777 MB / 343.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1582, allocations: 48 / 343.7 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.1582, allocations: 3.984 kB / 343.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1582, allocations: 7.938 kB / 343.7 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.1583, allocations: 27.98 kB / 343.7 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.1583, allocations: 7.922 kB / 343.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1583, allocations: 0 / 343.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.1599, allocations: 1.199 MB / 344.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008683/0.1608, allocations: 0.589 MB / 345.5 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.1609, allocations: 55.95 kB / 345.6 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1613, allocations: 31.86 kB / 345.6 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.1614, allocations: 43.94 kB / 345.7 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.1616, allocations: 103.9 kB / 345.8 MB, free: 176 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001528/0.1631, allocations: 1.071 MB / 346.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1631, allocations: 0 / 346.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005473/0.1637, allocations: 104 kB / 346.9 MB, free: 14.99 MB / 302.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.0003205/0.164, allocations: 167.2 kB / 347.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1656, allocations: 0.9375 MB / 348 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1656, allocations: 96 / 348 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.1666, allocations: 0.7815 MB / 348.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1678, allocations: 224 kB / 349 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/0.1718, allocations: 2.372 MB / 351.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.173, allocations: 1.089 MB / 352.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.1731, allocations: 29.95 kB / 352.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.1732, allocations: 15.44 kB / 352.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1732, allocations: 0 / 352.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of Templates: time 0.01417/0.1873, allocations: 8.603 MB / 361.1 MB, free: 0.5508 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)