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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.87e-05, allocations: 6.031 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09155, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4508, allocations: 83.44 MB / 426.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4511, allocations: 69.52 kB / 426.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.5721, allocations: 39.14 MB / 465.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.5721, allocations: 0 / 465.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-05/0.5722, allocations: 12 kB / 465.7 MB, free: 8.215 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.001806/0.574, allocations: 1.323 MB / 467.1 MB, free: 6.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5741, allocations: 8.031 kB / 467.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.5743, allocations: 138.4 kB / 467.2 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009152/0.5753, allocations: 0.5095 MB / 467.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.5753, allocations: 16 kB / 467.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5755, allocations: 35.98 kB / 467.8 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.5768, allocations: 0.6066 MB / 468.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5768, allocations: 3.938 kB / 468.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.5769, allocations: 19.94 kB / 468.4 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-06/0.5769, allocations: 7.984 kB / 468.4 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.5779, allocations: 471.7 kB / 468.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.5805, allocations: 1.17 MB / 470 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.5817, allocations: 0.6936 MB / 470.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.5828, allocations: 0.6764 MB / 471.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5829, allocations: 0 / 471.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.5843, allocations: 0.7416 MB / 472.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 4.19e-06/0.5843, allocations: 0 / 472.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002799/0.5871, allocations: 1.414 MB / 473.6 MB, free: 76 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003029/0.5875, allocations: 325 kB / 473.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.5912, allocations: 1.627 MB / 475.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.5913, allocations: 41.7 kB / 475.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.5917, allocations: 246.4 kB / 475.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.5919, allocations: 83.14 kB / 475.9 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.592, allocations: 15.98 kB / 475.9 MB, free: 13.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.5923, allocations: 386.7 kB / 476.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009129/0.5932, allocations: 455.7 kB / 476.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.5941, allocations: 455.8 kB / 477.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.595, allocations: 0.5755 MB / 477.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.756e-06/0.5951, allocations: 0 / 477.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002627/0.5977, allocations: 1.346 MB / 479.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.598, allocations: 289.5 kB / 479.3 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.106e-06/0.598, allocations: 4 kB / 479.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5981, allocations: 4 kB / 479.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.627e-05/0.5981, allocations: 0 / 479.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5981, allocations: 3.984 kB / 479.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.5987, allocations: 43.91 kB / 479.4 MB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/0.5989, allocations: 136.2 kB / 479.5 MB, free: 9.84 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.0005872/0.5995, allocations: 455.7 kB / 480 MB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.5998, allocations: 134.4 kB / 480.1 MB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.6006, allocations: 252 kB / 480.4 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.059e-06/0.6006, allocations: 3.984 kB / 480.4 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.683e-06/0.6006, allocations: 4 kB / 480.4 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-06/0.6006, allocations: 0 / 480.4 MB, free: 8.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004732/0.6054, allocations: 2.407 MB / 482.8 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.398e-06/0.6054, allocations: 4 kB / 482.8 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/0.6055, allocations: 0 / 482.8 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.937e-06/0.6055, allocations: 0 / 482.8 MB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.6056, allocations: 35.98 kB / 482.8 MB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.236e-06/0.6056, allocations: 4 kB / 482.8 MB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.724e-06/0.6056, allocations: 3.984 kB / 482.8 MB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/0.6091, allocations: 1.641 MB / 484.5 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/0.6107, allocations: 0.6747 MB / 485.1 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.611, allocations: 59.95 kB / 485.2 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.6115, allocations: 43.88 kB / 485.2 MB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008532/0.6124, allocations: 371.6 kB / 485.6 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/0.6126, allocations: 131.9 kB / 485.7 MB, free: 3.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002981/0.6156, allocations: 1.335 MB / 487.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.27e-07/0.6157, allocations: 0 / 487.1 MB, free: 2.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007687/0.6164, allocations: 152 kB / 487.2 MB, free: 1.895 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.0003435/0.6168, allocations: 189.7 kB / 487.4 MB, free: 1.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.6198, allocations: 1.917 MB / 489.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.445e-06/0.6198, allocations: 0 / 489.3 MB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.6218, allocations: 1.432 MB / 490.7 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.6231, allocations: 308.5 kB / 491 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.6286, allocations: 2.513 MB / 493.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/0.6302, allocations: 1.231 MB / 494.8 MB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.6304, allocations: 33.5 kB / 494.8 MB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.6305, allocations: 19.44 kB / 494.8 MB, free: 9.992 MB / 410.7 MB Notification: Performance of SimCode: time 1.758e-06/0.6305, allocations: 0 / 494.8 MB, free: 9.992 MB / 410.7 MB Notification: Performance of Templates: time 0.03151/0.662, allocations: 15.2 MB / 0.4981 GB, free: 10.52 MB / 426.7 MB