Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.801e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09468, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.4867, allocations: 83.5 MB / 426 MB, free: 10.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4869, allocations: 70.47 kB / 426.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1188/0.6058, allocations: 39.14 MB / 465.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.919e-06/0.6058, allocations: 0 / 465.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.099e-05/0.6059, allocations: 16 kB / 465.3 MB, free: 8.426 MB / 378.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.001844/0.6077, allocations: 1.319 MB / 466.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.6078, allocations: 12.03 kB / 466.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002565/0.6081, allocations: 134.4 kB / 466.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.609, allocations: 0.5094 MB / 467.2 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.6091, allocations: 27.98 kB / 467.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6092, allocations: 28 kB / 467.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.6105, allocations: 0.6066 MB / 467.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.72e-06/0.6106, allocations: 0 / 467.9 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.6107, allocations: 15.98 kB / 467.9 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.6107, allocations: 7.938 kB / 467.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000988/0.6117, allocations: 471.7 kB / 468.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.6143, allocations: 1.17 MB / 469.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.6156, allocations: 0.6975 MB / 470.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.6167, allocations: 0.6764 MB / 470.9 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.6167, allocations: 4 kB / 470.9 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00131/0.618, allocations: 0.7416 MB / 471.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.951e-06/0.6181, allocations: 0 / 471.7 MB, free: 1.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002773/0.6208, allocations: 1.414 MB / 473.1 MB, free: 292 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003166/0.6212, allocations: 325 kB / 473.4 MB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/0.6247, allocations: 1.623 MB / 475 MB, free: 14.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.6249, allocations: 45.69 kB / 475.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.6252, allocations: 248.9 kB / 475.3 MB, free: 13.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.6254, allocations: 83.14 kB / 475.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.6254, allocations: 19.98 kB / 475.4 MB, free: 13.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6256, allocations: 326.8 kB / 475.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.6266, allocations: 455.7 kB / 476.2 MB, free: 13.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.6274, allocations: 455.8 kB / 476.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008767/0.6283, allocations: 0.5755 MB / 477.2 MB, free: 12.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6284, allocations: 4 kB / 477.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002535/0.6309, allocations: 1.304 MB / 478.5 MB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.6312, allocations: 289.5 kB / 478.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-06/0.6313, allocations: 0 / 478.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6313, allocations: 0 / 478.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.049e-05/0.6313, allocations: 7.938 kB / 478.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.6314, allocations: 3.984 kB / 478.8 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.6319, allocations: 47.81 kB / 478.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.6321, allocations: 132.2 kB / 479 MB, free: 10.14 MB / 394.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.0005919/0.6328, allocations: 463.7 kB / 479.4 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.633, allocations: 134.4 kB / 479.6 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008121/0.6338, allocations: 248 kB / 479.8 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.677e-06/0.6339, allocations: 0 / 479.8 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-06/0.6339, allocations: 4 kB / 479.8 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-06/0.6339, allocations: 0 / 479.8 MB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.6385, allocations: 2.415 MB / 482.2 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.258e-06/0.6386, allocations: 0 / 482.2 MB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.6386, allocations: 4 kB / 482.2 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-06/0.6386, allocations: 0 / 482.2 MB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.6387, allocations: 31.98 kB / 482.3 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6387, allocations: 3.984 kB / 482.3 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-06/0.6388, allocations: 0 / 482.3 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.6418, allocations: 1.634 MB / 483.9 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/0.6436, allocations: 0.6785 MB / 484.6 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.6439, allocations: 63.95 kB / 484.6 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.6444, allocations: 39.97 kB / 484.7 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008395/0.6453, allocations: 375.6 kB / 485 MB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/0.6455, allocations: 131.9 kB / 485.2 MB, free: 3.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002859/0.6484, allocations: 1.335 MB / 486.5 MB, free: 2.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.6484, allocations: 0 / 486.5 MB, free: 2.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007937/0.6492, allocations: 148 kB / 486.6 MB, free: 2.203 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,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.0003432/0.6496, allocations: 193.7 kB / 486.8 MB, free: 2.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.6525, allocations: 1.917 MB / 488.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.435e-06/0.6525, allocations: 0 / 488.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6545, allocations: 1.425 MB / 490.2 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.6559, allocations: 307.1 kB / 490.5 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.6616, allocations: 2.612 MB / 493.1 MB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.6633, allocations: 1.235 MB / 494.3 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.6634, allocations: 15.44 kB / 494.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.12e-06/0.6634, allocations: 0 / 494.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of Templates: time 0.0185/0.6819, allocations: 10.08 MB / 0.4926 GB, free: 64 kB / 410.7 MB