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.001382/0.001382, allocations: 107.8 kB / 16.92 MB, free: 5.855 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.00141/0.001411, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.878/1.878, allocations: 205.1 MB / 223.7 MB, free: 12.35 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.002159/0.002159, allocations: 52.14 kB / 280 MB, free: 3.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1295, allocations: 46.63 MB / 326.6 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003355/0.1329, allocations: 1.489 MB / 328.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1348, allocations: 0.9091 MB / 329 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1349, allocations: 3.938 kB / 329 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.135, allocations: 11.88 kB / 329 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.1351, allocations: 31.78 kB / 329.1 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1353, allocations: 47.88 kB / 329.1 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.1357, allocations: 327.4 kB / 329.4 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1358, allocations: 65.55 kB / 329.5 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.1364, allocations: 475 kB / 330 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.1366, allocations: 151.5 kB / 330.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.028e-05/0.1367, allocations: 24 kB / 330.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.1368, allocations: 24 kB / 330.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.137, allocations: 187.2 kB / 330.3 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.1373, allocations: 293.8 kB / 330.6 MB, free: 464 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.1382, allocations: 0.9852 MB / 331.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1382, allocations: 0 / 331.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1382, allocations: 0 / 331.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1382, allocations: 3.938 kB / 331.6 MB, free: 15.46 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.001339/0.1396, allocations: 1.297 MB / 332.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1396, allocations: 8.031 kB / 332.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1398, allocations: 99.81 kB / 333 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.1404, allocations: 476.9 kB / 333.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.1404, allocations: 12.38 kB / 333.5 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.1405, allocations: 20.38 kB / 333.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/0.141, allocations: 316.3 kB / 333.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1411, allocations: 4 kB / 333.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.1411, allocations: 11.94 kB / 333.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1411, allocations: 0 / 333.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.1414, allocations: 167.9 kB / 334 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.1427, allocations: 0.9431 MB / 334.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.1431, allocations: 267.6 kB / 335.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.1434, allocations: 238.5 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1434, allocations: 4 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/0.1441, allocations: 0.5156 MB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.1441, allocations: 4 kB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=30): time 0.001583/0.1457, allocations: 1.01 MB / 337 MB, free: 9.738 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.1459, allocations: 281 kB / 337.2 MB, free: 9.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.1477, allocations: 1.439 MB / 338.7 MB, free: 7.941 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1477, allocations: 45.69 kB / 338.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.1478, allocations: 122.4 kB / 338.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.1479, allocations: 67.25 kB / 338.9 MB, free: 7.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.1481, allocations: 188.7 kB / 339.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1483, allocations: 346.8 kB / 339.4 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.1486, allocations: 155.9 kB / 339.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.1489, allocations: 216.8 kB / 339.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.1496, allocations: 0.677 MB / 340.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1496, allocations: 0 / 340.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001132/0.1508, allocations: 0.7803 MB / 341.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1509, allocations: 194.2 kB / 341.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1509, allocations: 4 kB / 341.4 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.151, allocations: 4 kB / 341.5 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.898e-05/0.151, allocations: 3.938 kB / 341.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.151, allocations: 4 kB / 341.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.1513, allocations: 35.95 kB / 341.5 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.1514, allocations: 91.92 kB / 341.6 MB, free: 4.816 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.0009441/0.1523, allocations: 0.7821 MB / 342.4 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.1525, allocations: 102.8 kB / 342.5 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.1528, allocations: 199.9 kB / 342.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.1528, allocations: 7.938 kB / 342.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1528, allocations: 0 / 342.7 MB, free: 3.676 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1528, allocations: 3.938 kB / 342.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.155, allocations: 1.789 MB / 344.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.155, allocations: 8 kB / 344.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.1551, allocations: 0 / 344.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1551, allocations: 0 / 344.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.1551, allocations: 27.98 kB / 344.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.1551, allocations: 7.938 kB / 344.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1551, allocations: 0 / 344.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1565, allocations: 1.199 MB / 345.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008336/0.1573, allocations: 0.5813 MB / 346.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.1575, allocations: 55.97 kB / 346.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.1578, allocations: 23.92 kB / 346.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1579, allocations: 43.94 kB / 346.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.158, allocations: 103.9 kB / 346.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.1594, allocations: 1.071 MB / 347.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1594, allocations: 0 / 347.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.1599, allocations: 107.9 kB / 347.7 MB, free: 14.48 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.0002502/0.1601, allocations: 179.3 kB / 347.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.1613, allocations: 0.9492 MB / 348.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1613, allocations: 192 / 348.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.1621, allocations: 0.7659 MB / 349.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.1633, allocations: 252 kB / 349.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.1665, allocations: 2.089 MB / 351.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/0.1675, allocations: 1.093 MB / 353 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1676, allocations: 33.94 kB / 353 MB, free: 8.914 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.1677, allocations: 15.44 kB / 353.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1677, allocations: 0 / 353.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Templates: time 0.01443/0.1821, allocations: 9.179 MB / 362.2 MB, free: 15.7 MB / 318.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)