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.2_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.772e-05, allocations: 4 kB / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 44.52 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002424/0.3344, allocations: 1.434 MB / 304.8 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.3376, allocations: 0.9747 MB / 305.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3378, allocations: 3.906 kB / 305.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.338, allocations: 26.31 kB / 305.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.3384, allocations: 164.2 kB / 305.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.3388, allocations: 88.11 kB / 306 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.3392, allocations: 208.2 kB / 306.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.3394, allocations: 60.45 kB / 306.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.3405, allocations: 0.6357 MB / 306.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.3409, allocations: 199.5 kB / 307.1 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3411, allocations: 12 kB / 307.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.3412, allocations: 12 kB / 307.1 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.3416, allocations: 251.1 kB / 307.4 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.3419, allocations: 56 kB / 307.4 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3434, allocations: 1.191 MB / 308.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3435, allocations: 0 / 308.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3435, allocations: 0 / 308.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.3435, allocations: 0 / 308.6 MB, free: 8.285 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001938/0.3455, allocations: 1.285 MB / 309.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.3455, allocations: 8.031 kB / 309.9 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.3459, allocations: 138.3 kB / 310 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.3469, allocations: 0.5131 MB / 310.6 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/0.347, allocations: 20 kB / 310.6 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3471, allocations: 28 kB / 310.6 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.3488, allocations: 0.6299 MB / 311.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3489, allocations: 0 / 311.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.349, allocations: 16 kB / 311.3 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.349, allocations: 4 kB / 311.3 MB, free: 5.488 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3503, allocations: 479.7 kB / 311.7 MB, free: 5.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.3532, allocations: 1.17 MB / 312.9 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.355, allocations: 0.7054 MB / 313.6 MB, free: 3.078 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.355, allocations: 4 kB / 313.6 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.3569, allocations: 0.7524 MB / 314.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 5.109e-06/0.357, allocations: 0 / 314.4 MB, free: 2.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.005318/0.3623, allocations: 2.139 MB / 316.5 MB, free: 36 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003532/0.3627, allocations: 333 kB / 316.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.3671, allocations: 1.632 MB / 318.5 MB, free: 14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.3674, allocations: 45.69 kB / 318.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.3678, allocations: 246.3 kB / 318.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.3681, allocations: 75.11 kB / 318.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.3682, allocations: 15.98 kB / 318.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.3684, allocations: 382.7 kB / 319.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3697, allocations: 447.7 kB / 319.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.3709, allocations: 498.3 kB / 320.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.372, allocations: 0.591 MB / 320.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3721, allocations: 0 / 320.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003167/0.3752, allocations: 1.365 MB / 322.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.3756, allocations: 297.5 kB / 322.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3756, allocations: 0 / 322.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.3757, allocations: 0 / 322.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.3757, allocations: 15.98 kB / 322.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3757, allocations: 0 / 322.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.3764, allocations: 47.81 kB / 322.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.3767, allocations: 128.2 kB / 322.6 MB, free: 9.711 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: 37 ($PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,$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,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,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.001971/0.3787, allocations: 0.9997 MB / 323.6 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.379, allocations: 130.5 kB / 323.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.3797, allocations: 255.9 kB / 323.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3797, allocations: 0 / 323.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3797, allocations: 0 / 323.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3797, allocations: 3.984 kB / 323.9 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/0.3851, allocations: 2.423 MB / 326.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.3852, allocations: 0 / 326.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.84e-05/0.3852, allocations: 0 / 326.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.3853, allocations: 4 kB / 326.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.3854, allocations: 35.97 kB / 326.4 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3854, allocations: 4 kB / 326.4 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3854, allocations: 3.938 kB / 326.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.389, allocations: 1.657 MB / 328.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0019/0.391, allocations: 0.6784 MB / 328.7 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.3913, allocations: 59.95 kB / 328.8 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/0.392, allocations: 39.97 kB / 328.8 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/0.393, allocations: 387.5 kB / 329.2 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/0.3933, allocations: 127.9 kB / 329.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003388/0.3967, allocations: 1.341 MB / 330.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.3967, allocations: 0 / 330.7 MB, free: 1.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009171/0.3977, allocations: 159.8 kB / 330.8 MB, free: 1.148 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: 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.0003868/0.3981, allocations: 186.5 kB / 331 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003577/0.4016, allocations: 1.936 MB / 333 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4017, allocations: 0 / 333 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002266/0.404, allocations: 1.448 MB / 334.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.4061, allocations: 295.8 kB / 334.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007118/0.4132, allocations: 3.146 MB / 337.8 MB, free: 9.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.4149, allocations: 1.231 MB / 339.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.4152, allocations: 41.48 kB / 339.1 MB, free: 8.605 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.4152, allocations: 15.44 kB / 339.1 MB, free: 8.59 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4152, allocations: 3.938 kB / 339.1 MB, free: 8.586 MB / 282.7 MB Notification: Performance of Templates: time 0.03514/0.4504, allocations: 15.19 MB / 354.3 MB, free: 9.051 MB / 298.7 MB