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.009609/0.009609, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.00162/0.00162, allocations: 194.6 kB / 16.68 MB, free: 5.98 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.809/1.809, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001342/0.001342, allocations: 50.67 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1292, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.00301/0.1322, allocations: 1.482 MB / 374.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1343, allocations: 0.9093 MB / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.1344, allocations: 0 / 375.6 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1347, allocations: 15.86 kB / 375.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.1348, allocations: 23.8 kB / 375.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1351, allocations: 59.86 kB / 375.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.1356, allocations: 335.3 kB / 376 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1358, allocations: 69.5 kB / 376.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006615/0.1365, allocations: 0.4912 MB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1367, allocations: 163.4 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.1368, allocations: 20 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.831e-05/0.1369, allocations: 24 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.1371, allocations: 187.3 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1375, allocations: 301.7 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1387, allocations: 0.9966 MB / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1387, allocations: 0 / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.1387, allocations: 0 / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.1388, allocations: 3.938 kB / 378.2 MB, free: 12.23 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.002153/0.1409, allocations: 1.297 MB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.141, allocations: 12.02 kB / 379.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1412, allocations: 99.72 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.1419, allocations: 488.8 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.142, allocations: 12.38 kB / 380.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.142, allocations: 16.38 kB / 380.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.1426, allocations: 308.3 kB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1426, allocations: 0 / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.1427, allocations: 12 kB / 380.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1427, allocations: 0 / 380.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.143, allocations: 167.8 kB / 380.6 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1445, allocations: 0.9352 MB / 381.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.145, allocations: 271.8 kB / 381.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.1454, allocations: 234.5 kB / 382 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1454, allocations: 0 / 382 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/0.1462, allocations: 0.5231 MB / 382.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.1462, allocations: 0 / 382.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001896/0.1481, allocations: 1.007 MB / 383.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/0.1483, allocations: 281 kB / 383.8 MB, free: 6.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/0.1505, allocations: 1.443 MB / 385.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.702e-05/0.1506, allocations: 37.69 kB / 385.3 MB, free: 4.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1508, allocations: 126.5 kB / 385.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.825e-05/0.1509, allocations: 71.19 kB / 385.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.1512, allocations: 192.7 kB / 385.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1513, allocations: 338.7 kB / 386 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.1517, allocations: 159.9 kB / 386.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.152, allocations: 216.7 kB / 386.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.1528, allocations: 0.6887 MB / 387.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1528, allocations: 0 / 387.1 MB, free: 2.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001209/0.154, allocations: 0.7765 MB / 387.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.1542, allocations: 190.2 kB / 388.1 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1542, allocations: 4 kB / 388.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.1542, allocations: 4.094 kB / 388.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.1543, allocations: 4 kB / 388.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1543, allocations: 4 kB / 388.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1546, allocations: 27.92 kB / 388.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.1547, allocations: 91.92 kB / 388.2 MB, free: 1.602 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.001158/0.1559, allocations: 0.7976 MB / 389 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.156, allocations: 98.88 kB / 389.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.1564, allocations: 199.9 kB / 389.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1564, allocations: 4 kB / 389.3 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1564, allocations: 4 kB / 389.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1565, allocations: 3.938 kB / 389.3 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.1588, allocations: 1.784 MB / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1589, allocations: 0 / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.1589, allocations: 0 / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1589, allocations: 4 kB / 391.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.159, allocations: 27.98 kB / 391.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.159, allocations: 3.938 kB / 391.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.159, allocations: 4 kB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.1605, allocations: 1.202 MB / 392.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.1616, allocations: 0.5851 MB / 392.9 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.1618, allocations: 55.97 kB / 393 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.1621, allocations: 27.92 kB / 393 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.1623, allocations: 51.94 kB / 393 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.1624, allocations: 103.8 kB / 393.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.1643, allocations: 1.067 MB / 394.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1644, allocations: 4 kB / 394.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.165, allocations: 100 kB / 394.3 MB, free: 11.25 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.0002968/0.1653, allocations: 175.3 kB / 394.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.1666, allocations: 0.9454 MB / 395.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.1666, allocations: 0 / 395.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008933/0.1675, allocations: 0.7697 MB / 396.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.1689, allocations: 244.2 kB / 396.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.173, allocations: 2.073 MB / 398.5 MB, free: 6.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.1743, allocations: 1.089 MB / 399.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1745, allocations: 29.38 kB / 399.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.1746, allocations: 19.44 kB / 399.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1746, allocations: 0 / 399.6 MB, free: 5.695 MB / 334.1 MB Notification: Performance of Templates: time 0.02083/0.1954, allocations: 9.166 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)