Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 205.8 MB / 218.9 MB, free: 9.363 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.928e-05, allocations: 4 kB / 269.4 MB, free: 6.418 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08432, allocations: 47.57 MB / 316.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3412/0.4255, allocations: 81.97 MB / 398.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4258, allocations: 68.27 kB / 399 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1033/0.5292, allocations: 33.39 MB / 432.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.201e-06/0.5292, allocations: 0 / 432.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.998e-05/0.5292, allocations: 8 kB / 432.4 MB, free: 10.28 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001303/0.5305, allocations: 1 MB / 433.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5306, allocations: 16.02 kB / 433.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.5308, allocations: 90.92 kB / 433.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.5315, allocations: 409.9 kB / 433.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/0.5316, allocations: 15.69 kB / 433.9 MB, free: 8.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.5317, allocations: 31.92 kB / 433.9 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5327, allocations: 490.1 kB / 434.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.855e-06/0.5328, allocations: 0 / 434.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.5329, allocations: 14.5 kB / 434.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.5329, allocations: 7.984 kB / 434.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.5336, allocations: 368.4 kB / 434.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.5356, allocations: 0.9239 MB / 435.7 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.5364, allocations: 0.5048 MB / 436.2 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.5372, allocations: 491.4 kB / 436.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.5372, allocations: 8.047 kB / 436.7 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.5383, allocations: 0.6113 MB / 437.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.993e-06/0.5383, allocations: 0 / 437.3 MB, free: 6.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002229/0.5405, allocations: 1.144 MB / 438.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.5408, allocations: 281.1 kB / 438.7 MB, free: 4.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.5428, allocations: 1.018 MB / 439.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5429, allocations: 44.45 kB / 439.8 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5431, allocations: 147.7 kB / 439.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5433, allocations: 72.47 kB / 440 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.5433, allocations: 11.12 kB / 440 MB, free: 3.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.5435, allocations: 346.2 kB / 440.3 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006706/0.5442, allocations: 347.8 kB / 440.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.5449, allocations: 345.3 kB / 441 MB, free: 2.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/0.5456, allocations: 493.2 kB / 441.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-06/0.5456, allocations: 0 / 441.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002097/0.5477, allocations: 1.095 MB / 442.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.548, allocations: 243.9 kB / 442.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5481, allocations: 3.984 kB / 442.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5481, allocations: 3.938 kB / 442.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.5481, allocations: 7.984 kB / 442.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.081e-06/0.5481, allocations: 0 / 442.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.5486, allocations: 43.88 kB / 442.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.5488, allocations: 123.9 kB / 443 MB, free: 1.078 MB / 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0005329/0.5494, allocations: 421.9 kB / 443.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.5496, allocations: 87.06 kB / 443.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.5501, allocations: 151.7 kB / 443.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.353e-06/0.5501, allocations: 0 / 443.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.945e-06/0.5501, allocations: 0 / 443.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-06/0.5501, allocations: 0 / 443.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.5538, allocations: 1.931 MB / 445.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.286e-06/0.5538, allocations: 3.938 kB / 445.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.605e-05/0.5539, allocations: 4 kB / 445.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.767e-06/0.5539, allocations: 0 / 445.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.82e-05/0.554, allocations: 31.98 kB / 445.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.992e-06/0.554, allocations: 0 / 445.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.163e-06/0.554, allocations: 0 / 445.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.5567, allocations: 1.369 MB / 447 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.558, allocations: 0.5581 MB / 447.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.5582, allocations: 55.97 kB / 447.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004521/0.5587, allocations: 35.97 kB / 447.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/0.5593, allocations: 231.7 kB / 447.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.5595, allocations: 135.9 kB / 448 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00175/0.5613, allocations: 0.8461 MB / 448.9 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.277e-06/0.5613, allocations: 4 kB / 448.9 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007161/0.562, allocations: 124 kB / 449 MB, free: 10.88 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0003333/0.5624, allocations: 180.5 kB / 449.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.5648, allocations: 1.515 MB / 450.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.534e-06/0.5648, allocations: 3.938 kB / 450.7 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.5663, allocations: 1.129 MB / 451.8 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5676, allocations: 281.4 kB / 452.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.5714, allocations: 1.708 MB / 453.8 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.5725, allocations: 1.031 MB / 454.8 MB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.5727, allocations: 37.5 kB / 454.9 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.5728, allocations: 15.44 kB / 454.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.917e-06/0.5728, allocations: 0 / 454.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of Templates: time 0.02576/0.5986, allocations: 12.64 MB / 467.5 MB, free: 7.883 MB / 378.7 MB