Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGL.delay.inertialDelaySensitive.1..x|dLATREGL.delay.inertialDelaySensitive.1..y|dLATREGL.delay.inertialDelaySensitive.2..x|dLATREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.516e-05, allocations: 8 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09035, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.4631, allocations: 83.11 MB / 425.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.4633, allocations: 74.2 kB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1143/0.5776, allocations: 33.73 MB / 459.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5776, allocations: 0 / 459.5 MB, free: 13.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.5777, allocations: 16 kB / 459.5 MB, free: 13.87 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001458/0.5791, allocations: 1.012 MB / 460.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5792, allocations: 8.031 kB / 460.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.5794, allocations: 86.97 kB / 460.6 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.5803, allocations: 411.7 kB / 461 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.5803, allocations: 23.94 kB / 461 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.5804, allocations: 24 kB / 461 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.5815, allocations: 494.2 kB / 461.5 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-06/0.5815, allocations: 0 / 461.5 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.5816, allocations: 20 kB / 461.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.549e-06/0.5816, allocations: 3.938 kB / 461.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007411/0.5824, allocations: 352.2 kB / 461.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.5845, allocations: 0.9416 MB / 462.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.5854, allocations: 0.4948 MB / 463.3 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.5863, allocations: 492.9 kB / 463.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.5863, allocations: 0 / 463.8 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.5877, allocations: 0.6344 MB / 464.4 MB, free: 8.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.301e-06/0.5877, allocations: 4 kB / 464.4 MB, free: 8.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002277/0.59, allocations: 1.129 MB / 465.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.5903, allocations: 287.3 kB / 465.9 MB, free: 7.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.5923, allocations: 1.011 MB / 466.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.5925, allocations: 41.69 kB / 466.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5926, allocations: 146 kB / 467 MB, free: 5.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5928, allocations: 75.2 kB / 467.1 MB, free: 5.859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.5929, allocations: 12 kB / 467.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5931, allocations: 342.8 kB / 467.5 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.5938, allocations: 347.8 kB / 467.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.5945, allocations: 339.8 kB / 468.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007326/0.5953, allocations: 492.9 kB / 468.6 MB, free: 4.309 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-06/0.5953, allocations: 4 kB / 468.6 MB, free: 4.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002148/0.5974, allocations: 1.094 MB / 469.7 MB, free: 3.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/0.5978, allocations: 251.8 kB / 470 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5978, allocations: 4 kB / 470 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5978, allocations: 0 / 470 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.134e-05/0.5979, allocations: 7.938 kB / 470 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.896e-06/0.5979, allocations: 0 / 470 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.5984, allocations: 39.97 kB / 470 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.5986, allocations: 123.9 kB / 470.1 MB, free: 2.699 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.000526/0.5991, allocations: 410 kB / 470.5 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5993, allocations: 86.97 kB / 470.6 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.5998, allocations: 155.6 kB / 470.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-06/0.5999, allocations: 4 kB / 470.8 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-06/0.5999, allocations: 4 kB / 470.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-06/0.5999, allocations: 0 / 470.8 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/0.6036, allocations: 1.934 MB / 472.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.6036, allocations: 0 / 472.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.6037, allocations: 3.984 kB / 472.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.6037, allocations: 3.953 kB / 472.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.812e-05/0.6038, allocations: 31.98 kB / 472.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.999e-06/0.6038, allocations: 4 kB / 472.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.735e-06/0.6038, allocations: 4 kB / 472.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.6064, allocations: 1.357 MB / 474.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.6077, allocations: 0.5504 MB / 474.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.6079, allocations: 67.91 kB / 474.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.6084, allocations: 31.97 kB / 474.8 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005421/0.609, allocations: 235.7 kB / 475 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/0.6092, allocations: 132 kB / 475.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001705/0.6109, allocations: 0.85 MB / 476 MB, free: 12.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.26e-07/0.6109, allocations: 0 / 476 MB, free: 12.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007035/0.6116, allocations: 120 kB / 476.1 MB, free: 12.5 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0003345/0.612, allocations: 185.4 kB / 476.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.6144, allocations: 1.515 MB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.762e-06/0.6144, allocations: 4 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.616, allocations: 1.14 MB / 478.9 MB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.6173, allocations: 258.1 kB / 479.2 MB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/0.621, allocations: 1.704 MB / 480.9 MB, free: 7.504 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.6222, allocations: 1.043 MB / 481.9 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.6224, allocations: 33.5 kB / 482 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.6224, allocations: 15.44 kB / 482 MB, free: 6.387 MB / 394.7 MB Notification: Performance of SimCode: time 1.774e-06/0.6224, allocations: 0 / 482 MB, free: 6.387 MB / 394.7 MB Notification: Performance of Templates: time 0.02524/0.6477, allocations: 12.64 MB / 494.6 MB, free: 9.57 MB / 410.7 MB