Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") [: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.2+maint.om/package.mo): time 0.001879/0.00188, allocations: 190.9 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.114/1.114, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001834/0.001834, allocations: 113.5 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.385e-06, allocations: 4 kB / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07687, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.2825, allocations: 76.96 MB / 419 MB, free: 18.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000176/0.2828, allocations: 68.12 kB / 419.1 MB, free: 18.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04556/0.3283, allocations: 26.08 MB / 445.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.3284, allocations: 8 kB / 445.2 MB, free: 13.26 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001001/0.3294, allocations: 1.013 MB / 446.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3295, allocations: 8.031 kB / 446.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3296, allocations: 86.97 kB / 446.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.3302, allocations: 425.8 kB / 446.7 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.3303, allocations: 19.42 kB / 446.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.3304, allocations: 23.94 kB / 446.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005352/0.3309, allocations: 348.5 kB / 447.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.3316, allocations: 0.4923 MB / 447.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3316, allocations: 0 / 447.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.3317, allocations: 8 kB / 447.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3317, allocations: 4 kB / 447.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3332, allocations: 0.9128 MB / 448.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.3337, allocations: 0.4924 MB / 449 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.3342, allocations: 488.7 kB / 449.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.3343, allocations: 0 / 449.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.3349, allocations: 0.5913 MB / 450 MB, free: 9.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.3349, allocations: 0 / 450 MB, free: 9.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001034/0.3359, allocations: 0.7408 MB / 450.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.3361, allocations: 290.7 kB / 451.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3373, allocations: 0.9876 MB / 452.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.3373, allocations: 44.88 kB / 452.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.3374, allocations: 115.5 kB / 452.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/0.3375, allocations: 76.58 kB / 452.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.3376, allocations: 11.12 kB / 452.3 MB, free: 7.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3377, allocations: 343.8 kB / 452.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.3382, allocations: 339.5 kB / 453 MB, free: 6.656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.3386, allocations: 343.2 kB / 453.3 MB, free: 6.426 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.339, allocations: 252.4 kB / 453.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.339, allocations: 0 / 453.5 MB, free: 6.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001012/0.34, allocations: 0.7182 MB / 454.3 MB, free: 5.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.34, allocations: 4 kB / 454.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.34, allocations: 0 / 454.3 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.34, allocations: 4 kB / 454.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.426e-05/0.3401, allocations: 7.984 kB / 454.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.3401, allocations: 0 / 454.3 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.3404, allocations: 31.88 kB / 454.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3406, allocations: 128.9 kB / 454.4 MB, free: 5.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.000339/0.3409, allocations: 405.4 kB / 454.8 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.341, allocations: 90.97 kB / 454.9 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.3413, allocations: 148.1 kB / 455.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3413, allocations: 0 / 455.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3413, allocations: 0 / 455.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3413, allocations: 4 kB / 455.1 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.3431, allocations: 1.459 MB / 456.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3432, allocations: 0 / 456.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.3432, allocations: 0 / 456.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3432, allocations: 4 kB / 456.5 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.3433, allocations: 35.67 kB / 456.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3433, allocations: 0 / 456.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3433, allocations: 7.891 kB / 456.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001128/0.3444, allocations: 0.9284 MB / 457.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.3453, allocations: 0.573 MB / 458.1 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.3455, allocations: 55.53 kB / 458.1 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.3458, allocations: 43.83 kB / 458.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004043/0.3462, allocations: 241.4 kB / 458.4 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.3464, allocations: 130.3 kB / 458.5 MB, free: 2.105 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009993/0.3474, allocations: 0.8211 MB / 459.4 MB, free: 1.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004666/0.3478, allocations: 104 kB / 459.5 MB, free: 1.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0002365/0.3481, allocations: 188.4 kB / 459.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3494, allocations: 1.074 MB / 460.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3494, allocations: 0 / 460.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.3503, allocations: 0.9528 MB / 461.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3513, allocations: 245.4 kB / 461.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.3541, allocations: 1.717 MB / 463.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/0.3548, allocations: 1.045 MB / 464.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3548, allocations: 0 / 464.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of Templates: time 0.01629/0.3711, allocations: 12.15 MB / 476.8 MB, free: 15.55 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1)