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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002225/0.002225, allocations: 191.7 kB / 16.14 MB, free: 6.707 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.828/1.828, allocations: 205.1 MB / 222 MB, free: 4.789 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.001367/0.001367, allocations: 51.94 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3713, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003657/0.375, allocations: 1.55 MB / 326.2 MB, free: 0.7148 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3771, allocations: 0.9305 MB / 327.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.3773, allocations: 0 / 327.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.3775, allocations: 10.58 kB / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.3776, allocations: 18.25 kB / 327.2 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.3779, allocations: 48.25 kB / 327.2 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.3783, allocations: 260.2 kB / 327.5 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.3786, allocations: 61.38 kB / 327.5 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000791/0.3794, allocations: 443.7 kB / 328 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3796, allocations: 141.7 kB / 328.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.3797, allocations: 8.531 kB / 328.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.3798, allocations: 14.06 kB / 328.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.3801, allocations: 182 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.3806, allocations: 291.8 kB / 328.6 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3819, allocations: 0.9527 MB / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.3819, allocations: 0 / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3819, allocations: 0 / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.3819, allocations: 1 kB / 329.6 MB, free: 14.52 MB / 270.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.002027/0.384, allocations: 1.299 MB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.384, allocations: 9.656 kB / 330.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.3842, allocations: 95.03 kB / 331 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/0.385, allocations: 484 kB / 331.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.385, allocations: 18.47 kB / 331.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.3851, allocations: 22.42 kB / 331.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006747/0.3858, allocations: 308.7 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.3858, allocations: 0 / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.3859, allocations: 11.28 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3859, allocations: 1.375 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.3863, allocations: 168 kB / 331.9 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3878, allocations: 0.94 MB / 332.9 MB, free: 11.72 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.3883, allocations: 275.8 kB / 333.2 MB, free: 11.42 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.3886, allocations: 234.5 kB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.3887, allocations: 0 / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.3896, allocations: 0.5231 MB / 333.9 MB, free: 10.6 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3896, allocations: 0 / 333.9 MB, free: 10.6 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001794/0.3914, allocations: 1.018 MB / 334.9 MB, free: 9.539 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.3916, allocations: 281 kB / 335.2 MB, free: 9.203 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.394, allocations: 1.439 MB / 336.6 MB, free: 7.742 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 9.731e-05/0.3941, allocations: 45.7 kB / 336.7 MB, free: 7.691 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.3943, allocations: 126.5 kB / 336.8 MB, free: 7.562 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.3945, allocations: 63.2 kB / 336.9 MB, free: 7.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004021/0.3949, allocations: 188.7 kB / 337.1 MB, free: 7.309 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.3951, allocations: 338.8 kB / 337.4 MB, free: 6.969 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3955, allocations: 163.9 kB / 337.5 MB, free: 6.809 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.3959, allocations: 212.9 kB / 337.8 MB, free: 6.582 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.3968, allocations: 0.677 MB / 338.4 MB, free: 5.812 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3969, allocations: 0 / 338.4 MB, free: 5.812 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001325/0.3982, allocations: 0.7802 MB / 339.2 MB, free: 4.988 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.3984, allocations: 194.3 kB / 339.4 MB, free: 4.762 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3984, allocations: 4 kB / 339.4 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3984, allocations: 0 / 339.4 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.3985, allocations: 4 kB / 339.4 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3985, allocations: 11.92 kB / 339.4 MB, free: 4.742 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.3988, allocations: 35.77 kB / 339.5 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.399, allocations: 88.78 kB / 339.5 MB, free: 4.621 MB / 270.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.001225/0.4002, allocations: 0.7937 MB / 340.3 MB, free: 3.777 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.4003, allocations: 110.9 kB / 340.4 MB, free: 3.668 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.4006, allocations: 187.9 kB / 340.6 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4007, allocations: 4 kB / 340.6 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4007, allocations: 0 / 340.6 MB, free: 3.477 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4007, allocations: 3.938 kB / 340.6 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.4033, allocations: 1.784 MB / 342.4 MB, free: 1.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4033, allocations: 0 / 342.4 MB, free: 1.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.4033, allocations: 8 kB / 342.4 MB, free: 1.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.4033, allocations: 0 / 342.4 MB, free: 1.586 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.4034, allocations: 27.98 kB / 342.5 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.906e-06/0.4034, allocations: 7.922 kB / 342.5 MB, free: 1.551 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.4034, allocations: 4 kB / 342.5 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4051, allocations: 1.191 MB / 343.7 MB, free: 308 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.4062, allocations: 0.5852 MB / 344.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.4063, allocations: 59.95 kB / 344.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4067, allocations: 31.77 kB / 344.3 MB, free: 15.61 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.4068, allocations: 43.94 kB / 344.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.407, allocations: 103.8 kB / 344.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.4086, allocations: 1.075 MB / 345.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4086, allocations: 0 / 345.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005547/0.4092, allocations: 104 kB / 345.6 MB, free: 14.27 MB / 286.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.0003016/0.4095, allocations: 183.3 kB / 345.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4107, allocations: 0.9258 MB / 346.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4107, allocations: 4 kB / 346.8 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.4115, allocations: 0.7658 MB / 347.5 MB, free: 12.24 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4127, allocations: 224.7 kB / 347.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.4166, allocations: 2.384 MB / 350.1 MB, free: 9.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009197/0.4176, allocations: 1.081 MB / 351.2 MB, free: 8.496 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.4178, allocations: 25.41 kB / 351.2 MB, free: 8.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.4178, allocations: 15.44 kB / 351.2 MB, free: 8.457 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4178, allocations: 4 kB / 351.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of Templates: time 0.01592/0.4337, allocations: 8.605 MB / 359.9 MB, free: 15.83 MB / 302.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)