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.1_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.792e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3527, allocations: 72.42 MB / 336.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.353, allocations: 71.97 kB / 336.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3071/0.6601, allocations: 33.24 MB / 369.5 MB, free: 90.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.816e-06/0.6602, allocations: 0 / 369.5 MB, free: 90.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.87e-05/0.6603, allocations: 13.19 kB / 369.5 MB, free: 90.66 MB / 314.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.002443/0.6627, allocations: 0.9954 MB / 370.5 MB, free: 90.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.188e-05/0.6628, allocations: 9.344 kB / 370.5 MB, free: 90.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.6633, allocations: 88.2 kB / 370.6 MB, free: 90.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6646, allocations: 416.3 kB / 371 MB, free: 89.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.6648, allocations: 22.64 kB / 371.1 MB, free: 89.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.665, allocations: 24.25 kB / 371.1 MB, free: 89.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.6673, allocations: 489.5 kB / 371.6 MB, free: 89.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.6673, allocations: 2.656 kB / 371.6 MB, free: 89.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.6675, allocations: 13.69 kB / 371.6 MB, free: 89.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.6675, allocations: 5.844 kB / 371.6 MB, free: 89.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.6689, allocations: 344.6 kB / 371.9 MB, free: 89.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.6722, allocations: 0.9273 MB / 372.8 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6736, allocations: 0.4892 MB / 373.3 MB, free: 89.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.6749, allocations: 486 kB / 373.8 MB, free: 89.37 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.675, allocations: 0 / 373.8 MB, free: 89.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/0.6766, allocations: 0.6254 MB / 374.4 MB, free: 89.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.936e-06/0.6767, allocations: 0 / 374.4 MB, free: 89.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.003622/0.6803, allocations: 1.12 MB / 375.6 MB, free: 88.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/0.6806, allocations: 294.1 kB / 375.8 MB, free: 88.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.6838, allocations: 1.006 MB / 376.8 MB, free: 88.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/0.684, allocations: 44.48 kB / 376.9 MB, free: 88.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.6842, allocations: 143.6 kB / 377 MB, free: 88.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.6844, allocations: 66.92 kB / 377.1 MB, free: 88.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.6846, allocations: 11.66 kB / 377.1 MB, free: 88.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6847, allocations: 340.1 kB / 377.4 MB, free: 87.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.6859, allocations: 349.7 kB / 377.8 MB, free: 87.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.687, allocations: 333.6 kB / 378.1 MB, free: 87.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6882, allocations: 485.6 kB / 378.6 MB, free: 87.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/0.6882, allocations: 3.938 kB / 378.6 MB, free: 87.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.003463/0.6917, allocations: 1.076 MB / 379.7 MB, free: 87.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000287/0.692, allocations: 254.1 kB / 379.9 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.692, allocations: 0 / 379.9 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.6921, allocations: 0 / 379.9 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.6921, allocations: 10.14 kB / 379.9 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6922, allocations: 0 / 379.9 MB, free: 86.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.6931, allocations: 47.3 kB / 380 MB, free: 86.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/0.6935, allocations: 123.9 kB / 380.1 MB, free: 86.94 MB / 314.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.0006741/0.6942, allocations: 411.9 kB / 380.5 MB, free: 86.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.6945, allocations: 85 kB / 380.6 MB, free: 86.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.6952, allocations: 148.3 kB / 380.7 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.916e-06/0.6952, allocations: 0 / 380.7 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.45e-06/0.6953, allocations: 3.938 kB / 380.7 MB, free: 86.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6953, allocations: 6.812 kB / 380.7 MB, free: 86.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.7009, allocations: 1.912 MB / 382.6 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.508e-06/0.701, allocations: 0 / 382.6 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.701, allocations: 0 / 382.6 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.504e-06/0.7011, allocations: 0 / 382.6 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.7012, allocations: 35.66 kB / 382.7 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.607e-06/0.7013, allocations: 3.625 kB / 382.7 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.923e-06/0.7013, allocations: 7.297 kB / 382.7 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.7054, allocations: 1.343 MB / 384 MB, free: 84.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/0.7075, allocations: 0.5552 MB / 384.6 MB, free: 84.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/0.7079, allocations: 58.25 kB / 384.6 MB, free: 84.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.7088, allocations: 42.22 kB / 384.7 MB, free: 84.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008721/0.7097, allocations: 238.4 kB / 384.9 MB, free: 84.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003223/0.7101, allocations: 143 kB / 385 MB, free: 84.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002629/0.7127, allocations: 0.8426 MB / 385.9 MB, free: 83.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.7128, allocations: 0 / 385.9 MB, free: 83.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001258/0.714, allocations: 120 kB / 386 MB, free: 83.4 MB / 314.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.0004533/0.7145, allocations: 181.5 kB / 386.2 MB, free: 83.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002972/0.7175, allocations: 1.504 MB / 387.7 MB, free: 81.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.253e-06/0.7176, allocations: 4 kB / 387.7 MB, free: 81.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.7186, allocations: 1.125 MB / 388.8 MB, free: 80.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.7198, allocations: 256.6 kB / 389.1 MB, free: 80.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.7227, allocations: 1.681 MB / 390.8 MB, free: 78.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.7235, allocations: 1.032 MB / 391.8 MB, free: 77.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.7237, allocations: 40.31 kB / 391.8 MB, free: 77.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.7237, allocations: 15.44 kB / 391.8 MB, free: 77.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.789e-06/0.7237, allocations: 0 / 391.8 MB, free: 77.88 MB / 314.7 MB Notification: Performance of Templates: time 0.02047/0.7442, allocations: 12.62 MB / 404.5 MB, free: 66.41 MB / 314.7 MB