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.001606/0.001606, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.001653/0.001653, allocations: 186 kB / 17.55 MB, free: 5.934 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.881/1.881, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001201/0.001201, allocations: 47.94 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 46.61 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003349/0.1236, allocations: 1.562 MB / 327.7 MB, free: 3.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1257, allocations: 0.8904 MB / 328.6 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.1257, allocations: 0 / 328.6 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1259, allocations: 11.92 kB / 328.6 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.126, allocations: 23.84 kB / 328.6 MB, free: 2.301 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1263, allocations: 39.97 kB / 328.7 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004063/0.1267, allocations: 339.4 kB / 329 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1269, allocations: 57.55 kB / 329 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.1274, allocations: 482.9 kB / 329.5 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.1277, allocations: 155.4 kB / 329.7 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.585e-05/0.1277, allocations: 28 kB / 329.7 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.1278, allocations: 24 kB / 329.7 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.128, allocations: 183.2 kB / 329.9 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1282, allocations: 297.8 kB / 330.2 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007741/0.129, allocations: 0.9851 MB / 331.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.129, allocations: 0 / 331.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.129, allocations: 0 / 331.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.557e-06/0.129, allocations: 4 kB / 331.2 MB, free: 15.73 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.001504/0.1305, allocations: 1.293 MB / 332.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.1306, allocations: 12.03 kB / 332.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1307, allocations: 95.81 kB / 332.6 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.1314, allocations: 480.8 kB / 333 MB, free: 13.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.1314, allocations: 16.38 kB / 333.1 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1315, allocations: 16.38 kB / 333.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.132, allocations: 320.2 kB / 333.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1321, allocations: 0 / 333.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.29e-05/0.1321, allocations: 15.98 kB / 333.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1321, allocations: 4 kB / 333.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.1324, allocations: 163.9 kB / 333.6 MB, free: 13.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.1336, allocations: 0.943 MB / 334.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.134, allocations: 271.8 kB / 334.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.1344, allocations: 234.7 kB / 335 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1344, allocations: 0 / 335 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/0.1351, allocations: 0.5193 MB / 335.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.1352, allocations: 3.938 kB / 335.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=30): time 0.001804/0.137, allocations: 1.006 MB / 336.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.1372, allocations: 285 kB / 336.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.1393, allocations: 1.439 MB / 338.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.1393, allocations: 41.69 kB / 338.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.1395, allocations: 122.4 kB / 338.4 MB, free: 8.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1396, allocations: 68.09 kB / 338.5 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.1398, allocations: 188.7 kB / 338.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.14, allocations: 342.8 kB / 339 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.1403, allocations: 159.8 kB / 339.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.1406, allocations: 216.9 kB / 339.4 MB, free: 7.055 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.1413, allocations: 0.677 MB / 340 MB, free: 6.285 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1413, allocations: 0 / 340 MB, free: 6.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001175/0.1425, allocations: 0.7842 MB / 340.8 MB, free: 5.457 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.1426, allocations: 194.2 kB / 341 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.1426, allocations: 3.938 kB / 341 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.1427, allocations: 4 kB / 341 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-05/0.1427, allocations: 3.938 kB / 341 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1427, allocations: 4 kB / 341 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.143, allocations: 39.77 kB / 341.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.1431, allocations: 87.92 kB / 341.2 MB, free: 5.09 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.001097/0.1442, allocations: 0.7977 MB / 341.9 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1444, allocations: 102.9 kB / 342 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.1447, allocations: 199.9 kB / 342.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1447, allocations: 0 / 342.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1447, allocations: 0 / 342.2 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1447, allocations: 7.938 kB / 342.3 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.1472, allocations: 1.781 MB / 344 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1472, allocations: 0 / 344 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.1472, allocations: 0 / 344 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1472, allocations: 0 / 344 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.1473, allocations: 27.98 kB / 344.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.1473, allocations: 11.88 kB / 344.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1473, allocations: 4 kB / 344.1 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.1488, allocations: 1.195 MB / 345.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008691/0.1497, allocations: 0.593 MB / 345.9 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.1499, allocations: 55.91 kB / 345.9 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.1503, allocations: 23.92 kB / 345.9 MB, free: 72 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.1504, allocations: 51.88 kB / 346 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.1506, allocations: 99.86 kB / 346.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.1522, allocations: 1.067 MB / 347.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1522, allocations: 0 / 347.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005371/0.1527, allocations: 108 kB / 347.3 MB, free: 14.74 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.0003234/0.153, allocations: 175.3 kB / 347.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001445/0.1545, allocations: 0.9453 MB / 348.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1545, allocations: 0 / 348.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009284/0.1554, allocations: 0.7736 MB / 349.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.1567, allocations: 247.3 kB / 349.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.1603, allocations: 2.37 MB / 351.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009342/0.1612, allocations: 1.089 MB / 352.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.1613, allocations: 37.94 kB / 352.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.1614, allocations: 15.44 kB / 352.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1614, allocations: 0 / 352.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of Templates: time 0.01693/0.1783, allocations: 8.958 MB / 361.9 MB, free: 15.91 MB / 318.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)