Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.116e-05/5.141e-05, allocations: 0 / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09111, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4334, allocations: 82.25 MB / 399.2 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4336, allocations: 66.97 kB / 399.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09464/0.5283, allocations: 30.77 MB / 430 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.222e-06/0.5283, allocations: 4 kB / 430 MB, free: 11.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.137e-05/0.5284, allocations: 16 kB / 430 MB, free: 11.96 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.001849/0.5303, allocations: 1.319 MB / 431.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.5303, allocations: 12.03 kB / 431.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002827/0.5306, allocations: 134.4 kB / 431.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009351/0.5316, allocations: 0.5055 MB / 432 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.5316, allocations: 23.56 kB / 432 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.5318, allocations: 31.8 kB / 432.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5331, allocations: 0.6152 MB / 432.7 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.5331, allocations: 7.938 kB / 432.7 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.5332, allocations: 11.25 kB / 432.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-06/0.5332, allocations: 4 kB / 432.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.5341, allocations: 477.6 kB / 433.2 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.5367, allocations: 1.18 MB / 434.3 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.5379, allocations: 0.691 MB / 435 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.5389, allocations: 0.6785 MB / 435.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.5389, allocations: 0 / 435.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/0.5403, allocations: 0.7444 MB / 436.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.365e-06/0.5403, allocations: 0 / 436.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002681/0.543, allocations: 1.407 MB / 437.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002872/0.5433, allocations: 330.5 kB / 438.2 MB, free: 5.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003584/0.5469, allocations: 1.619 MB / 439.8 MB, free: 3.805 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.5471, allocations: 40.7 kB / 439.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.5475, allocations: 253.6 kB / 440.1 MB, free: 3.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.5477, allocations: 78.2 kB / 440.2 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.5478, allocations: 15.98 kB / 440.2 MB, free: 3.523 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002806/0.5481, allocations: 384.6 kB / 440.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008664/0.5489, allocations: 451.4 kB / 441 MB, free: 2.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.5498, allocations: 452.8 kB / 441.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/0.5507, allocations: 0.5882 MB / 442 MB, free: 2.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5507, allocations: 0 / 442 MB, free: 2.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00268/0.5534, allocations: 1.336 MB / 443.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.5537, allocations: 297.5 kB / 443.7 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.5538, allocations: 3.984 kB / 443.7 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.5538, allocations: 4 kB / 443.7 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.5538, allocations: 11.92 kB / 443.7 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.552e-06/0.5538, allocations: 0 / 443.7 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.5544, allocations: 39.97 kB / 443.7 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.5546, allocations: 124.2 kB / 443.8 MB, free: 244 kB / 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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.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.0006078/0.5552, allocations: 463.7 kB / 444.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.5555, allocations: 134.4 kB / 444.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.5563, allocations: 260 kB / 444.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-06/0.5564, allocations: 0 / 444.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5564, allocations: 4 kB / 444.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-06/0.5564, allocations: 3.938 kB / 444.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.5611, allocations: 2.395 MB / 447.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.57e-06/0.5612, allocations: 0 / 447.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.5612, allocations: 0 / 447.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.5612, allocations: 4 kB / 447.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.5613, allocations: 35.98 kB / 447.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.48e-06/0.5614, allocations: 3.984 kB / 447.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.337e-06/0.5614, allocations: 0 / 447.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.5645, allocations: 1.638 MB / 448.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.5662, allocations: 0.6746 MB / 449.4 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.5665, allocations: 63.95 kB / 449.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.5671, allocations: 47.86 kB / 449.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008738/0.5679, allocations: 375.6 kB / 449.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/0.5682, allocations: 127.9 kB / 450 MB, free: 9.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002937/0.5711, allocations: 1.335 MB / 451.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.35e-06/0.5712, allocations: 0 / 451.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008332/0.572, allocations: 148 kB / 451.5 MB, free: 8.285 MB / 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,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.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.0003557/0.5724, allocations: 193.6 kB / 451.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002971/0.5754, allocations: 1.921 MB / 453.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.8e-06/0.5754, allocations: 0 / 453.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.5774, allocations: 1.429 MB / 455.1 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5789, allocations: 292.2 kB / 455.3 MB, free: 4.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.5846, allocations: 2.513 MB / 457.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.5863, allocations: 1.231 MB / 459.1 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.5865, allocations: 33.52 kB / 459.1 MB, free: 424 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.5865, allocations: 15.44 kB / 459.1 MB, free: 408 kB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/0.5865, allocations: 0 / 459.1 MB, free: 408 kB / 362.7 MB Notification: Performance of Templates: time 0.03134/0.6179, allocations: 15.23 MB / 474.4 MB, free: 0.8359 MB / 378.7 MB