Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.35e-05, allocations: 7.938 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09279, allocations: 50.41 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4615, allocations: 82.83 MB / 425.9 MB, free: 8.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4617, allocations: 66.38 kB / 426 MB, free: 8.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07444/0.5362, allocations: 27.08 MB / 453.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.5363, allocations: 0 / 453.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.5363, allocations: 8 kB / 453.1 MB, free: 14.71 MB / 346.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.001319/0.5376, allocations: 1.016 MB / 454.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5377, allocations: 12.03 kB / 454.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5379, allocations: 83.06 kB / 454.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.5386, allocations: 412.8 kB / 454.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.5387, allocations: 23.67 kB / 454.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.5388, allocations: 27.62 kB / 454.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.5398, allocations: 496.2 kB / 455.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5398, allocations: 0 / 455.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.5399, allocations: 11.98 kB / 455.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.44e-06/0.5399, allocations: 4 kB / 455.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.5407, allocations: 355.8 kB / 455.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.5426, allocations: 0.9237 MB / 456.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000818/0.5434, allocations: 0.5042 MB / 456.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007951/0.5443, allocations: 487.7 kB / 457.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.5443, allocations: 8.047 kB / 457.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.5454, allocations: 0.6225 MB / 458 MB, free: 10.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 7.139e-06/0.5454, allocations: 0 / 458 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002216/0.5476, allocations: 1.14 MB / 459.1 MB, free: 9.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002374/0.5479, allocations: 281.8 kB / 459.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.5499, allocations: 1.012 MB / 460.4 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.5501, allocations: 45.44 kB / 460.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.5502, allocations: 148.2 kB / 460.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.5504, allocations: 70.67 kB / 460.7 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.5504, allocations: 15.36 kB / 460.7 MB, free: 8.227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.5506, allocations: 337.3 kB / 461 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006713/0.5513, allocations: 352.6 kB / 461.4 MB, free: 7.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006637/0.552, allocations: 348 kB / 461.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.5527, allocations: 492.4 kB / 462.2 MB, free: 6.996 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5528, allocations: 0 / 462.2 MB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002058/0.5548, allocations: 1.098 MB / 463.3 MB, free: 6.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.5551, allocations: 249.5 kB / 463.5 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.539e-06/0.5551, allocations: 0 / 463.5 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5552, allocations: 3.938 kB / 463.5 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.527e-05/0.5552, allocations: 4 kB / 463.5 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-06/0.5552, allocations: 3.938 kB / 463.6 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000438/0.5557, allocations: 51.56 kB / 463.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.5559, allocations: 123.5 kB / 463.7 MB, free: 5.637 MB / 346.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.000516/0.5564, allocations: 402 kB / 464.1 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.5566, allocations: 91.02 kB / 464.2 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.5571, allocations: 149.8 kB / 464.3 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-06/0.5571, allocations: 0 / 464.3 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-06/0.5571, allocations: 0 / 464.3 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.54e-06/0.5571, allocations: 7.984 kB / 464.4 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.5606, allocations: 1.93 MB / 466.3 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.208e-06/0.5607, allocations: 4 kB / 466.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.5607, allocations: 4 kB / 466.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.5607, allocations: 0 / 466.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.79e-05/0.5608, allocations: 38.91 kB / 466.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.593e-06/0.5609, allocations: 0 / 466.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.167e-06/0.5609, allocations: 0 / 466.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.5633, allocations: 1.365 MB / 467.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5645, allocations: 0.5557 MB / 468.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.5647, allocations: 60.52 kB / 468.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.5652, allocations: 39.38 kB / 468.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/0.5657, allocations: 234 kB / 468.6 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/0.5659, allocations: 131.3 kB / 468.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001645/0.5676, allocations: 0.851 MB / 469.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5676, allocations: 0 / 469.6 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.5683, allocations: 119.4 kB / 469.7 MB, free: 0.5781 MB / 346.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.000317/0.5686, allocations: 183.5 kB / 469.9 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.5709, allocations: 1.514 MB / 471.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.094e-06/0.5709, allocations: 0 / 471.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.5725, allocations: 1.14 MB / 472.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.5738, allocations: 264.9 kB / 472.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.5775, allocations: 1.708 MB / 474.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5787, allocations: 1.035 MB / 475.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.5788, allocations: 37.5 kB / 475.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.5789, allocations: 15.44 kB / 475.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.642e-06/0.5789, allocations: 0 / 475.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of Templates: time 0.02523/0.6041, allocations: 12.64 MB / 488.2 MB, free: 14.06 MB / 378.7 MB