Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 2.199/2.199, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.549e-05, allocations: 4 kB / 292.7 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08893/0.08898, allocations: 50.43 MB / 343.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.4952, allocations: 83.11 MB / 426.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.4956, allocations: 66.78 kB / 426.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.6214, allocations: 33.75 MB / 460 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6215, allocations: 0 / 460 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.846e-05/0.6215, allocations: 8 kB / 460 MB, free: 13.87 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.001358/0.6229, allocations: 1 MB / 461 MB, free: 12.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6229, allocations: 12.03 kB / 461 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.6231, allocations: 86.97 kB / 461.1 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.6239, allocations: 411.7 kB / 461.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.624, allocations: 16 kB / 461.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.154e-05/0.6241, allocations: 27.94 kB / 461.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6252, allocations: 0.4904 MB / 462.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.595e-06/0.6252, allocations: 0 / 462.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.6253, allocations: 12 kB / 462.1 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.178e-06/0.6253, allocations: 7.938 kB / 462.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.6261, allocations: 356.1 kB / 462.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.6281, allocations: 0.9338 MB / 463.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.6291, allocations: 0.4948 MB / 463.8 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008453/0.63, allocations: 492.9 kB / 464.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.63, allocations: 4 kB / 464.3 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/0.6313, allocations: 0.6344 MB / 465 MB, free: 8.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 5.732e-06/0.6314, allocations: 0 / 465 MB, free: 8.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.003902/0.6353, allocations: 1.137 MB / 466.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003458/0.6357, allocations: 283.3 kB / 466.4 MB, free: 7.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.6394, allocations: 1.019 MB / 467.4 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.6396, allocations: 41.7 kB / 467.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6399, allocations: 146 kB / 467.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.6401, allocations: 71.22 kB / 467.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.6402, allocations: 12 kB / 467.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/0.6405, allocations: 342.8 kB / 468 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.6418, allocations: 339.8 kB / 468.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.6431, allocations: 347.8 kB / 468.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6443, allocations: 488.9 kB / 469.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.264e-06/0.6444, allocations: 4 kB / 469.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003674/0.6481, allocations: 1.094 MB / 470.2 MB, free: 3.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003825/0.6485, allocations: 251.8 kB / 470.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.433e-06/0.6485, allocations: 0 / 470.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6485, allocations: 0 / 470.5 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.6486, allocations: 4 kB / 470.5 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.6486, allocations: 3.938 kB / 470.5 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.6494, allocations: 35.97 kB / 470.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.6499, allocations: 123.9 kB / 470.7 MB, free: 2.711 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.0008195/0.6507, allocations: 414.7 kB / 471.1 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.651, allocations: 90.97 kB / 471.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.6517, allocations: 151.6 kB / 471.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.6518, allocations: 8 kB / 471.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-06/0.6518, allocations: 0 / 471.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-06/0.6518, allocations: 0 / 471.3 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.663, allocations: 1.938 MB / 473.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.663, allocations: 0 / 473.2 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.6631, allocations: 4 kB / 473.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-05/0.6632, allocations: 7.953 kB / 473.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.6635, allocations: 31.98 kB / 473.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.297e-06/0.6635, allocations: 0 / 473.3 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/0.6635, allocations: 3.984 kB / 473.3 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005382/0.6689, allocations: 1.353 MB / 474.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/0.6715, allocations: 0.5621 MB / 475.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.672, allocations: 59.92 kB / 475.3 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.6729, allocations: 35.95 kB / 475.3 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/0.674, allocations: 235.7 kB / 475.5 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003982/0.6744, allocations: 124 kB / 475.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003095/0.6776, allocations: 0.85 MB / 476.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.109e-06/0.6776, allocations: 0 / 476.5 MB, free: 12.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000771/0.6784, allocations: 120 kB / 476.6 MB, free: 12.52 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.0003428/0.6787, allocations: 188.4 kB / 476.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.6812, allocations: 1.523 MB / 478.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.405e-06/0.6812, allocations: 0 / 478.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.6828, allocations: 1.136 MB / 479.5 MB, free: 9.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.6841, allocations: 247.7 kB / 479.7 MB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.6879, allocations: 1.708 MB / 481.4 MB, free: 7.512 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.6891, allocations: 1.039 MB / 482.5 MB, free: 6.441 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.6893, allocations: 41.5 kB / 482.5 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.6893, allocations: 15.44 kB / 482.5 MB, free: 6.387 MB / 394.7 MB Notification: Performance of SimCode: time 2.057e-06/0.6893, allocations: 0 / 482.5 MB, free: 6.387 MB / 394.7 MB Notification: Performance of Templates: time 0.02564/0.715, allocations: 12.64 MB / 495.1 MB, free: 9.574 MB / 410.7 MB