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_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.945e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002527/0.1223, allocations: 1.459 MB / 346.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1254, allocations: 0.9365 MB / 347.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1256, allocations: 8 kB / 347.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1258, allocations: 19.84 kB / 347.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.1261, allocations: 163.7 kB / 347.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1265, allocations: 99.73 kB / 347.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003695/0.1269, allocations: 195.7 kB / 347.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.1271, allocations: 72.44 kB / 347.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.1283, allocations: 0.624 MB / 348.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.1286, allocations: 203.6 kB / 348.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1288, allocations: 12 kB / 348.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1289, allocations: 12 kB / 348.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.1293, allocations: 243.2 kB / 349 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1296, allocations: 56 kB / 349.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.1312, allocations: 1.2 MB / 350.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1313, allocations: 0 / 350.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1313, allocations: 0 / 350.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.1314, allocations: 0 / 350.3 MB, free: 3.637 MB / 282.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.002047/0.1334, allocations: 1.297 MB / 351.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1335, allocations: 8.031 kB / 351.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003245/0.1338, allocations: 130.4 kB / 351.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/0.1348, allocations: 0.5247 MB / 352.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.1349, allocations: 27.98 kB / 352.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1351, allocations: 28 kB / 352.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.1368, allocations: 0.6183 MB / 352.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1368, allocations: 0 / 352.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-05/0.1369, allocations: 23.89 kB / 352.9 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.137, allocations: 12 kB / 352.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.1383, allocations: 479.7 kB / 353.4 MB, free: 352 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.1411, allocations: 1.17 MB / 354.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.1428, allocations: 0.7093 MB / 355.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.1428, allocations: 7.984 kB / 355.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.1445, allocations: 0.7484 MB / 356 MB, free: 13.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/0.1445, allocations: 0 / 356 MB, free: 13.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.004942/0.1495, allocations: 2.132 MB / 358.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003119/0.1499, allocations: 329 kB / 358.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/0.1541, allocations: 1.632 MB / 360.1 MB, free: 9.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.1544, allocations: 45.69 kB / 360.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.1547, allocations: 257 kB / 360.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.1549, allocations: 79.08 kB / 360.5 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.155, allocations: 12.11 kB / 360.5 MB, free: 8.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1552, allocations: 330.7 kB / 360.8 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/0.1564, allocations: 459.7 kB / 361.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.1576, allocations: 490.3 kB / 361.7 MB, free: 7.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.1587, allocations: 0.587 MB / 362.3 MB, free: 7.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1587, allocations: 0 / 362.3 MB, free: 7.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003078/0.1618, allocations: 1.322 MB / 363.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.1622, allocations: 293.5 kB / 363.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1622, allocations: 0 / 363.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1622, allocations: 8.062 kB / 363.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.12e-05/0.1623, allocations: 7.938 kB / 364 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1623, allocations: 7.984 kB / 364 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/0.1631, allocations: 39.88 kB / 364 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.1633, allocations: 124.2 kB / 364.1 MB, free: 5.133 MB / 298.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.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,$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,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,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.002179/0.1655, allocations: 0.9998 MB / 365.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.1659, allocations: 134.5 kB / 365.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.1666, allocations: 247.9 kB / 365.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1666, allocations: 0 / 365.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1667, allocations: 0 / 365.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1667, allocations: 3.984 kB / 365.5 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.1722, allocations: 2.427 MB / 367.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.1723, allocations: 0 / 367.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.1723, allocations: 4 kB / 367.9 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.1723, allocations: 7.938 kB / 367.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.1725, allocations: 35.97 kB / 368 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1725, allocations: 0 / 368 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.1725, allocations: 0 / 368 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003843/0.1763, allocations: 1.661 MB / 369.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/0.1784, allocations: 0.6746 MB / 370.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.1788, allocations: 63.95 kB / 370.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.1795, allocations: 43.91 kB / 370.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.1806, allocations: 379.6 kB / 370.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/0.1808, allocations: 131.9 kB / 370.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003746/0.1846, allocations: 1.341 MB / 372.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1847, allocations: 0 / 372.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009508/0.1856, allocations: 151.9 kB / 372.4 MB, free: 12.57 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.0004132/0.1861, allocations: 197.5 kB / 372.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003775/0.1898, allocations: 1.932 MB / 374.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1899, allocations: 0 / 374.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.1923, allocations: 1.448 MB / 376 MB, free: 8.797 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.1945, allocations: 289.5 kB / 376.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/0.2022, allocations: 3.261 MB / 379.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.2039, allocations: 1.219 MB / 380.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.204, allocations: 19.44 kB / 380.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of SimCode: time 1.814e-06/0.204, allocations: 0 / 380.8 MB, free: 3.957 MB / 314.7 MB Notification: Performance of Templates: time 0.02256/0.2266, allocations: 10.13 MB / 390.9 MB, free: 9.746 MB / 330.7 MB