Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.009064/0.009065, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00196/0.00196, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.811/1.811, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.00121/0.00121, allocations: 48.39 kB / 326.5 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 46.62 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003161/0.1283, allocations: 1.497 MB / 374.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1305, allocations: 0.905 MB / 375.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.1306, allocations: 4 kB / 375.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1308, allocations: 15.86 kB / 375.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.1309, allocations: 23.8 kB / 375.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.1312, allocations: 51.88 kB / 375.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.1317, allocations: 335.4 kB / 376 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.1319, allocations: 65.53 kB / 376 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.1325, allocations: 499 kB / 376.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1327, allocations: 159.4 kB / 376.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.676e-05/0.1328, allocations: 24 kB / 376.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.1329, allocations: 24 kB / 376.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.133, allocations: 183.2 kB / 376.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.1334, allocations: 305.8 kB / 377.2 MB, free: 484 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3357/0.469, allocations: 0.989 MB / 378.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4691, allocations: 0 / 378.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4691, allocations: 0.6875 kB / 378.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.709e-05/0.4691, allocations: 1.156 kB / 378.2 MB, free: 10.74 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.002762/0.4719, allocations: 1.296 MB / 379.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.472, allocations: 9.625 kB / 379.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.4722, allocations: 98.88 kB / 379.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.473, allocations: 480.7 kB / 380.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.473, allocations: 15.88 kB / 380.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.4731, allocations: 20.75 kB / 380.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.4739, allocations: 304.4 kB / 380.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4739, allocations: 4.469 kB / 380.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.474, allocations: 8 kB / 380.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.474, allocations: 3.391 kB / 380.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.4744, allocations: 167.9 kB / 380.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.4773, allocations: 0.9424 MB / 381.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.4781, allocations: 271.7 kB / 381.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.4786, allocations: 236.5 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.4786, allocations: 1.703 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009238/0.4795, allocations: 0.5217 MB / 382.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.675e-06/0.4796, allocations: 0 / 382.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002333/0.4819, allocations: 1.01 MB / 383.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.4821, allocations: 276.6 kB / 383.8 MB, free: 7.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.486, allocations: 1.45 MB / 385.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.4863, allocations: 42.41 kB / 385.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4864, allocations: 121.3 kB / 385.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.4866, allocations: 68.33 kB / 385.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.487, allocations: 192.2 kB / 385.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4871, allocations: 337.2 kB / 386 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.4875, allocations: 157.8 kB / 386.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.4879, allocations: 220.2 kB / 386.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.4887, allocations: 0.6825 MB / 387.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4887, allocations: 0 / 387.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001473/0.4902, allocations: 0.7741 MB / 387.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.4904, allocations: 195.6 kB / 388 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4904, allocations: 1.062 kB / 388 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.4905, allocations: 3.094 kB / 388 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.4905, allocations: 4.453 kB / 388 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.296e-05/0.4905, allocations: 5.938 kB / 388.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.4911, allocations: 25.56 kB / 388.1 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.4912, allocations: 93.03 kB / 388.2 MB, free: 5.434 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.001957/0.4932, allocations: 0.7894 MB / 389 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.4935, allocations: 102.5 kB / 389.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.4943, allocations: 197 kB / 389.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4943, allocations: 1.656 kB / 389.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.4943, allocations: 5.281 kB / 389.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4943, allocations: 4.016 kB / 389.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.4979, allocations: 1.789 MB / 391.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.498, allocations: 1.5 kB / 391.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.498, allocations: 2.25 kB / 391.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.498, allocations: 5.375 kB / 391.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.4981, allocations: 31.08 kB / 391.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.4981, allocations: 5.188 kB / 391.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4981, allocations: 1.859 kB / 391.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.4999, allocations: 1.195 MB / 392.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/0.502, allocations: 0.5807 MB / 392.9 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5023, allocations: 60.19 kB / 392.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.5028, allocations: 28.02 kB / 393 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.5031, allocations: 48.92 kB / 393 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.5033, allocations: 100.7 kB / 393.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003893/0.5072, allocations: 1.074 MB / 394.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.032e-06/0.5072, allocations: 0 / 394.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00157/0.5088, allocations: 98.38 kB / 394.3 MB, free: 2.188 MB / 318.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.0004524/0.5092, allocations: 190.4 kB / 394.5 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.511, allocations: 0.9453 MB / 395.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5111, allocations: 3.938 kB / 395.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009781/0.512, allocations: 0.7661 MB / 396.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.5147, allocations: 251.3 kB / 396.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.5231, allocations: 2.068 MB / 398.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/0.5253, allocations: 1.088 MB / 399.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.5257, allocations: 34.44 kB / 399.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.5258, allocations: 15.66 kB / 399.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of SimCode: time 1.843e-06/0.5258, allocations: 5.031 kB / 399.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Templates: time 0.02627/0.5521, allocations: 9.183 MB / 408.8 MB, free: 10.68 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1)