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.01116/0.01116, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001844/0.001844, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.822/1.822, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001243/0.001243, allocations: 45.97 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1369, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002655/0.1396, allocations: 1.482 MB / 374.7 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1415, allocations: 0.9093 MB / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.1416, allocations: 0 / 375.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1418, allocations: 11.86 kB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.1418, allocations: 27.78 kB / 375.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.1421, allocations: 47.95 kB / 375.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.1426, allocations: 347.2 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.1428, allocations: 61.52 kB / 376 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.1433, allocations: 463.1 kB / 376.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.1435, allocations: 167.3 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.1436, allocations: 24 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.1437, allocations: 24 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.1439, allocations: 183.3 kB / 376.9 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.1442, allocations: 297.7 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.1451, allocations: 0.9999 MB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1451, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1451, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1451, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.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.001353/0.1465, allocations: 1.34 MB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1465, allocations: 12.03 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1467, allocations: 104.3 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.1473, allocations: 489.8 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.1474, allocations: 16.38 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.1474, allocations: 16.38 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.148, allocations: 312.2 kB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.148, allocations: 0 / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.148, allocations: 12 kB / 380.5 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.148, allocations: 4 kB / 380.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1484, allocations: 167.9 kB / 380.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1496, allocations: 0.9314 MB / 381.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.15, allocations: 271.8 kB / 381.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1503, allocations: 234.5 kB / 382.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.1503, allocations: 0 / 382.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006904/0.151, allocations: 0.5232 MB / 382.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.151, allocations: 0 / 382.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001561/0.1526, allocations: 1.007 MB / 383.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.1528, allocations: 277 kB / 383.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.1546, allocations: 1.446 MB / 385.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.1546, allocations: 41.69 kB / 385.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.1547, allocations: 126.5 kB / 385.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.1548, allocations: 71.77 kB / 385.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.1551, allocations: 189.2 kB / 385.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1552, allocations: 342.7 kB / 386.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1555, allocations: 171.8 kB / 386.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1558, allocations: 212.8 kB / 386.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.1565, allocations: 0.677 MB / 387.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1566, allocations: 4 kB / 387.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001044/0.1576, allocations: 0.7727 MB / 387.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.1578, allocations: 199.4 kB / 388.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1578, allocations: 0 / 388.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.1578, allocations: 4 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.1578, allocations: 7.938 kB / 388.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1578, allocations: 0 / 388.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1581, allocations: 35.88 kB / 388.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.1583, allocations: 87.92 kB / 388.2 MB, free: 1.598 MB / 318.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.0008535/0.1591, allocations: 0.8015 MB / 389 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1593, allocations: 107.4 kB / 389.1 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.1595, allocations: 199.9 kB / 389.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.1596, allocations: 3.938 kB / 389.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1596, allocations: 0 / 389.3 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1596, allocations: 7.938 kB / 389.3 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.1617, allocations: 1.773 MB / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1617, allocations: 0 / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-06/0.1617, allocations: 3.938 kB / 391.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1617, allocations: 0 / 391.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/0.1618, allocations: 31.98 kB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1618, allocations: 7.938 kB / 391.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1618, allocations: 3.938 kB / 391.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.1633, allocations: 1.207 MB / 392.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/0.1641, allocations: 0.5857 MB / 392.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.1643, allocations: 51.97 kB / 393 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1646, allocations: 35.92 kB / 393 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.1647, allocations: 47.94 kB / 393.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.1648, allocations: 99.8 kB / 393.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.1662, allocations: 1.071 MB / 394.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1663, allocations: 0 / 394.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005241/0.1668, allocations: 103.9 kB / 394.3 MB, free: 11.24 MB / 334.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.0002389/0.167, allocations: 183.3 kB / 394.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.1682, allocations: 0.9453 MB / 395.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1682, allocations: 0 / 395.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.1689, allocations: 0.7659 MB / 396.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.1701, allocations: 252.1 kB / 396.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.1734, allocations: 2.092 MB / 398.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/0.1743, allocations: 1.081 MB / 399.6 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.1744, allocations: 29.39 kB / 399.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1745, allocations: 15.44 kB / 399.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1745, allocations: 0 / 399.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of Templates: time 0.01475/0.1892, allocations: 9.173 MB / 408.9 MB, free: 12.46 MB / 350.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)