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.857/1.857, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.026e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08052, allocations: 44.5 MB / 299.9 MB, free: 6.152 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4182, allocations: 78.02 MB / 377.9 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.4185, allocations: 69.95 kB / 378 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08285/0.5013, allocations: 30.74 MB / 408.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.179e-06/0.5014, allocations: 0 / 408.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.569e-05/0.5014, allocations: 11.81 kB / 408.7 MB, free: 16.1 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001469/0.5029, allocations: 1.31 MB / 410 MB, free: 15.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.503, allocations: 11.81 kB / 410 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.5032, allocations: 132.6 kB / 410.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.504, allocations: 0.5178 MB / 410.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.5041, allocations: 15.16 kB / 410.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.5042, allocations: 30.94 kB / 410.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.5053, allocations: 0.6142 MB / 411.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5054, allocations: 7.953 kB / 411.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.5055, allocations: 19.48 kB / 411.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.36e-06/0.5055, allocations: 3.906 kB / 411.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.5063, allocations: 467.6 kB / 411.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.5087, allocations: 1.17 MB / 413 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5098, allocations: 0.6902 MB / 413.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.5108, allocations: 0.6823 MB / 414.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.5108, allocations: 4 kB / 414.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001129/0.512, allocations: 0.7448 MB / 415.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.678e-06/0.512, allocations: 3.938 kB / 415.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002345/0.5144, allocations: 1.408 MB / 416.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.5145, allocations: 334.1 kB / 416.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/0.518, allocations: 1.622 MB / 418.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.5183, allocations: 44.78 kB / 418.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000285/0.5186, allocations: 244.9 kB / 418.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.5187, allocations: 80.84 kB / 418.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.5188, allocations: 11.25 kB / 418.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.519, allocations: 379.5 kB / 419.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.5198, allocations: 457.3 kB / 419.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.5206, allocations: 453.6 kB / 420.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.5213, allocations: 0.5861 MB / 420.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-06/0.5213, allocations: 4 kB / 420.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002184/0.5235, allocations: 1.338 MB / 422 MB, free: 10.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.5237, allocations: 300.2 kB / 422.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.719e-06/0.5238, allocations: 0 / 422.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5238, allocations: 0 / 422.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.599e-05/0.5238, allocations: 0 / 422.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5239, allocations: 3.906 kB / 422.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5244, allocations: 46.23 kB / 422.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.5246, allocations: 124.8 kB / 422.5 MB, free: 10.01 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: 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.0004346/0.525, allocations: 466.1 kB / 423 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.5252, allocations: 136.7 kB / 423.1 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.526, allocations: 254.8 kB / 423.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.526, allocations: 0 / 423.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.032e-06/0.526, allocations: 0 / 423.3 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-06/0.526, allocations: 3.906 kB / 423.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.5298, allocations: 2.401 MB / 425.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-06/0.5299, allocations: 3.984 kB / 425.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.5299, allocations: 3.938 kB / 425.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.847e-06/0.5299, allocations: 3.188 kB / 425.8 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.53, allocations: 31.14 kB / 425.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.116e-06/0.53, allocations: 3.219 kB / 425.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.389e-06/0.53, allocations: 0 / 425.8 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.5327, allocations: 1.644 MB / 427.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.5343, allocations: 0.6793 MB / 428.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.5346, allocations: 56.31 kB / 428.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.5352, allocations: 42.23 kB / 428.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007169/0.5359, allocations: 371 kB / 428.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.5361, allocations: 139.2 kB / 428.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00266/0.5388, allocations: 1.334 MB / 430 MB, free: 6.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.5388, allocations: 0 / 430 MB, free: 6.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007892/0.5396, allocations: 155 kB / 430.2 MB, free: 6.672 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: 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.0002852/0.5399, allocations: 193.4 kB / 430.4 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.5424, allocations: 1.914 MB / 432.3 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.244e-06/0.5424, allocations: 0 / 432.3 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.5439, allocations: 1.433 MB / 433.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.5453, allocations: 302.1 kB / 434 MB, free: 4.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.55, allocations: 2.51 MB / 436.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.5514, allocations: 1.231 MB / 437.8 MB, free: 17.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001871/0.5516, allocations: 41.44 kB / 437.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.5517, allocations: 15.44 kB / 437.8 MB, free: 17.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.656e-06/0.5517, allocations: 0 / 437.8 MB, free: 17.68 MB / 330.7 MB Notification: Performance of Templates: time 0.03045/0.5821, allocations: 15.19 MB / 453 MB, free: 2.16 MB / 330.7 MB