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.001427/0.001427, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001392/0.001393, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.764/1.764, allocations: 205.4 MB / 223.4 MB, free: 5.336 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.0004579/0.0004581, allocations: 8 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3264, allocations: 47.58 MB / 327.7 MB, free: 1.465 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001992/0.3285, allocations: 1.185 MB / 328.9 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3312, allocations: 0.8609 MB / 329.7 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.3314, allocations: 9.062 kB / 329.7 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3315, allocations: 4.938 kB / 329.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.3316, allocations: 20.84 kB / 329.8 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.332, allocations: 48.8 kB / 329.8 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3323, allocations: 151.9 kB / 330 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3326, allocations: 58.27 kB / 330 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.3331, allocations: 288.3 kB / 330.3 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.3335, allocations: 157.7 kB / 330.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.619e-05/0.3336, allocations: 7.656 kB / 330.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.3336, allocations: 9.312 kB / 330.5 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.3339, allocations: 172 kB / 330.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3341, allocations: 145.3 kB / 330.8 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3352, allocations: 0.8011 MB / 331.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3352, allocations: 5.344 kB / 331.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3352, allocations: 0 / 331.6 MB, free: 14.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.3352, allocations: 0 / 331.6 MB, free: 14.75 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.001735/0.337, allocations: 1.152 MB / 332.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.337, allocations: 9.281 kB / 332.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3372, allocations: 97.44 kB / 332.9 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/0.338, allocations: 444.9 kB / 333.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.434e-05/0.338, allocations: 18.67 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.3381, allocations: 14.44 kB / 333.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.3387, allocations: 310.1 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3387, allocations: 1.188 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.3388, allocations: 7.469 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3388, allocations: 5.031 kB / 333.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.3391, allocations: 171.4 kB / 333.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3407, allocations: 0.9342 MB / 334.7 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.3411, allocations: 282.1 kB / 335 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.3411, allocations: 0 / 335 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006668/0.3418, allocations: 0.5193 MB / 335.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.3418, allocations: 0 / 335.5 MB, free: 11.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001784/0.3436, allocations: 1.256 MB / 336.8 MB, free: 9.988 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.3438, allocations: 285 kB / 337.1 MB, free: 9.648 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.3459, allocations: 1.446 MB / 338.5 MB, free: 8.18 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.346, allocations: 37.7 kB / 338.5 MB, free: 8.137 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3461, allocations: 118.5 kB / 338.7 MB, free: 8.016 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-05/0.3462, allocations: 75.09 kB / 338.7 MB, free: 7.941 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3462, allocations: 8 kB / 338.7 MB, free: 7.934 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3464, allocations: 338.8 kB / 339.1 MB, free: 7.594 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.3467, allocations: 159.9 kB / 339.2 MB, free: 7.438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.347, allocations: 212.9 kB / 339.4 MB, free: 7.211 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.3473, allocations: 338 kB / 339.8 MB, free: 6.844 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3474, allocations: 0 / 339.8 MB, free: 6.844 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00128/0.3487, allocations: 0.7841 MB / 340.6 MB, free: 6.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.3489, allocations: 190.2 kB / 340.7 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3489, allocations: 4 kB / 340.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.349, allocations: 0 / 340.7 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.972e-05/0.349, allocations: 4 kB / 340.7 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.349, allocations: 7.984 kB / 340.8 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.3496, allocations: 31.94 kB / 340.8 MB, free: 5.746 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3497, allocations: 92.03 kB / 340.9 MB, free: 5.656 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,$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.001498/0.3512, allocations: 0.7896 MB / 341.7 MB, free: 4.816 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.3514, allocations: 102.8 kB / 341.8 MB, free: 4.715 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.3517, allocations: 195.9 kB / 342 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3517, allocations: 0 / 342 MB, free: 4.52 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3518, allocations: 4 kB / 342 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3518, allocations: 0.5625 kB / 342 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.3543, allocations: 1.789 MB / 343.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3543, allocations: 4 kB / 343.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.3543, allocations: 0 / 343.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.3543, allocations: 0 / 343.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.826e-05/0.3544, allocations: 27.98 kB / 343.8 MB, free: 2.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.3544, allocations: 7.938 kB / 343.8 MB, free: 2.594 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3544, allocations: 3.953 kB / 343.8 MB, free: 2.59 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.3561, allocations: 1.226 MB / 345 MB, free: 1.297 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.3573, allocations: 0.5813 MB / 345.6 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.3575, allocations: 59.91 kB / 345.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.3579, allocations: 23.98 kB / 345.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.3581, allocations: 55.94 kB / 345.7 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.3582, allocations: 91.86 kB / 345.8 MB, free: 480 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.3603, allocations: 1.079 MB / 346.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.3603, allocations: 0 / 346.9 MB, free: 15.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007463/0.3611, allocations: 111.8 kB / 347 MB, free: 15.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 (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.0003839/0.3615, allocations: 171.3 kB / 347.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3629, allocations: 0.9414 MB / 348.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3629, allocations: 4.188 kB / 348.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.3638, allocations: 0.7736 MB / 348.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3649, allocations: 200 kB / 349.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/0.3696, allocations: 2.299 MB / 351.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/0.3711, allocations: 1.109 MB / 352.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.3713, allocations: 25.97 kB / 352.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3714, allocations: 15.44 kB / 352.5 MB, free: 9.523 MB / 286.1 MB Notification: Performance of SimCode: time 1.683e-06/0.3714, allocations: 3.938 kB / 352.5 MB, free: 9.52 MB / 286.1 MB Notification: Performance of Templates: time 0.01505/0.3864, allocations: 7.678 MB / 360.2 MB, free: 1.828 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.VectorDelay.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: