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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.846e-05, allocations: 6.016 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09963, allocations: 50.41 MB / 342.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4186/0.5183, allocations: 83.39 MB / 425.9 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/0.5186, allocations: 67.28 kB / 426 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09538/0.614, allocations: 31.09 MB / 457.1 MB, free: 324 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.937e-06/0.614, allocations: 0 / 457.1 MB, free: 324 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.447e-05/0.6141, allocations: 16 kB / 457.1 MB, free: 308 kB / 362.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.001832/0.6159, allocations: 1.319 MB / 458.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.616, allocations: 8.031 kB / 458.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002445/0.6162, allocations: 130.5 kB / 458.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.6172, allocations: 0.5248 MB / 459.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.6173, allocations: 23.94 kB / 459.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6174, allocations: 31.98 kB / 459.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6187, allocations: 0.6105 MB / 459.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.82e-06/0.6187, allocations: 0 / 459.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.15e-05/0.6188, allocations: 20 kB / 459.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.6189, allocations: 4 kB / 459.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.6198, allocations: 463.8 kB / 460.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.6224, allocations: 1.174 MB / 461.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.6236, allocations: 0.6859 MB / 462.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.6247, allocations: 0.6749 MB / 462.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.6247, allocations: 11.89 kB / 462.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.6261, allocations: 0.7455 MB / 463.5 MB, free: 9.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 4.496e-06/0.6261, allocations: 0 / 463.5 MB, free: 9.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002779/0.6289, allocations: 1.406 MB / 464.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002911/0.6292, allocations: 332.9 kB / 465.3 MB, free: 7.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.6326, allocations: 1.623 MB / 466.9 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001238/0.6328, allocations: 41.7 kB / 466.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/0.6331, allocations: 246.3 kB / 467.2 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.6333, allocations: 79.09 kB / 467.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.6334, allocations: 12 kB / 467.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003203/0.6337, allocations: 390.7 kB / 467.6 MB, free: 5.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.6353, allocations: 451.8 kB / 468.1 MB, free: 4.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.6371, allocations: 451.8 kB / 468.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.6386, allocations: 0.5794 MB / 469.1 MB, free: 3.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.588e-06/0.6387, allocations: 0 / 469.1 MB, free: 3.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004196/0.6429, allocations: 1.342 MB / 470.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.6434, allocations: 293.5 kB / 470.7 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6434, allocations: 4 kB / 470.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.6434, allocations: 0 / 470.7 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.6435, allocations: 4 kB / 470.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.6435, allocations: 4 kB / 470.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.6445, allocations: 51.86 kB / 470.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/0.6448, allocations: 124.2 kB / 470.9 MB, free: 1.938 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: 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.0009328/0.6458, allocations: 463.6 kB / 471.4 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.6463, allocations: 134.4 kB / 471.5 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.6475, allocations: 256 kB / 471.7 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.6475, allocations: 8 kB / 471.7 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.308e-06/0.6475, allocations: 3.938 kB / 471.7 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.6476, allocations: 3.984 kB / 471.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007866/0.6554, allocations: 2.399 MB / 474.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.498e-06/0.6555, allocations: 0 / 474.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.6556, allocations: 3.953 kB / 474.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-06/0.6556, allocations: 0 / 474.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.6558, allocations: 39.98 kB / 474.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-06/0.6558, allocations: 4 kB / 474.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.6559, allocations: 0 / 474.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005491/0.6614, allocations: 1.63 MB / 475.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/0.6642, allocations: 0.6708 MB / 476.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/0.6647, allocations: 63.91 kB / 476.6 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.6657, allocations: 43.88 kB / 476.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001503/0.6672, allocations: 391.5 kB / 477 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003826/0.6677, allocations: 131.9 kB / 477.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004959/0.6726, allocations: 1.335 MB / 478.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.382e-06/0.6727, allocations: 0 / 478.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00115/0.6739, allocations: 144 kB / 478.6 MB, free: 9.973 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,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.0004618/0.6743, allocations: 185.7 kB / 478.8 MB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004279/0.6786, allocations: 1.917 MB / 480.7 MB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.981e-06/0.6787, allocations: 0 / 480.7 MB, free: 7.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.6815, allocations: 1.429 MB / 482.1 MB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.6836, allocations: 303.8 kB / 482.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/0.6901, allocations: 2.509 MB / 484.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.6917, allocations: 1.227 MB / 486.2 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.6919, allocations: 41.48 kB / 486.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.6919, allocations: 15.44 kB / 486.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of SimCode: time 1.836e-06/0.6919, allocations: 0 / 486.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of Templates: time 0.02931/0.7212, allocations: 15.2 MB / 0.4897 GB, free: 2.617 MB / 410.7 MB