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.001571/0.001572, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001857/0.001856, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.855/1.855, allocations: 205.1 MB / 222.1 MB, free: 4.738 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.002329/0.002329, allocations: 43.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4115, allocations: 46.63 MB / 324.8 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.003422/0.415, allocations: 1.559 MB / 326.4 MB, free: 0.6914 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.4173, allocations: 0.8921 MB / 327.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.4174, allocations: 1.344 kB / 327.3 MB, free: 16 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.4176, allocations: 17.39 kB / 327.3 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.4177, allocations: 17.16 kB / 327.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.4181, allocations: 48.27 kB / 327.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.4186, allocations: 329.5 kB / 327.7 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.4188, allocations: 63.16 kB / 327.8 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007043/0.4195, allocations: 468.4 kB / 328.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.4198, allocations: 162.7 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.4199, allocations: 23.62 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.42, allocations: 23.62 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.4202, allocations: 181.2 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.4206, allocations: 308 kB / 328.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.4218, allocations: 0.9785 MB / 329.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4219, allocations: 5.031 kB / 329.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4219, allocations: 0 / 329.9 MB, free: 14.42 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.4219, allocations: 7.938 kB / 329.9 MB, free: 14.41 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.002083/0.424, allocations: 1.292 MB / 331.2 MB, free: 13.28 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.657e-05/0.4241, allocations: 10.31 kB / 331.2 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.4243, allocations: 93.47 kB / 331.3 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.4252, allocations: 487.8 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.4253, allocations: 11.09 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.4254, allocations: 19.09 kB / 331.8 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.4262, allocations: 311.6 kB / 332.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.4262, allocations: 3.938 kB / 332.1 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.4263, allocations: 15.48 kB / 332.1 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4263, allocations: 2.156 kB / 332.1 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.4267, allocations: 159.7 kB / 332.3 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.4283, allocations: 0.9508 MB / 333.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.4288, allocations: 263.7 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.4292, allocations: 242.4 kB / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.4292, allocations: 4 kB / 333.7 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008756/0.4301, allocations: 0.5154 MB / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=30): time 4.919e-06/0.4301, allocations: 0 / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=30): time 0.001839/0.4319, allocations: 1.019 MB / 335.3 MB, free: 9.324 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.4322, allocations: 277 kB / 335.5 MB, free: 8.992 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.4345, allocations: 1.435 MB / 337 MB, free: 7.535 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.4346, allocations: 45.69 kB / 337 MB, free: 7.484 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4347, allocations: 126.4 kB / 337.1 MB, free: 7.355 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.4349, allocations: 63.25 kB / 337.2 MB, free: 7.293 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.4353, allocations: 192.7 kB / 337.4 MB, free: 7.098 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4355, allocations: 346.7 kB / 337.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.4358, allocations: 155.9 kB / 337.9 MB, free: 6.598 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.4361, allocations: 216.8 kB / 338.1 MB, free: 6.367 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.4369, allocations: 0.677 MB / 338.8 MB, free: 5.598 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.4369, allocations: 0 / 338.8 MB, free: 5.598 MB / 270.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001276/0.4382, allocations: 0.7841 MB / 339.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.4384, allocations: 194.2 kB / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4384, allocations: 0 / 339.7 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.4384, allocations: 4 kB / 339.7 MB, free: 4.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.688e-05/0.4384, allocations: 4.031 kB / 339.7 MB, free: 4.535 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.4385, allocations: 8 kB / 339.7 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.4389, allocations: 31.83 kB / 339.8 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.439, allocations: 91.92 kB / 339.9 MB, free: 4.406 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.001409/0.4404, allocations: 0.7937 MB / 340.7 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.4406, allocations: 106.8 kB / 340.8 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.4411, allocations: 191.9 kB / 341 MB, free: 3.266 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4411, allocations: 4 kB / 341 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.4412, allocations: 4 kB / 341 MB, free: 3.258 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4412, allocations: 3.938 kB / 341 MB, free: 3.254 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.4442, allocations: 1.777 MB / 342.7 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4442, allocations: 4 kB / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.689e-05/0.4442, allocations: 0 / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4442, allocations: 0 / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.4443, allocations: 27.98 kB / 342.8 MB, free: 1.352 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/0.4443, allocations: 11.88 kB / 342.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4443, allocations: 4 kB / 342.8 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.4461, allocations: 1.195 MB / 344 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.4473, allocations: 0.5813 MB / 344.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.4475, allocations: 59.97 kB / 344.6 MB, free: 15.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.4478, allocations: 31.77 kB / 344.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.448, allocations: 63.86 kB / 344.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.4482, allocations: 91.86 kB / 344.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001808/0.45, allocations: 1.075 MB / 345.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.45, allocations: 0 / 345.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005936/0.4506, allocations: 104 kB / 346 MB, free: 14.05 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.0002967/0.4509, allocations: 175.3 kB / 346.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001256/0.4521, allocations: 0.9454 MB / 347.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4522, allocations: 4.062 kB / 347.1 MB, free: 12.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.453, allocations: 0.7658 MB / 347.9 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4543, allocations: 238.7 kB / 348.1 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/0.4597, allocations: 2.379 MB / 350.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.4611, allocations: 1.085 MB / 351.6 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.4615, allocations: 33.92 kB / 351.6 MB, free: 8.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.4616, allocations: 19.44 kB / 351.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of SimCode: time 2.505e-06/0.4616, allocations: 0 / 351.6 MB, free: 8.203 MB / 286.1 MB Notification: Performance of Templates: time 0.018/0.4796, allocations: 8.954 MB / 360.6 MB, free: 15.23 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)