Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.356e-05/3.371e-05, allocations: 7.984 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09035, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.4906, allocations: 83.46 MB / 426 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4908, allocations: 66.16 kB / 426.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09466/0.5855, allocations: 31.08 MB / 457.1 MB, free: 500 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.979e-06/0.5855, allocations: 0 / 457.1 MB, free: 500 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.87e-05/0.5856, allocations: 12 kB / 457.2 MB, free: 488 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.001893/0.5875, allocations: 1.328 MB / 458.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5875, allocations: 8.031 kB / 458.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.5878, allocations: 130.5 kB / 458.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.5888, allocations: 0.5132 MB / 459.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.599e-05/0.5889, allocations: 27.94 kB / 459.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.589, allocations: 35.98 kB / 459.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5903, allocations: 0.6066 MB / 459.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5904, allocations: 0 / 459.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.5905, allocations: 19.98 kB / 459.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-06/0.5905, allocations: 4 kB / 459.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/0.5915, allocations: 463.8 kB / 460.3 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.5942, allocations: 1.166 MB / 461.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.5954, allocations: 0.6936 MB / 462.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.5967, allocations: 0.6803 MB / 462.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.5967, allocations: 7.953 kB / 462.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001348/0.5981, allocations: 0.7415 MB / 463.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 4.01e-06/0.5981, allocations: 0 / 463.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002852/0.6009, allocations: 1.414 MB / 465 MB, free: 8.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002829/0.6013, allocations: 328.9 kB / 465.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003725/0.605, allocations: 1.623 MB / 466.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001828/0.6052, allocations: 45.64 kB / 467 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.6055, allocations: 256.9 kB / 467.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.6057, allocations: 79.16 kB / 467.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-05/0.6058, allocations: 8 kB / 467.3 MB, free: 6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.606, allocations: 326.8 kB / 467.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009944/0.607, allocations: 451.8 kB / 468.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.6079, allocations: 451.8 kB / 468.5 MB, free: 4.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.6088, allocations: 0.5871 MB / 469.1 MB, free: 4.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.618e-06/0.6089, allocations: 4 kB / 469.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002597/0.6115, allocations: 1.3 MB / 470.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.6118, allocations: 297.5 kB / 470.7 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.246e-06/0.6118, allocations: 4 kB / 470.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6119, allocations: 0 / 470.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.609e-05/0.6119, allocations: 0 / 470.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6119, allocations: 4 kB / 470.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.6125, allocations: 43.88 kB / 470.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/0.6127, allocations: 128.2 kB / 470.9 MB, free: 2.277 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.000593/0.6133, allocations: 459.7 kB / 471.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6136, allocations: 130.5 kB / 471.4 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008337/0.6144, allocations: 260 kB / 471.7 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.6144, allocations: 4 kB / 471.7 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.094e-06/0.6145, allocations: 3.938 kB / 471.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-06/0.6145, allocations: 0 / 471.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/0.6206, allocations: 2.407 MB / 474.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.067e-06/0.6206, allocations: 0 / 474.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.6207, allocations: 7.938 kB / 474.1 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-06/0.6207, allocations: 4 kB / 474.1 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/0.6209, allocations: 35.98 kB / 474.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6209, allocations: 0 / 474.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.801e-06/0.6209, allocations: 0 / 474.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.6261, allocations: 1.63 MB / 475.8 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002677/0.6288, allocations: 0.6746 MB / 476.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.6292, allocations: 63.92 kB / 476.5 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005358/0.6297, allocations: 47.89 kB / 476.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008766/0.6306, allocations: 375.6 kB / 476.9 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/0.6308, allocations: 135.9 kB / 477.1 MB, free: 11.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002959/0.6338, allocations: 1.332 MB / 478.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.6338, allocations: 0 / 478.4 MB, free: 10.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008077/0.6347, allocations: 148 kB / 478.6 MB, free: 10.32 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.0003508/0.635, allocations: 194.4 kB / 478.7 MB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.6381, allocations: 1.913 MB / 480.7 MB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.626e-06/0.6381, allocations: 0 / 480.7 MB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.6402, allocations: 1.432 MB / 482.1 MB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.6417, allocations: 300.4 kB / 482.4 MB, free: 6.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005926/0.6477, allocations: 2.616 MB / 485 MB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.6493, allocations: 1.227 MB / 486.2 MB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.6494, allocations: 15.44 kB / 486.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.511e-06/0.6494, allocations: 0 / 486.2 MB, free: 2.367 MB / 394.7 MB Notification: Performance of Templates: time 0.01906/0.6685, allocations: 10.08 MB / 496.3 MB, free: 8.188 MB / 410.7 MB