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.0008885/0.0008884, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.0009177/0.0009177, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.782/1.782, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0005948/0.0005948, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1288, allocations: 47.59 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002057/0.131, allocations: 1.208 MB / 329.5 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1329, allocations: 0.91 MB / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.133, allocations: 0 / 330.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1331, allocations: 7.922 kB / 330.4 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.1332, allocations: 23.86 kB / 330.5 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.1334, allocations: 43.95 kB / 330.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.1337, allocations: 259.3 kB / 330.8 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.1339, allocations: 65.52 kB / 330.8 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005717/0.1345, allocations: 447 kB / 331.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1347, allocations: 131.5 kB / 331.4 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.1348, allocations: 4 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.993e-05/0.1348, allocations: 8 kB / 331.4 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.135, allocations: 183.2 kB / 331.6 MB, free: 492 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.1353, allocations: 303.5 kB / 331.9 MB, free: 180 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000852/0.1362, allocations: 0.9421 MB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1362, allocations: 8 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1362, allocations: 0 / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.1362, allocations: 0 / 332.8 MB, free: 15.22 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.001284/0.1375, allocations: 1.138 MB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.1376, allocations: 16.02 kB / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.1377, allocations: 95.75 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/0.1385, allocations: 484.8 kB / 334.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.1385, allocations: 16.38 kB / 334.6 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.1386, allocations: 12.38 kB / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1392, allocations: 324.2 kB / 334.9 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1392, allocations: 0 / 334.9 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.1393, allocations: 8 kB / 334.9 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1393, allocations: 4 kB / 334.9 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.1396, allocations: 171.8 kB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.141, allocations: 0.9391 MB / 336 MB, free: 11.82 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004763/0.1415, allocations: 271.8 kB / 336.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.1419, allocations: 238.5 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1419, allocations: 0 / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008075/0.1427, allocations: 0.5193 MB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.1428, allocations: 4 kB / 337 MB, free: 10.71 MB / 286.1 MB Notification: Performance of matching and sorting (n=30): time 0.00172/0.1445, allocations: 1.002 MB / 338 MB, free: 9.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001918/0.1447, allocations: 281.8 kB / 338.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.1468, allocations: 1.446 MB / 339.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.1469, allocations: 41.62 kB / 339.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.147, allocations: 122.5 kB / 339.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.1471, allocations: 71.42 kB / 340 MB, free: 7.613 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1472, allocations: 49.69 kB / 340 MB, free: 7.559 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1474, allocations: 338.8 kB / 340.4 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.1477, allocations: 155.9 kB / 340.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.148, allocations: 212.9 kB / 340.7 MB, free: 6.84 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.1487, allocations: 0.6848 MB / 341.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1488, allocations: 0 / 341.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001114/0.1499, allocations: 0.7802 MB / 342.2 MB, free: 5.238 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.15, allocations: 186.2 kB / 342.4 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.15, allocations: 4 kB / 342.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1501, allocations: 96 / 342.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.48e-05/0.1501, allocations: 15.92 kB / 342.4 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1501, allocations: 4 kB / 342.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.1504, allocations: 39.77 kB / 342.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.1506, allocations: 87.94 kB / 342.5 MB, free: 4.871 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.000977/0.1515, allocations: 0.7935 MB / 343.3 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1517, allocations: 94.88 kB / 343.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.1521, allocations: 199.9 kB / 343.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1521, allocations: 0 / 343.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1521, allocations: 7.938 kB / 343.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.1521, allocations: 3.938 kB / 343.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.1546, allocations: 1.777 MB / 345.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1547, allocations: 0 / 345.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.1547, allocations: 3.984 kB / 345.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.1547, allocations: 7.984 kB / 345.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.1547, allocations: 35.97 kB / 345.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1548, allocations: 3.938 kB / 345.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1548, allocations: 0 / 345.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.1564, allocations: 1.198 MB / 346.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/0.1574, allocations: 0.589 MB / 347.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.1576, allocations: 55.95 kB / 347.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.1579, allocations: 35.86 kB / 347.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.158, allocations: 51.94 kB / 347.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.1582, allocations: 95.86 kB / 347.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.1598, allocations: 1.067 MB / 348.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1598, allocations: 0 / 348.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004996/0.1603, allocations: 104 kB / 348.6 MB, free: 14.52 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.0003061/0.1607, allocations: 175.2 kB / 348.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.162, allocations: 0.9492 MB / 349.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1621, allocations: 0 / 349.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.1629, allocations: 0.7619 MB / 350.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.1642, allocations: 224 kB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.1675, allocations: 2.377 MB / 353.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008977/0.1684, allocations: 1.085 MB / 354.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1686, allocations: 21.97 kB / 354.2 MB, free: 8.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.1686, allocations: 15.44 kB / 354.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1686, allocations: 0 / 354.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of Templates: time 0.01276/0.1814, allocations: 7.866 MB / 362.1 MB, free: 0.8242 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)