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_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.91e-05, allocations: 4 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.0902, allocations: 50.42 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.5079, allocations: 83.4 MB / 426.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.5082, allocations: 70.34 kB / 426.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09781/0.606, allocations: 31.08 MB / 457.6 MB, free: 336 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.606, allocations: 0 / 457.6 MB, free: 336 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.6061, allocations: 16 kB / 457.6 MB, free: 320 kB / 362.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.001773/0.6079, allocations: 1.319 MB / 459 MB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6079, allocations: 8.031 kB / 459 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.6082, allocations: 130.5 kB / 459.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009283/0.6091, allocations: 0.5248 MB / 459.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.6092, allocations: 27.94 kB / 459.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6093, allocations: 28 kB / 459.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.6107, allocations: 0.6105 MB / 460.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.813e-06/0.6107, allocations: 0 / 460.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.6108, allocations: 12 kB / 460.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-06/0.6108, allocations: 4 kB / 460.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.6117, allocations: 467.8 kB / 460.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.6144, allocations: 1.174 MB / 461.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.6155, allocations: 0.6898 MB / 462.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6167, allocations: 0.6725 MB / 463.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.6167, allocations: 15.88 kB / 463.3 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.618, allocations: 0.7337 MB / 464 MB, free: 9.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.291e-05/0.6181, allocations: 0 / 464 MB, free: 9.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002718/0.6208, allocations: 1.422 MB / 465.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/0.6211, allocations: 337 kB / 465.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.6244, allocations: 1.615 MB / 467.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.6245, allocations: 45.69 kB / 467.4 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.6249, allocations: 250.3 kB / 467.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.6251, allocations: 67.17 kB / 467.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.6252, allocations: 12 kB / 467.8 MB, free: 5.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.6254, allocations: 378.7 kB / 468.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009208/0.6264, allocations: 463.8 kB / 468.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008806/0.6273, allocations: 451.8 kB / 469 MB, free: 4.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.6282, allocations: 0.5754 MB / 469.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.6282, allocations: 0 / 469.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002607/0.6308, allocations: 1.35 MB / 471 MB, free: 2.465 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.6312, allocations: 297.5 kB / 471.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.486e-06/0.6312, allocations: 0 / 471.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6312, allocations: 0 / 471.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.578e-05/0.6313, allocations: 0 / 471.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6313, allocations: 4 kB / 471.3 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.6318, allocations: 47.88 kB / 471.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.6321, allocations: 124.2 kB / 471.4 MB, free: 1.953 MB / 378.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.0005893/0.6327, allocations: 459.7 kB / 471.9 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.6329, allocations: 138.4 kB / 472 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.6337, allocations: 256 kB / 472.3 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.023e-06/0.6337, allocations: 4 kB / 472.3 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.641e-06/0.6337, allocations: 4 kB / 472.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-06/0.6337, allocations: 3.938 kB / 472.3 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004542/0.6383, allocations: 2.399 MB / 474.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.271e-06/0.6383, allocations: 0 / 474.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.6384, allocations: 7.938 kB / 474.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-06/0.6384, allocations: 0 / 474.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.6385, allocations: 35.98 kB / 474.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.425e-06/0.6385, allocations: 0 / 474.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6385, allocations: 0 / 474.7 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/0.6416, allocations: 1.642 MB / 476.3 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.6432, allocations: 0.6708 MB / 477 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.6435, allocations: 63.92 kB / 477.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.644, allocations: 39.86 kB / 477.1 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/0.6448, allocations: 379.5 kB / 477.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/0.6451, allocations: 135.9 kB / 477.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002664/0.6478, allocations: 1.339 MB / 479 MB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.6478, allocations: 0 / 479 MB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00068/0.6485, allocations: 148 kB / 479.1 MB, free: 9.992 MB / 394.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.0003317/0.6488, allocations: 189.7 kB / 479.3 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.6518, allocations: 1.917 MB / 481.2 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.074e-06/0.6518, allocations: 0 / 481.2 MB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/0.6537, allocations: 1.429 MB / 482.6 MB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.6552, allocations: 300.7 kB / 482.9 MB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.6605, allocations: 2.517 MB / 485.5 MB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.662, allocations: 1.223 MB / 486.7 MB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.6622, allocations: 41.48 kB / 486.7 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.6623, allocations: 15.44 kB / 486.7 MB, free: 2.105 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6623, allocations: 0 / 486.7 MB, free: 2.105 MB / 394.7 MB Notification: Performance of Templates: time 0.03509/0.6974, allocations: 15.19 MB / 0.4902 GB, free: 2.633 MB / 410.7 MB