Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.003e-05, allocations: 4 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.0899, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4487, allocations: 83.44 MB / 426 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4489, allocations: 66.95 kB / 426.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1196/0.5686, allocations: 39.13 MB / 465.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.5686, allocations: 0 / 465.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.161e-05/0.5687, allocations: 16 kB / 465.2 MB, free: 8.164 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001857/0.5705, allocations: 1.323 MB / 466.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5706, allocations: 12.03 kB / 466.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.5709, allocations: 134.4 kB / 466.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009363/0.5718, allocations: 0.5094 MB / 467.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.5719, allocations: 20 kB / 467.2 MB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.572, allocations: 35.98 kB / 467.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.5734, allocations: 0.6066 MB / 467.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5734, allocations: 0 / 467.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.5735, allocations: 16 kB / 467.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.5735, allocations: 7.875 kB / 467.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.5745, allocations: 471.7 kB / 468.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.5771, allocations: 1.182 MB / 469.5 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.5783, allocations: 0.6859 MB / 470.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.5795, allocations: 0.6827 MB / 470.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5795, allocations: 0 / 470.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.5809, allocations: 0.7416 MB / 471.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.251e-06/0.5809, allocations: 0 / 471.6 MB, free: 1.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002775/0.5837, allocations: 1.414 MB / 473 MB, free: 20 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003039/0.584, allocations: 333 kB / 473.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.5876, allocations: 1.619 MB / 475 MB, free: 14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.5878, allocations: 41.7 kB / 475 MB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003567/0.5882, allocations: 250.3 kB / 475.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.5884, allocations: 75.16 kB / 475.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/0.5884, allocations: 16 kB / 475.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.5888, allocations: 390.7 kB / 475.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.5897, allocations: 451.8 kB / 476.2 MB, free: 12.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008993/0.5906, allocations: 451.8 kB / 476.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.5916, allocations: 0.5795 MB / 477.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.692e-06/0.5916, allocations: 4 kB / 477.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002602/0.5942, allocations: 1.334 MB / 478.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.5945, allocations: 297.5 kB / 478.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5946, allocations: 0 / 478.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.5946, allocations: 0 / 478.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.025e-05/0.5946, allocations: 4 kB / 478.8 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.75e-06/0.5946, allocations: 0 / 478.8 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.5952, allocations: 51.89 kB / 478.9 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.5954, allocations: 132.2 kB / 479 MB, free: 9.793 MB / 394.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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.0005856/0.596, allocations: 459.7 kB / 479.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/0.5963, allocations: 138.4 kB / 479.6 MB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007823/0.5971, allocations: 252 kB / 479.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-06/0.5971, allocations: 0 / 479.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.267e-06/0.5971, allocations: 3.984 kB / 479.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-06/0.5971, allocations: 0 / 479.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.6018, allocations: 2.407 MB / 482.2 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.032e-06/0.6019, allocations: 4 kB / 482.2 MB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.6019, allocations: 4 kB / 482.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.85e-06/0.6019, allocations: 0 / 482.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.602, allocations: 35.98 kB / 482.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.602, allocations: 0 / 482.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.6021, allocations: 0 / 482.3 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.6051, allocations: 1.641 MB / 483.9 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/0.6068, allocations: 0.6785 MB / 484.6 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.6071, allocations: 63.95 kB / 484.7 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/0.6076, allocations: 47.88 kB / 484.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008124/0.6084, allocations: 375.6 kB / 485.1 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/0.6087, allocations: 127.9 kB / 485.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002939/0.6116, allocations: 1.332 MB / 486.5 MB, free: 1.984 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.151e-06/0.6116, allocations: 0 / 486.5 MB, free: 1.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007452/0.6124, allocations: 148 kB / 486.7 MB, free: 1.84 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.0004456/0.6129, allocations: 193.7 kB / 486.9 MB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006078/0.619, allocations: 1.913 MB / 488.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.369e-06/0.619, allocations: 0 / 488.8 MB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003647/0.6227, allocations: 1.432 MB / 490.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/0.6255, allocations: 311.4 kB / 490.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6357, allocations: 2.513 MB / 493 MB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/0.6387, allocations: 1.227 MB / 494.3 MB, free: 10 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.6391, allocations: 38 kB / 494.3 MB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.6392, allocations: 19.44 kB / 494.3 MB, free: 9.941 MB / 410.7 MB Notification: Performance of SimCode: time 2.497e-06/0.6392, allocations: 0 / 494.3 MB, free: 9.941 MB / 410.7 MB Notification: Performance of Templates: time 0.05541/0.6946, allocations: 15.2 MB / 0.4976 GB, free: 10.46 MB / 426.7 MB