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.0128/0.0128, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002635/0.002636, allocations: 195 kB / 16.68 MB, free: 6.375 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.775/1.775, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001182/0.001182, allocations: 51.08 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003201/0.12, allocations: 1.486 MB / 374.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1225, allocations: 0.9131 MB / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.1226, allocations: 0 / 375.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.1228, allocations: 11.88 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-05/0.1229, allocations: 19.84 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1233, allocations: 59.88 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.1238, allocations: 331.3 kB / 376 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.124, allocations: 61.53 kB / 376 MB, free: 14.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.1246, allocations: 471 kB / 376.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.1249, allocations: 163.4 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.1249, allocations: 24 kB / 376.7 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.125, allocations: 24 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1252, allocations: 187.2 kB / 376.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1255, allocations: 297.7 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008859/0.1264, allocations: 0.9928 MB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1264, allocations: 0 / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1264, allocations: 0 / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1264, allocations: 0 / 378.2 MB, free: 12.28 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.001477/0.1279, allocations: 1.301 MB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.128, allocations: 12.03 kB / 379.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.1281, allocations: 99.72 kB / 379.6 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.1289, allocations: 484.8 kB / 380.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.129, allocations: 12.38 kB / 380.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.129, allocations: 20.38 kB / 380.1 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.1296, allocations: 312.3 kB / 380.4 MB, free: 9.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1296, allocations: 3.938 kB / 380.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1297, allocations: 16 kB / 380.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1297, allocations: 0 / 380.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.13, allocations: 163.9 kB / 380.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.1314, allocations: 0.9315 MB / 381.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.1318, allocations: 275.6 kB / 381.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.1322, allocations: 234.5 kB / 382 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1322, allocations: 0 / 382 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007541/0.133, allocations: 0.5272 MB / 382.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.133, allocations: 0 / 382.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001784/0.1348, allocations: 1.002 MB / 383.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.135, allocations: 281 kB / 383.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.1371, allocations: 1.443 MB / 385.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.1372, allocations: 49.69 kB / 385.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1373, allocations: 122.4 kB / 385.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.1374, allocations: 63.3 kB / 385.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.1376, allocations: 192.7 kB / 385.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1378, allocations: 334.8 kB / 386 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.1381, allocations: 159.9 kB / 386.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.1385, allocations: 224.6 kB / 386.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.1392, allocations: 0.681 MB / 387.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1392, allocations: 3.938 kB / 387.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001137/0.1403, allocations: 0.7727 MB / 387.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.1405, allocations: 194.2 kB / 388 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1405, allocations: 4 kB / 388 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.1406, allocations: 0 / 388 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.729e-05/0.1406, allocations: 7.938 kB / 388 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1406, allocations: 4 kB / 388 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.1409, allocations: 27.92 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.141, allocations: 91.92 kB / 388.2 MB, free: 1.645 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.001173/0.1422, allocations: 0.7896 MB / 388.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1424, allocations: 103.2 kB / 389 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.1428, allocations: 199.9 kB / 389.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1428, allocations: 3.984 kB / 389.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1428, allocations: 4 kB / 389.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1428, allocations: 3.938 kB / 389.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.1451, allocations: 1.78 MB / 391 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1451, allocations: 3.938 kB / 391 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.1451, allocations: 0 / 391 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1452, allocations: 8 kB / 391 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.1452, allocations: 27.98 kB / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1452, allocations: 3.938 kB / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1452, allocations: 0 / 391.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1467, allocations: 1.202 MB / 392.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.1479, allocations: 0.5812 MB / 392.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.148, allocations: 59.95 kB / 392.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.1484, allocations: 27.92 kB / 392.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.1485, allocations: 43.95 kB / 393 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.1486, allocations: 99.86 kB / 393.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001734/0.1504, allocations: 1.075 MB / 394.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1504, allocations: 0 / 394.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005959/0.151, allocations: 100 kB / 394.3 MB, free: 11.31 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.0002942/0.1513, allocations: 183.3 kB / 394.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1526, allocations: 0.9414 MB / 395.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1526, allocations: 0 / 395.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007744/0.1534, allocations: 0.7659 MB / 396.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.1547, allocations: 251.5 kB / 396.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.158, allocations: 2.081 MB / 398.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/0.159, allocations: 1.089 MB / 399.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1592, allocations: 25.95 kB / 399.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.1592, allocations: 19.44 kB / 399.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1592, allocations: 4 kB / 399.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of Templates: time 0.01497/0.1742, allocations: 9.174 MB / 408.8 MB, free: 12.53 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)