Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 1.85/1.85, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.873e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08179, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3708/0.4527, allocations: 81.94 MB / 398.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4529, allocations: 65.91 kB / 398.9 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08175/0.5347, allocations: 26.78 MB / 425.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.929e-06/0.5347, allocations: 4 kB / 425.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.719e-05/0.5348, allocations: 8 kB / 425.7 MB, free: 15.86 MB / 346.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.001278/0.5361, allocations: 1.008 MB / 426.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5361, allocations: 12.03 kB / 426.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.5363, allocations: 83.06 kB / 426.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.5371, allocations: 419.3 kB / 427.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.5371, allocations: 15.38 kB / 427.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.5372, allocations: 23.56 kB / 427.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.5382, allocations: 496.7 kB / 427.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5383, allocations: 3.984 kB / 427.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.5384, allocations: 19.14 kB / 427.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.784e-06/0.5384, allocations: 0 / 427.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.5395, allocations: 373.3 kB / 428.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.5417, allocations: 0.9089 MB / 429 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.5431, allocations: 0.4999 MB / 429.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.5446, allocations: 498.4 kB / 430 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5446, allocations: 0 / 430 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.5465, allocations: 0.6302 MB / 430.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 4.876e-06/0.5465, allocations: 0 / 430.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003582/0.5501, allocations: 1.136 MB / 431.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003126/0.5504, allocations: 287.4 kB / 432.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003463/0.5539, allocations: 1.02 MB / 433.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5541, allocations: 41.14 kB / 433.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.5544, allocations: 146.9 kB / 433.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.5546, allocations: 70.44 kB / 433.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.512e-05/0.5547, allocations: 7.688 kB / 433.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.5551, allocations: 349.7 kB / 433.7 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5561, allocations: 341.2 kB / 434 MB, free: 8.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.5568, allocations: 353.4 kB / 434.4 MB, free: 8.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.5575, allocations: 485.8 kB / 434.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.295e-06/0.5575, allocations: 0 / 434.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002042/0.5596, allocations: 1.107 MB / 436 MB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002607/0.5599, allocations: 244.6 kB / 436.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.015e-06/0.5599, allocations: 0 / 436.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.5599, allocations: 0 / 436.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-05/0.56, allocations: 4 kB / 436.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.56, allocations: 4 kB / 436.2 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.5604, allocations: 39.31 kB / 436.2 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.5607, allocations: 126.6 kB / 436.4 MB, free: 6.777 MB / 346.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.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.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.0005046/0.5612, allocations: 416.4 kB / 436.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5614, allocations: 87.06 kB / 436.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.5618, allocations: 145.5 kB / 437 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5619, allocations: 8 kB / 437 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-06/0.5619, allocations: 3.938 kB / 437 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-06/0.5619, allocations: 4 kB / 437 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.5653, allocations: 1.929 MB / 438.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.267e-06/0.5654, allocations: 3.984 kB / 439 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.5654, allocations: 0 / 439 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5654, allocations: 4 kB / 439 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.774e-05/0.5655, allocations: 34.17 kB / 439 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5655, allocations: 4 kB / 439 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-06/0.5656, allocations: 0 / 439 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.568, allocations: 1.356 MB / 440.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.5692, allocations: 0.5549 MB / 440.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.5694, allocations: 59.22 kB / 441 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.5699, allocations: 39.5 kB / 441 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005334/0.5704, allocations: 245.4 kB / 441.2 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/0.5707, allocations: 128.5 kB / 441.4 MB, free: 2.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001657/0.5723, allocations: 0.8476 MB / 442.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.5723, allocations: 0 / 442.2 MB, free: 1.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006163/0.573, allocations: 120 kB / 442.3 MB, free: 1.551 MB / 346.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,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.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.0003177/0.5733, allocations: 184.4 kB / 442.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.5756, allocations: 1.519 MB / 444 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.288e-06/0.5756, allocations: 0 / 444 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5772, allocations: 1.136 MB / 445.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5784, allocations: 258.6 kB / 445.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5819, allocations: 1.712 MB / 447.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.583, allocations: 1.035 MB / 448.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.5832, allocations: 37.5 kB / 448.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.5833, allocations: 15.44 kB / 448.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.696e-06/0.5833, allocations: 0 / 448.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of Templates: time 0.02514/0.6084, allocations: 12.63 MB / 460.8 MB, free: 14.57 MB / 378.7 MB