Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.818e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2856, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.4391, allocations: 72.74 MB / 336.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4394, allocations: 75.89 kB / 336.6 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2964/0.7358, allocations: 37.77 MB / 374.4 MB, free: 90.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.828e-06/0.7359, allocations: 0 / 374.4 MB, free: 90.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.7359, allocations: 18.98 kB / 374.4 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.00114/0.7371, allocations: 1.285 MB / 375.7 MB, free: 89.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7371, allocations: 14.47 kB / 375.7 MB, free: 89.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.7373, allocations: 144.3 kB / 375.8 MB, free: 89.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.738, allocations: 0.5023 MB / 376.3 MB, free: 89.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/0.7381, allocations: 27.42 kB / 376.4 MB, free: 89.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.644e-05/0.7382, allocations: 27.91 kB / 376.4 MB, free: 89.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.7392, allocations: 0.6118 MB / 377 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7393, allocations: 0 / 377 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.7394, allocations: 14.47 kB / 377 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7394, allocations: 3.438 kB / 377 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.7402, allocations: 462.3 kB / 377.5 MB, free: 89.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.7421, allocations: 1.133 MB / 378.6 MB, free: 89.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/0.7431, allocations: 0.6893 MB / 379.3 MB, free: 89.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/0.7439, allocations: 0.6677 MB / 380 MB, free: 88.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.486e-06/0.7439, allocations: 2.875 kB / 380 MB, free: 88.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009957/0.7449, allocations: 0.7337 MB / 380.7 MB, free: 88.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.202e-06/0.745, allocations: 0 / 380.7 MB, free: 88.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002126/0.7471, allocations: 1.401 MB / 382.1 MB, free: 87.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.7473, allocations: 329.7 kB / 382.4 MB, free: 87.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.7495, allocations: 1.458 MB / 383.9 MB, free: 86.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.7497, allocations: 44.28 kB / 383.9 MB, free: 86.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.7499, allocations: 234.9 kB / 384.2 MB, free: 86.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.75, allocations: 72.34 kB / 384.2 MB, free: 86.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.7501, allocations: 11.56 kB / 384.2 MB, free: 86.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.985e-05/0.7502, allocations: 365.1 kB / 384.6 MB, free: 86.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007083/0.7509, allocations: 451.1 kB / 385 MB, free: 86.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.7516, allocations: 452.8 kB / 385.5 MB, free: 86.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.7522, allocations: 0.5684 MB / 386 MB, free: 85.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7523, allocations: 0 / 386 MB, free: 85.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001954/0.7542, allocations: 1.326 MB / 387.4 MB, free: 84.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.7544, allocations: 293.4 kB / 387.7 MB, free: 83.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.624e-06/0.7544, allocations: 0 / 387.7 MB, free: 83.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7545, allocations: 4 kB / 387.7 MB, free: 83.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.684e-05/0.7545, allocations: 3.844 kB / 387.7 MB, free: 83.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.52e-06/0.7545, allocations: 7.891 kB / 387.7 MB, free: 83.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.755, allocations: 46.78 kB / 387.7 MB, free: 83.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.7552, allocations: 130.4 kB / 387.8 MB, free: 83.83 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.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.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.000389/0.7556, allocations: 466.9 kB / 388.3 MB, free: 83.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7558, allocations: 134.4 kB / 388.4 MB, free: 83.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.7563, allocations: 200.5 kB / 388.6 MB, free: 83.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.149e-06/0.7563, allocations: 0 / 388.6 MB, free: 83.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.803e-06/0.7563, allocations: 0 / 388.6 MB, free: 83.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.555e-06/0.7563, allocations: 7.953 kB / 388.6 MB, free: 83.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.7595, allocations: 2.312 MB / 390.9 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7595, allocations: 0 / 390.9 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.7595, allocations: 0 / 390.9 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.7595, allocations: 0 / 390.9 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.7596, allocations: 39.98 kB / 391 MB, free: 80.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.163e-06/0.7597, allocations: 7.938 kB / 391 MB, free: 80.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.39e-06/0.7597, allocations: 3.984 kB / 391 MB, free: 80.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.7619, allocations: 1.631 MB / 392.6 MB, free: 79.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.763, allocations: 0.6435 MB / 393.3 MB, free: 78.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.7633, allocations: 63.91 kB / 393.3 MB, free: 78.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.7638, allocations: 43.86 kB / 393.4 MB, free: 78.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006528/0.7645, allocations: 375.6 kB / 393.7 MB, free: 78.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.7646, allocations: 136.5 kB / 393.9 MB, free: 77.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001775/0.7664, allocations: 1.207 MB / 395.1 MB, free: 76.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.7665, allocations: 4 kB / 395.1 MB, free: 76.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006591/0.7671, allocations: 152 kB / 395.2 MB, free: 76.54 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,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.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.0002637/0.7674, allocations: 188.7 kB / 395.4 MB, free: 76.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.7695, allocations: 1.895 MB / 397.3 MB, free: 74.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.826e-06/0.7696, allocations: 4 kB / 397.3 MB, free: 74.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.7709, allocations: 1.428 MB / 398.7 MB, free: 72.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.7722, allocations: 299.6 kB / 399 MB, free: 72.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.7759, allocations: 2.351 MB / 401.4 MB, free: 70.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009258/0.7769, allocations: 1.18 MB / 402.6 MB, free: 68.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.7771, allocations: 41.25 kB / 402.6 MB, free: 68.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.7771, allocations: 15.44 kB / 402.6 MB, free: 68.91 MB / 314.7 MB Notification: Performance of SimCode: time 2.088e-06/0.7772, allocations: 0 / 402.6 MB, free: 68.91 MB / 314.7 MB Notification: Performance of Templates: time 0.02358/0.8007, allocations: 14.7 MB / 417.3 MB, free: 53.98 MB / 314.7 MB