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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009638/0.0009639, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001626/0.001626, allocations: 110.2 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.705e-05/2.707e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08018, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3826, allocations: 71.19 MB / 378.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3829, allocations: 68.78 kB / 378.9 MB, free: 4.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0272/0.4101, allocations: 13.34 MB / 392.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4102, allocations: 0 / 392.2 MB, free: 9.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.4102, allocations: 12 kB / 392.3 MB, free: 9.562 MB / 282.7 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.001125/0.4113, allocations: 1.022 MB / 393.3 MB, free: 8.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4114, allocations: 8.031 kB / 393.3 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.4115, allocations: 98.83 kB / 393.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006343/0.4122, allocations: 411.6 kB / 393.8 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.4122, allocations: 19.81 kB / 393.8 MB, free: 7.945 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.4123, allocations: 19.5 kB / 393.8 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.4129, allocations: 337.3 kB / 394.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4129, allocations: 0 / 394.1 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.4129, allocations: 11.75 kB / 394.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.413, allocations: 7.875 kB / 394.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.4133, allocations: 201.2 kB / 394.4 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.4146, allocations: 0.9626 MB / 395.3 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.415, allocations: 303.1 kB / 395.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.4154, allocations: 261.9 kB / 395.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.4154, allocations: 4 kB / 395.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000664/0.4161, allocations: 0.5787 MB / 396.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.4161, allocations: 0 / 396.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001351/0.4175, allocations: 0.8901 MB / 397.3 MB, free: 4.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.4176, allocations: 277 kB / 397.6 MB, free: 4.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.4193, allocations: 1.274 MB / 398.9 MB, free: 3.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.4193, allocations: 40.88 kB / 398.9 MB, free: 3.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.4194, allocations: 123.3 kB / 399.1 MB, free: 3.301 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.4195, allocations: 67.19 kB / 399.1 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.4196, allocations: 9.188 kB / 399.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4197, allocations: 337.1 kB / 399.5 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.42, allocations: 204.8 kB / 399.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.4203, allocations: 231.7 kB / 399.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.4207, allocations: 354.6 kB / 400.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4207, allocations: 4 kB / 400.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.4218, allocations: 0.8287 MB / 401.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.4219, allocations: 189.5 kB / 401.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.422, allocations: 0 / 401.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.422, allocations: 4 kB / 401.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.422, allocations: 3.984 kB / 401.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.422, allocations: 15.86 kB / 401.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.4223, allocations: 31.33 kB / 401.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.4224, allocations: 103.5 kB / 401.4 MB, free: 1.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,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,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,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,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,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 () * 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.0002826/0.4227, allocations: 335.1 kB / 401.7 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4229, allocations: 102.8 kB / 401.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.4231, allocations: 198 kB / 402 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4232, allocations: 0 / 402 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4232, allocations: 11.98 kB / 402 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4232, allocations: 0 / 402 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.4254, allocations: 1.828 MB / 403.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4254, allocations: 48 / 403.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.4254, allocations: 7.969 kB / 403.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4254, allocations: 7.953 kB / 403.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.4255, allocations: 27.3 kB / 403.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4255, allocations: 0 / 403.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4255, allocations: 0 / 403.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4269, allocations: 1.272 MB / 405.2 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/0.4278, allocations: 0.5978 MB / 405.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.4279, allocations: 50.03 kB / 405.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4283, allocations: 34.53 kB / 405.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.4285, allocations: 89.03 kB / 405.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.4286, allocations: 99.3 kB / 406 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001456/0.4301, allocations: 1.071 MB / 407.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4301, allocations: 4 kB / 407.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004659/0.4306, allocations: 103.6 kB / 407.2 MB, free: 12.01 MB / 298.7 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) * 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.0002489/0.4308, allocations: 173.1 kB / 407.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.432, allocations: 0.9784 MB / 408.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.432, allocations: 0 / 408.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.4328, allocations: 0.7983 MB / 409.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.4337, allocations: 209.6 kB / 409.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.4363, allocations: 1.801 MB / 411.2 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/0.4372, allocations: 1.107 MB / 412.3 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.82e-05/0.4373, allocations: 33.11 kB / 412.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.4373, allocations: 11.44 kB / 412.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4373, allocations: 4 kB / 412.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of Templates: time 0.01177/0.4491, allocations: 8.158 MB / 420.5 MB, free: 15.28 MB / 314.7 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)