Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.206e-05, allocations: 0 / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09277/0.09283, allocations: 50.42 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.4928, allocations: 83.18 MB / 425.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4931, allocations: 70.47 kB / 425.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/0.6003, allocations: 33.74 MB / 459.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.408e-06/0.6003, allocations: 0 / 459.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.6004, allocations: 12 kB / 459.5 MB, free: 14.14 MB / 378.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.001313/0.6017, allocations: 1.008 MB / 460.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6017, allocations: 12.02 kB / 460.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.6019, allocations: 90.97 kB / 460.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.6027, allocations: 407.7 kB / 461 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.477e-05/0.6028, allocations: 16 kB / 461.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.6029, allocations: 27.98 kB / 461.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.6039, allocations: 498.2 kB / 461.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.604, allocations: 4 kB / 461.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6041, allocations: 12 kB / 461.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.6041, allocations: 7.922 kB / 461.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.6048, allocations: 352.2 kB / 461.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.6069, allocations: 0.9338 MB / 462.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.6078, allocations: 0.4987 MB / 463.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008416/0.6086, allocations: 492.9 kB / 463.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.6087, allocations: 0 / 463.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.6098, allocations: 0.6267 MB / 464.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 5.69e-06/0.6098, allocations: 0 / 464.5 MB, free: 8.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002303/0.6121, allocations: 1.141 MB / 465.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002451/0.6124, allocations: 287.3 kB / 465.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.6144, allocations: 1.015 MB / 466.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.6145, allocations: 41.7 kB / 467 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.6147, allocations: 196.4 kB / 467.2 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.6149, allocations: 75.2 kB / 467.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.6149, allocations: 12 kB / 467.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6151, allocations: 322.8 kB / 467.6 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/0.6158, allocations: 343.8 kB / 467.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.6165, allocations: 347.8 kB / 468.2 MB, free: 5.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.6173, allocations: 492.9 kB / 468.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-06/0.6173, allocations: 0 / 468.7 MB, free: 4.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002105/0.6194, allocations: 1.075 MB / 469.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.6197, allocations: 251.8 kB / 470 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.755e-06/0.6197, allocations: 0 / 470 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6198, allocations: 3.984 kB / 470 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.6198, allocations: 4 kB / 470 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.03e-06/0.6198, allocations: 3.938 kB / 470 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.6203, allocations: 47.81 kB / 470.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002099/0.6205, allocations: 127.9 kB / 470.2 MB, free: 2.949 MB / 378.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.0005082/0.6211, allocations: 402.1 kB / 470.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.6213, allocations: 90.97 kB / 470.7 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.6217, allocations: 151.6 kB / 470.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.6217, allocations: 0 / 470.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.567e-06/0.6218, allocations: 3.984 kB / 470.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.875e-06/0.6218, allocations: 0 / 470.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.6253, allocations: 1.934 MB / 472.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-06/0.6254, allocations: 0 / 472.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.6254, allocations: 4 kB / 472.8 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-06/0.6254, allocations: 3.953 kB / 472.8 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.6256, allocations: 35.97 kB / 472.8 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.949e-06/0.6256, allocations: 0 / 472.8 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6256, allocations: 0 / 472.8 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.6282, allocations: 1.365 MB / 474.2 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.6295, allocations: 0.5581 MB / 474.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.6297, allocations: 63.91 kB / 474.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/0.6302, allocations: 35.97 kB / 474.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005374/0.6307, allocations: 227.8 kB / 475.1 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/0.631, allocations: 128 kB / 475.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.6327, allocations: 0.8539 MB / 476 MB, free: 12.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6327, allocations: 0 / 476 MB, free: 12.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006641/0.6334, allocations: 124 kB / 476.2 MB, free: 12.76 MB / 394.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.0003309/0.6337, allocations: 185.4 kB / 476.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.6361, allocations: 1.515 MB / 477.9 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.441e-06/0.6361, allocations: 0 / 477.9 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.6377, allocations: 1.136 MB / 479 MB, free: 9.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.639, allocations: 261.6 kB / 479.3 MB, free: 9.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.6428, allocations: 1.788 MB / 481 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.644, allocations: 1.031 MB / 482.1 MB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.644, allocations: 15.44 kB / 482.1 MB, free: 6.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.883e-06/0.644, allocations: 0 / 482.1 MB, free: 6.59 MB / 394.7 MB Notification: Performance of Templates: time 0.0139/0.658, allocations: 7.51 MB / 489.6 MB, free: 14.98 MB / 410.7 MB