Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.891e-05, allocations: 3.984 kB / 292.1 MB, free: 8.883 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09232, allocations: 50.42 MB / 342.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.4935, allocations: 83.14 MB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4938, allocations: 69.34 kB / 425.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08577/0.5796, allocations: 27.09 MB / 452.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5796, allocations: 0 / 452.8 MB, free: 4.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.5796, allocations: 8 kB / 452.8 MB, free: 4.402 MB / 362.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.001391/0.581, allocations: 1.006 MB / 453.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5811, allocations: 16.02 kB / 453.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.5813, allocations: 90.97 kB / 454 MB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.5821, allocations: 405.8 kB / 454.4 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.5822, allocations: 15.94 kB / 454.4 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.5823, allocations: 27.73 kB / 454.4 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.5833, allocations: 0.4927 MB / 454.9 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.864e-06/0.5834, allocations: 0 / 454.9 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.5835, allocations: 11.75 kB / 454.9 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.702e-06/0.5835, allocations: 4 kB / 454.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.5842, allocations: 357.6 kB / 455.3 MB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.5862, allocations: 0.9237 MB / 456.2 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009047/0.5871, allocations: 0.4964 MB / 456.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008457/0.588, allocations: 496.9 kB / 457.2 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.588, allocations: 4.047 kB / 457.2 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.5891, allocations: 0.6266 MB / 457.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.271e-06/0.5892, allocations: 0 / 457.8 MB, free: 15.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002336/0.5915, allocations: 1.141 MB / 458.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002439/0.5918, allocations: 283.3 kB / 459.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.5941, allocations: 1.015 MB / 460.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.5943, allocations: 41.7 kB / 460.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.5944, allocations: 200.3 kB / 460.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5946, allocations: 67.25 kB / 460.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.5947, allocations: 12 kB / 460.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5949, allocations: 322.8 kB / 460.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.5956, allocations: 343.8 kB / 461.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.5963, allocations: 347.8 kB / 461.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.5971, allocations: 496.8 kB / 462 MB, free: 11.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-06/0.5971, allocations: 0 / 462 MB, free: 11.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002136/0.5993, allocations: 1.087 MB / 463.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000267/0.5996, allocations: 243.8 kB / 463.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5996, allocations: 0 / 463.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5996, allocations: 7.938 kB / 463.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.5996, allocations: 0 / 463.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5997, allocations: 4 kB / 463.3 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.6001, allocations: 47.91 kB / 463.4 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.6004, allocations: 123.9 kB / 463.5 MB, free: 9.734 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.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.0005314/0.6009, allocations: 406 kB / 463.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6011, allocations: 90.92 kB / 464 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.6016, allocations: 147.7 kB / 464.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.805e-06/0.6016, allocations: 0 / 464.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6017, allocations: 3.984 kB / 464.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.291e-06/0.6017, allocations: 4 kB / 464.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003657/0.6053, allocations: 1.931 MB / 466.1 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.37e-06/0.6054, allocations: 4 kB / 466.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.6054, allocations: 0 / 466.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.6054, allocations: 0 / 466.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/0.6055, allocations: 35.97 kB / 466.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.774e-06/0.6056, allocations: 0 / 466.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.4e-06/0.6056, allocations: 0 / 466.1 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/0.6082, allocations: 1.373 MB / 467.5 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.6096, allocations: 0.5543 MB / 468 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.6098, allocations: 63.95 kB / 468.1 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.6103, allocations: 31.97 kB / 468.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005442/0.6109, allocations: 227.8 kB / 468.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000222/0.6111, allocations: 135.9 kB / 468.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001813/0.6129, allocations: 0.85 MB / 469.3 MB, free: 3.672 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.6129, allocations: 4 kB / 469.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007124/0.6137, allocations: 120 kB / 469.5 MB, free: 3.551 MB / 378.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.0003399/0.614, allocations: 185.4 kB / 469.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.6165, allocations: 1.515 MB / 471.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.423e-06/0.6165, allocations: 0 / 471.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.6181, allocations: 1.136 MB / 472.3 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6194, allocations: 257.2 kB / 472.6 MB, free: 300 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.6234, allocations: 1.796 MB / 474.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.6245, allocations: 1.035 MB / 475.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.6246, allocations: 19.44 kB / 475.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6246, allocations: 0 / 475.4 MB, free: 13.38 MB / 394.7 MB Notification: Performance of Templates: time 0.0133/0.6379, allocations: 7.487 MB / 482.9 MB, free: 5.785 MB / 394.7 MB