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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004245/0.004245, allocations: 174.5 kB / 7.45 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.43/1.43, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00176/0.00176, allocations: 113 kB / 217.7 MB, free: 8.148 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.107e-05, allocations: 4 kB / 261.8 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09814, allocations: 38.76 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/0.3795, allocations: 70.47 MB / 371 MB, free: 14.16 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.3799, allocations: 70.95 kB / 371 MB, free: 14.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0404/0.4203, allocations: 12.81 MB / 383.9 MB, free: 3.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.059e-05/0.4204, allocations: 12 kB / 383.9 MB, free: 3.434 MB / 266.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.001605/0.422, allocations: 1.026 MB / 384.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4221, allocations: 8.031 kB / 384.9 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.4223, allocations: 98.78 kB / 385 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.4233, allocations: 424.7 kB / 385.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.4233, allocations: 12 kB / 385.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.4234, allocations: 15.25 kB / 385.4 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004975/0.4239, allocations: 190.5 kB / 385.6 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.4247, allocations: 332 kB / 385.9 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4247, allocations: 8 kB / 386 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.4248, allocations: 4 kB / 386 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4248, allocations: 7.938 kB / 386 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.4269, allocations: 0.9536 MB / 386.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.4274, allocations: 301.9 kB / 387.2 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.428, allocations: 255.6 kB / 387.5 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.428, allocations: 4 kB / 387.5 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008063/0.4288, allocations: 0.5441 MB / 388 MB, free: 15.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.4288, allocations: 0 / 388 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001204/0.43, allocations: 0.5078 MB / 388.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.4302, allocations: 284.1 kB / 388.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.4328, allocations: 1.244 MB / 390 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/0.4329, allocations: 37.7 kB / 390.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.433, allocations: 101.7 kB / 390.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4331, allocations: 74.84 kB / 390.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.4332, allocations: 4 kB / 390.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4334, allocations: 337.7 kB / 390.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.4338, allocations: 199.9 kB / 390.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.4343, allocations: 233.2 kB / 391 MB, free: 12.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.4346, allocations: 167.2 kB / 391.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4346, allocations: 0 / 391.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001022/0.4357, allocations: 478.9 kB / 391.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4357, allocations: 4 kB / 391.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.4357, allocations: 0 / 391.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4357, allocations: 4 kB / 391.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.873e-05/0.4358, allocations: 3.188 kB / 391.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4358, allocations: 0 / 391.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.4363, allocations: 35.83 kB / 391.7 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.4364, allocations: 87.92 kB / 391.8 MB, free: 12.33 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.0003805/0.4368, allocations: 339.5 kB / 392.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.437, allocations: 99.06 kB / 392.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.4375, allocations: 204.5 kB / 392.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4375, allocations: 4 kB / 392.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4376, allocations: 7.906 kB / 392.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4376, allocations: 4 kB / 392.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/0.4402, allocations: 1.38 MB / 393.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4402, allocations: 3.938 kB / 393.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/0.4402, allocations: 4 kB / 393.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4402, allocations: 0 / 393.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.245e-05/0.4403, allocations: 33.91 kB / 393.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4403, allocations: 4 kB / 393.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.4404, allocations: 4 kB / 393.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001415/0.4418, allocations: 0.8454 MB / 394.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.4434, allocations: 0.615 MB / 395.3 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.4437, allocations: 59.28 kB / 395.4 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.4444, allocations: 27.97 kB / 395.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/0.4447, allocations: 82.33 kB / 395.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.4449, allocations: 99.78 kB / 395.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.002061/0.4469, allocations: 1.039 MB / 396.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007967/0.4477, allocations: 92 kB / 396.7 MB, free: 7.984 MB / 282.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.0003297/0.4481, allocations: 179.1 kB / 396.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4492, allocations: 0.6353 MB / 397.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4492, allocations: 0 / 397.5 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008581/0.4501, allocations: 0.6321 MB / 398.1 MB, free: 6.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.4515, allocations: 197 kB / 398.3 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.456, allocations: 1.812 MB / 400.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/0.4574, allocations: 1.122 MB / 401.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4574, allocations: 0 / 401.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of Templates: time 0.01882/0.4763, allocations: 7.649 MB / 408.9 MB, free: 12.25 MB / 298.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)