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.0009862/0.0009863, allocations: 91.66 kB / 16.31 MB, free: 5.676 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.001169/0.001169, allocations: 188 kB / 17.21 MB, free: 5.59 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.896/1.896, allocations: 205.4 MB / 223.4 MB, free: 13.07 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.0004739/0.0004741, allocations: 12 kB / 280.1 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 47.58 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002013/0.1232, allocations: 1.192 MB / 328.9 MB, free: 2.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1253, allocations: 0.8597 MB / 329.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.1253, allocations: 4 kB / 329.8 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1255, allocations: 7.938 kB / 329.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.1256, allocations: 15.86 kB / 329.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.126, allocations: 43.94 kB / 329.8 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.1264, allocations: 255.3 kB / 330.1 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.1266, allocations: 41.73 kB / 330.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006233/0.1272, allocations: 367.2 kB / 330.5 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1275, allocations: 159.6 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.1276, allocations: 8 kB / 330.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.1276, allocations: 8 kB / 330.7 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.1279, allocations: 167.4 kB / 330.8 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.1281, allocations: 153.2 kB / 331 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009458/0.129, allocations: 0.807 MB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.129, allocations: 4 kB / 331.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.129, allocations: 0 / 331.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1291, allocations: 4 kB / 331.8 MB, free: 15.97 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.001523/0.1306, allocations: 1.145 MB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.1306, allocations: 8.031 kB / 332.9 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.1308, allocations: 90.88 kB / 333 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.1316, allocations: 452.5 kB / 333.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.1316, allocations: 12 kB / 333.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.1317, allocations: 23.98 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.1323, allocations: 311.9 kB / 333.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1323, allocations: 3.984 kB / 333.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.1324, allocations: 12 kB / 333.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1324, allocations: 0 / 333.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.1327, allocations: 163.8 kB / 334 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.134, allocations: 0.9353 MB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.1345, allocations: 271.8 kB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.1349, allocations: 238.5 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1349, allocations: 4 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/0.1357, allocations: 0.5153 MB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1357, allocations: 3.938 kB / 335.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=30): time 0.001859/0.1375, allocations: 1.006 MB / 336.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.1378, allocations: 288.9 kB / 337.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.14, allocations: 1.439 MB / 338.7 MB, free: 8.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.1401, allocations: 45.69 kB / 338.7 MB, free: 8.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.1402, allocations: 118.5 kB / 338.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1403, allocations: 71.19 kB / 338.9 MB, free: 8.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.1403, allocations: 4 kB / 338.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1406, allocations: 342.8 kB / 339.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.1408, allocations: 159.9 kB / 339.4 MB, free: 7.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003177/0.1412, allocations: 208.9 kB / 339.6 MB, free: 7.676 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.1416, allocations: 342 kB / 339.9 MB, free: 7.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1416, allocations: 0 / 339.9 MB, free: 7.305 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001098/0.1427, allocations: 0.7725 MB / 340.7 MB, free: 6.488 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.1428, allocations: 196.8 kB / 340.9 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1429, allocations: 0 / 340.9 MB, free: 6.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1429, allocations: 4 kB / 340.9 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.1429, allocations: 3.938 kB / 340.9 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1429, allocations: 15.92 kB / 340.9 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.1432, allocations: 36.02 kB / 341 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.1434, allocations: 87.94 kB / 341 MB, free: 6.117 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,$whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,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,$PRE.delay.inertialDelaySensitive[2].y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,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,$PRE.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001036/0.1444, allocations: 0.8054 MB / 341.8 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.1446, allocations: 102.8 kB / 341.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1449, allocations: 192.8 kB / 342.1 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.1449, allocations: 4 kB / 342.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.1449, allocations: 0 / 342.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.1449, allocations: 3.953 kB / 342.1 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.1474, allocations: 1.777 MB / 343.9 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1474, allocations: 0 / 343.9 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.1474, allocations: 0 / 343.9 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1475, allocations: 4 kB / 343.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.1475, allocations: 27.98 kB / 344 MB, free: 3.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1475, allocations: 7.922 kB / 344 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.1475, allocations: 3.953 kB / 344 MB, free: 3.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.149, allocations: 1.199 MB / 345.2 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.1499, allocations: 0.5852 MB / 345.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.1501, allocations: 55.95 kB / 345.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.1504, allocations: 27.89 kB / 345.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.1506, allocations: 55.83 kB / 345.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.1507, allocations: 107.8 kB / 346 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001518/0.1522, allocations: 1.075 MB / 347.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1522, allocations: 0 / 347.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.1528, allocations: 104 kB / 347.2 MB, free: 15.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002434/0.153, allocations: 171.3 kB / 347.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.1542, allocations: 0.9414 MB / 348.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1542, allocations: 192 / 348.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.1549, allocations: 0.7775 MB / 349.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.156, allocations: 208 kB / 349.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1592, allocations: 2.315 MB / 351.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008878/0.1601, allocations: 1.09 MB / 352.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1603, allocations: 29.38 kB / 352.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.1603, allocations: 15.44 kB / 352.7 MB, free: 10 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1603, allocations: 0 / 352.7 MB, free: 10 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.1721, allocations: 7.69 MB / 360.4 MB, free: 2.301 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)