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.01289/0.01289, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.00212/0.00212, allocations: 197.3 kB / 16.68 MB, free: 5.953 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.949/1.949, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001504/0.001504, allocations: 62.47 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1181, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.00402/0.1222, allocations: 1.49 MB / 374.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.1247, allocations: 0.913 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.1249, allocations: 0 / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1251, allocations: 15.86 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1253, allocations: 19.86 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.1257, allocations: 51.88 kB / 375.7 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.1263, allocations: 339.3 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.1265, allocations: 61.53 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/0.1273, allocations: 0.4951 MB / 376.5 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003853/0.1277, allocations: 163.3 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1278, allocations: 20 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.128, allocations: 24 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.1283, allocations: 179.3 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005619/0.1289, allocations: 305.7 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1303, allocations: 0.9928 MB / 378.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1303, allocations: 0 / 378.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1303, allocations: 0 / 378.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.272e-05/0.1303, allocations: 3.938 kB / 378.2 MB, free: 12.24 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.002206/0.1325, allocations: 1.301 MB / 379.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.1326, allocations: 8.031 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.1328, allocations: 99.72 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009251/0.1338, allocations: 476.9 kB / 380.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.1338, allocations: 16.36 kB / 380.1 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.1339, allocations: 28.36 kB / 380.1 MB, free: 10.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.1345, allocations: 312.2 kB / 380.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1345, allocations: 0 / 380.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.1346, allocations: 15.98 kB / 380.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1346, allocations: 0 / 380.4 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.1349, allocations: 163.9 kB / 380.6 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1366, allocations: 0.9353 MB / 381.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.1371, allocations: 271.7 kB / 381.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.1376, allocations: 234.5 kB / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.1376, allocations: 0 / 382 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000876/0.1385, allocations: 0.5272 MB / 382.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.1385, allocations: 0 / 382.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001916/0.1405, allocations: 1.003 MB / 383.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002006/0.1407, allocations: 281 kB / 383.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.1435, allocations: 1.446 MB / 385.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.1436, allocations: 33.7 kB / 385.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1437, allocations: 130.4 kB / 385.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.1438, allocations: 67.25 kB / 385.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.1441, allocations: 188.7 kB / 385.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1443, allocations: 346.7 kB / 386 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.1446, allocations: 159.9 kB / 386.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.1449, allocations: 220.6 kB / 386.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/0.1458, allocations: 0.6732 MB / 387.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.1459, allocations: 4 kB / 387.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001334/0.1472, allocations: 0.7765 MB / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.1474, allocations: 190.2 kB / 388.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1474, allocations: 4 kB / 388.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.1474, allocations: 0 / 388.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.1475, allocations: 7.938 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1475, allocations: 8.078 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.1478, allocations: 31.92 kB / 388.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.1479, allocations: 83.94 kB / 388.2 MB, free: 1.613 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.001396/0.1493, allocations: 0.7899 MB / 389 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.1495, allocations: 106.9 kB / 389.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.15, allocations: 191.9 kB / 389.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.15, allocations: 0 / 389.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.15, allocations: 3.938 kB / 389.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.15, allocations: 11.94 kB / 389.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.1529, allocations: 1.788 MB / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1529, allocations: 0 / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.1529, allocations: 0 / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1529, allocations: 4 kB / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.153, allocations: 27.98 kB / 391.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.153, allocations: 3.938 kB / 391.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.153, allocations: 3.938 kB / 391.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1546, allocations: 1.206 MB / 392.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.1556, allocations: 0.5812 MB / 392.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.1558, allocations: 55.95 kB / 392.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.1561, allocations: 23.92 kB / 393 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.1563, allocations: 47.95 kB / 393 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.1565, allocations: 99.86 kB / 393.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001854/0.1583, allocations: 1.075 MB / 394.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1583, allocations: 0 / 394.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005742/0.1589, allocations: 104 kB / 394.3 MB, free: 11.27 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.0002686/0.1592, allocations: 175.3 kB / 394.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.1606, allocations: 0.9453 MB / 395.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1606, allocations: 0 / 395.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008081/0.1614, allocations: 0.77 MB / 396.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.1626, allocations: 251.5 kB / 396.4 MB, free: 8.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.1661, allocations: 2.073 MB / 398.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.1672, allocations: 1.093 MB / 399.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1673, allocations: 29.94 kB / 399.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.1674, allocations: 19.44 kB / 399.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1674, allocations: 0 / 399.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of Templates: time 0.01599/0.1834, allocations: 9.174 MB / 408.8 MB, free: 12.5 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)