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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 205.8 MB / 218.9 MB, free: 9.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.739e-05, allocations: 0 / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08563/0.08569, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.429, allocations: 82.3 MB / 399.2 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4293, allocations: 64.84 kB / 399.3 MB, free: 5.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1267/0.556, allocations: 38.79 MB / 438.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.739e-06/0.5561, allocations: 0 / 438.1 MB, free: 5.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.62e-05/0.5562, allocations: 20 kB / 438.1 MB, free: 4.996 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002921/0.5591, allocations: 1.307 MB / 439.4 MB, free: 3.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.5592, allocations: 12.03 kB / 439.4 MB, free: 3.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.5597, allocations: 130.4 kB / 439.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.5614, allocations: 0.518 MB / 440.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.5615, allocations: 23 kB / 440.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.5617, allocations: 27.56 kB / 440.1 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.564, allocations: 0.619 MB / 440.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.564, allocations: 0 / 440.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.5642, allocations: 15.31 kB / 440.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-06/0.5642, allocations: 0 / 440.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.5659, allocations: 465.8 kB / 441.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/0.5702, allocations: 1.181 MB / 442.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.5723, allocations: 0.6874 MB / 443.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.5742, allocations: 0.6874 MB / 443.8 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5742, allocations: 3.938 kB / 443.8 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.5765, allocations: 0.7439 MB / 444.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 6.608e-06/0.5765, allocations: 0 / 444.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004917/0.5815, allocations: 1.414 MB / 445.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004338/0.5819, allocations: 329 kB / 446.2 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/0.5881, allocations: 1.623 MB / 447.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002692/0.5884, allocations: 45.64 kB / 447.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.589, allocations: 246.3 kB / 448.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.5893, allocations: 75.16 kB / 448.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.5895, allocations: 12 kB / 448.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003946/0.5899, allocations: 378.7 kB / 448.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.5916, allocations: 455.8 kB / 449 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.5932, allocations: 455.5 kB / 449.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.5948, allocations: 0.5834 MB / 450.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.653e-06/0.5948, allocations: 0 / 450.1 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0046/0.5994, allocations: 1.345 MB / 451.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.5999, allocations: 297.5 kB / 451.7 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6, allocations: 3.938 kB / 451.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6, allocations: 0 / 451.7 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.13e-05/0.6001, allocations: 4 kB / 451.7 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.6001, allocations: 3.953 kB / 451.7 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6012, allocations: 43.88 kB / 451.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.6016, allocations: 124.2 kB / 451.9 MB, free: 8.156 MB / 362.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.0009195/0.6025, allocations: 467.6 kB / 452.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/0.603, allocations: 130.5 kB / 452.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.6042, allocations: 252 kB / 452.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.675e-06/0.6043, allocations: 0 / 452.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6043, allocations: 0 / 452.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6043, allocations: 3.953 kB / 452.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007989/0.6123, allocations: 2.411 MB / 455.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.6124, allocations: 0 / 455.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.6124, allocations: 3.938 kB / 455.1 MB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.6125, allocations: 4 kB / 455.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.6127, allocations: 31.98 kB / 455.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.996e-06/0.6127, allocations: 0 / 455.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-06/0.6127, allocations: 3.953 kB / 455.2 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/0.6181, allocations: 1.634 MB / 456.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/0.621, allocations: 0.6785 MB / 457.5 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.6215, allocations: 59.97 kB / 457.5 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.6224, allocations: 39.95 kB / 457.6 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00144/0.6239, allocations: 379.6 kB / 458 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003654/0.6243, allocations: 131.9 kB / 458.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005143/0.6295, allocations: 1.335 MB / 459.4 MB, free: 360 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.676e-06/0.6295, allocations: 0 / 459.4 MB, free: 360 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001454/0.631, allocations: 152 kB / 459.6 MB, free: 208 kB / 362.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.0005599/0.6316, allocations: 185.7 kB / 459.7 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004935/0.6366, allocations: 1.92 MB / 461.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.104e-06/0.6366, allocations: 0 / 461.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003001/0.6396, allocations: 1.429 MB / 463.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.6411, allocations: 290.7 kB / 463.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.6466, allocations: 2.513 MB / 465.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.6483, allocations: 1.227 MB / 467.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.6485, allocations: 41.48 kB / 467.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.6486, allocations: 15.44 kB / 467.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.704e-06/0.6486, allocations: 0 / 467.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Templates: time 0.03146/0.68, allocations: 15.22 MB / 482.4 MB, free: 8.766 MB / 394.7 MB