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.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.826e-05, allocations: 0 / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3842, allocations: 72.7 MB / 336.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.3845, allocations: 71.95 kB / 336.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09399/0.4785, allocations: 30.1 MB / 366.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.091e-06/0.4786, allocations: 0 / 366.6 MB, free: 2.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.4786, allocations: 16 kB / 366.7 MB, free: 2.844 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.001652/0.4803, allocations: 1.288 MB / 367.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4803, allocations: 8.031 kB / 368 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.4806, allocations: 134.4 kB / 368.1 MB, free: 1.316 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009218/0.4815, allocations: 0.5171 MB / 368.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.4816, allocations: 31.92 kB / 368.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.4817, allocations: 28 kB / 368.7 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.483, allocations: 0.6027 MB / 369.3 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.483, allocations: 0 / 369.3 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.4831, allocations: 16 kB / 369.3 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4832, allocations: 7.953 kB / 369.3 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1796/0.6628, allocations: 457.1 kB / 369.7 MB, free: 88.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.6653, allocations: 1.12 MB / 370.9 MB, free: 88.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.6664, allocations: 0.6885 MB / 371.5 MB, free: 88.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/0.6672, allocations: 0.6715 MB / 372.2 MB, free: 88.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.6673, allocations: 0 / 372.2 MB, free: 88.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009847/0.6683, allocations: 0.7443 MB / 373 MB, free: 87.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.322e-06/0.6683, allocations: 0 / 373 MB, free: 87.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0022/0.6705, allocations: 1.401 MB / 374.4 MB, free: 87.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.6707, allocations: 326.1 kB / 374.7 MB, free: 87.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.6731, allocations: 1.456 MB / 376.1 MB, free: 86.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6732, allocations: 43.5 kB / 376.2 MB, free: 86.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.6734, allocations: 234.4 kB / 376.4 MB, free: 86.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6736, allocations: 78.23 kB / 376.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.6737, allocations: 12.75 kB / 376.5 MB, free: 86.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6738, allocations: 370.3 kB / 376.9 MB, free: 86.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.6745, allocations: 441.8 kB / 377.3 MB, free: 86.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.6752, allocations: 450.6 kB / 377.7 MB, free: 86.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000627/0.6759, allocations: 0.5713 MB / 378.3 MB, free: 86.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.694e-06/0.6759, allocations: 3.438 kB / 378.3 MB, free: 86.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001998/0.6779, allocations: 1.33 MB / 379.6 MB, free: 85.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.6781, allocations: 297.1 kB / 379.9 MB, free: 85.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.548e-06/0.6781, allocations: 0 / 379.9 MB, free: 85.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.6781, allocations: 0 / 379.9 MB, free: 85.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.668e-05/0.6782, allocations: 3.953 kB / 379.9 MB, free: 85.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.536e-06/0.6782, allocations: 3.875 kB / 379.9 MB, free: 85.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.6788, allocations: 51.73 kB / 380 MB, free: 85.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.679, allocations: 122.9 kB / 380.1 MB, free: 85.2 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.0004366/0.6794, allocations: 472.2 kB / 380.6 MB, free: 84.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.6796, allocations: 128.8 kB / 380.7 MB, free: 84.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.6802, allocations: 203.7 kB / 380.9 MB, free: 84.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6802, allocations: 0 / 380.9 MB, free: 84.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6802, allocations: 7.922 kB / 380.9 MB, free: 84.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.072e-06/0.6802, allocations: 2.531 kB / 380.9 MB, free: 84.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.6834, allocations: 2.309 MB / 383.2 MB, free: 83.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6835, allocations: 0 / 383.2 MB, free: 83.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.6835, allocations: 6 kB / 383.2 MB, free: 83.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6835, allocations: 0 / 383.2 MB, free: 83.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.063e-05/0.6836, allocations: 37.28 kB / 383.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.188e-06/0.6836, allocations: 7.859 kB / 383.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-06/0.6836, allocations: 0 / 383.3 MB, free: 83.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.6859, allocations: 1.619 MB / 384.9 MB, free: 82.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.6872, allocations: 0.6525 MB / 385.5 MB, free: 82.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.6874, allocations: 59.03 kB / 385.6 MB, free: 82.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.6879, allocations: 43.12 kB / 385.6 MB, free: 82.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006743/0.6886, allocations: 380.3 kB / 386 MB, free: 81.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.6888, allocations: 132.5 kB / 386.1 MB, free: 81.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001848/0.6907, allocations: 1.213 MB / 387.3 MB, free: 80.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.047e-06/0.6907, allocations: 0 / 387.3 MB, free: 80.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006428/0.6914, allocations: 150.4 kB / 387.5 MB, free: 80.63 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.0002609/0.6916, allocations: 190.9 kB / 387.7 MB, free: 80.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.6937, allocations: 1.9 MB / 389.6 MB, free: 78.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.28e-06/0.6938, allocations: 2.078 kB / 389.6 MB, free: 78.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.6952, allocations: 1.422 MB / 391 MB, free: 77.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.6966, allocations: 301.4 kB / 391.3 MB, free: 76.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.7004, allocations: 2.364 MB / 393.7 MB, free: 74.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009043/0.7013, allocations: 1.169 MB / 394.8 MB, free: 73.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.7015, allocations: 52.39 kB / 394.9 MB, free: 73.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.7016, allocations: 15.44 kB / 394.9 MB, free: 73.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.7016, allocations: 0 / 394.9 MB, free: 73.7 MB / 314.7 MB Notification: Performance of Templates: time 0.02328/0.7249, allocations: 14.7 MB / 409.6 MB, free: 60.11 MB / 314.7 MB