Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") [: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.005613/0.005613, allocations: 175.9 kB / 7.445 MB, free: 2.316 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.269/1.269, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001855/0.001855, allocations: 112.6 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.524e-06, allocations: 4 kB / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08974, allocations: 38.77 MB / 300.5 MB, free: 3.906 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/0.3639, allocations: 71.68 MB / 372.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.3642, allocations: 70.95 kB / 372.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.06494/0.4292, allocations: 32.47 MB / 404.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.4293, allocations: 12 kB / 404.7 MB, free: 2.766 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001251/0.4305, allocations: 1.006 MB / 405.7 MB, free: 1.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.4306, allocations: 12.03 kB / 405.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.4308, allocations: 86.97 kB / 405.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.4316, allocations: 414.8 kB / 406.2 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.4316, allocations: 19.23 kB / 406.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.4317, allocations: 20 kB / 406.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006729/0.4324, allocations: 352.1 kB / 406.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.4332, allocations: 479.5 kB / 407.1 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4332, allocations: 4 kB / 407.1 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.4333, allocations: 11.98 kB / 407.1 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4333, allocations: 4 kB / 407.1 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4352, allocations: 0.9147 MB / 408 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.4359, allocations: 494.6 kB / 408.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/0.4367, allocations: 484.9 kB / 409 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.4367, allocations: 0 / 409 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009651/0.4377, allocations: 0.5838 MB / 409.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 5.72e-06/0.4377, allocations: 3.984 kB / 409.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001553/0.4393, allocations: 0.7346 MB / 410.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002729/0.4396, allocations: 275.3 kB / 410.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.4411, allocations: 0.9878 MB / 411.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.4412, allocations: 41.7 kB / 411.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.4413, allocations: 110 kB / 411.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.4414, allocations: 75.11 kB / 411.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.4415, allocations: 8 kB / 411.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.4417, allocations: 338.8 kB / 412.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/0.4422, allocations: 351.8 kB / 412.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.4427, allocations: 339.6 kB / 412.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.4431, allocations: 231.9 kB / 413 MB, free: 10.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4431, allocations: 0 / 413 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001079/0.4442, allocations: 0.6997 MB / 413.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4442, allocations: 7.984 kB / 413.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4442, allocations: 0 / 413.7 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.4442, allocations: 4 kB / 413.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.781e-05/0.4443, allocations: 4 kB / 413.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.4443, allocations: 3.906 kB / 413.7 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.4447, allocations: 35.97 kB / 413.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.4448, allocations: 115.9 kB / 413.9 MB, free: 9.43 MB / 298.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.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.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.0004548/0.4453, allocations: 409.9 kB / 414.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.4454, allocations: 87.05 kB / 414.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4458, allocations: 143.5 kB / 414.5 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4458, allocations: 4 kB / 414.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4458, allocations: 4 kB / 414.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4459, allocations: 7.891 kB / 414.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.4479, allocations: 1.435 MB / 416 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4479, allocations: 0 / 416 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.4479, allocations: 4 kB / 416 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4479, allocations: 0 / 416 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/0.448, allocations: 35.97 kB / 416 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.448, allocations: 4 kB / 416 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.448, allocations: 3.984 kB / 416 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001217/0.4492, allocations: 0.912 MB / 416.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/0.4502, allocations: 0.566 MB / 417.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.4504, allocations: 63.95 kB / 417.6 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.4508, allocations: 35.88 kB / 417.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/0.4512, allocations: 239.8 kB / 417.8 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.4514, allocations: 131.9 kB / 418 MB, free: 5.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.001115/0.4525, allocations: 0.8148 MB / 418.8 MB, free: 4.414 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.4529, allocations: 104 kB / 418.9 MB, free: 4.312 MB / 298.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,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.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.0002666/0.4532, allocations: 180.5 kB / 419 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4546, allocations: 1.07 MB / 420.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4546, allocations: 0 / 420.1 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.4557, allocations: 0.945 MB / 421.1 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4568, allocations: 251.3 kB / 421.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.4596, allocations: 1.681 MB / 423 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008216/0.4604, allocations: 1.053 MB / 424 MB, free: 14.99 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4604, allocations: 0 / 424 MB, free: 14.99 MB / 314.7 MB Notification: Performance of Templates: time 0.01825/0.4787, allocations: 12.13 MB / 436.2 MB, free: 2.586 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1)