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.2_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.931e-05, allocations: 0 / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3048, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002298/0.3071, allocations: 1.397 MB / 304.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.31, allocations: 0.9165 MB / 305.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3102, allocations: 4.594 kB / 305.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.3103, allocations: 28.83 kB / 305.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3105, allocations: 31.39 kB / 305.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.3108, allocations: 68.17 kB / 305.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.3111, allocations: 155.9 kB / 305.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3113, allocations: 60.33 kB / 306 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.3122, allocations: 0.5085 MB / 306.5 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.3125, allocations: 155.7 kB / 306.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3126, allocations: 12 kB / 306.6 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.3128, allocations: 8 kB / 306.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.313, allocations: 151.4 kB / 306.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.3132, allocations: 40 kB / 306.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3143, allocations: 0.8598 MB / 307.7 MB, free: 9.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3143, allocations: 0 / 307.7 MB, free: 9.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3144, allocations: 4 kB / 307.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.3144, allocations: 0 / 307.7 MB, free: 9.219 MB / 250.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.001344/0.3157, allocations: 0.9931 MB / 308.7 MB, free: 8.133 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.3158, allocations: 8.031 kB / 308.7 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.316, allocations: 90.92 kB / 308.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007307/0.3168, allocations: 419.4 kB / 309.2 MB, free: 7.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.3168, allocations: 20 kB / 309.2 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.317, allocations: 24 kB / 309.2 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.3183, allocations: 0.4943 MB / 309.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3184, allocations: 8 kB / 309.7 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.3185, allocations: 12 kB / 309.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3185, allocations: 0 / 309.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009817/0.3195, allocations: 368.1 kB / 310.1 MB, free: 6.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.3217, allocations: 0.9222 MB / 311 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3229, allocations: 0.5063 MB / 311.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.323, allocations: 0 / 311.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.3243, allocations: 0.6461 MB / 312.2 MB, free: 4.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.866e-06/0.3244, allocations: 3.938 kB / 312.2 MB, free: 4.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.003947/0.3283, allocations: 1.758 MB / 313.9 MB, free: 2.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/0.3286, allocations: 287.3 kB / 314.2 MB, free: 2.281 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.3309, allocations: 1.015 MB / 315.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.3311, allocations: 45.69 kB / 315.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3313, allocations: 149.9 kB / 315.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.3314, allocations: 67.25 kB / 315.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.3315, allocations: 12 kB / 315.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3317, allocations: 342.8 kB / 315.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.3327, allocations: 347.8 kB / 316.2 MB, free: 304 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009473/0.3336, allocations: 370.3 kB / 316.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009123/0.3345, allocations: 0.4968 MB / 317 MB, free: 15.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3346, allocations: 0 / 317 MB, free: 15.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002596/0.3372, allocations: 1.116 MB / 318.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.3375, allocations: 257 kB / 318.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3375, allocations: 0 / 318.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3375, allocations: 0 / 318.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.32e-05/0.3376, allocations: 4 kB / 318.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3376, allocations: 0 / 318.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.3382, allocations: 43.81 kB / 318.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.3384, allocations: 127.9 kB / 318.6 MB, free: 13.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$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,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,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.00141/0.3398, allocations: 0.7679 MB / 319.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.3401, allocations: 87.02 kB / 319.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.3405, allocations: 151.5 kB / 319.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3405, allocations: 0 / 319.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3405, allocations: 4 kB / 319.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3405, allocations: 0 / 319.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.3446, allocations: 1.954 MB / 321.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3447, allocations: 0 / 321.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.3447, allocations: 8 kB / 321.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.3447, allocations: 4 kB / 321.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.3449, allocations: 31.98 kB / 321.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3449, allocations: 0 / 321.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.3449, allocations: 0 / 321.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003033/0.3479, allocations: 1.377 MB / 323 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.3494, allocations: 0.5581 MB / 323.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.3497, allocations: 63.95 kB / 323.6 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.3503, allocations: 35.97 kB / 323.6 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/0.3509, allocations: 231.8 kB / 323.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/0.3512, allocations: 135.8 kB / 324 MB, free: 8.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002014/0.3532, allocations: 0.8575 MB / 324.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.3532, allocations: 4 kB / 324.8 MB, free: 7.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000717/0.354, allocations: 120 kB / 325 MB, free: 7.141 MB / 266.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.0003651/0.3544, allocations: 188.4 kB / 325.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.3573, allocations: 1.53 MB / 326.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3573, allocations: 0 / 326.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.3591, allocations: 1.148 MB / 327.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.3609, allocations: 262.7 kB / 328.1 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.3657, allocations: 2.139 MB / 330.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.3669, allocations: 1.038 MB / 331.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3671, allocations: 37.48 kB / 331.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.3672, allocations: 15.44 kB / 331.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3672, allocations: 0 / 331.3 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of Templates: time 0.02961/0.3968, allocations: 12.64 MB / 343.9 MB, free: 3.684 MB / 282.7 MB