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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.315e-05/4.339e-05, allocations: 4.984 kB / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 50.41 MB / 342.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4809, allocations: 83.08 MB / 425.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4812, allocations: 65.34 kB / 425.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08617/0.5674, allocations: 27.09 MB / 452.8 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.818e-06/0.5674, allocations: 0 / 452.8 MB, free: 4.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.933e-05/0.5675, allocations: 12 kB / 452.8 MB, free: 4.535 MB / 362.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.001333/0.5688, allocations: 1.007 MB / 453.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5689, allocations: 12.03 kB / 453.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.5691, allocations: 86.97 kB / 453.9 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.5698, allocations: 408.9 kB / 454.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/0.5699, allocations: 22.88 kB / 454.3 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.18e-05/0.57, allocations: 23.56 kB / 454.3 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.571, allocations: 499.5 kB / 454.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5711, allocations: 0 / 454.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.5712, allocations: 19.98 kB / 454.8 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-06/0.5712, allocations: 0 / 454.8 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.5719, allocations: 356.1 kB / 455.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.5739, allocations: 0.926 MB / 456.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.5748, allocations: 0.4947 MB / 456.6 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008263/0.5757, allocations: 492.9 kB / 457.1 MB, free: 128 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.5757, allocations: 4.047 kB / 457.1 MB, free: 124 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.5768, allocations: 0.6266 MB / 457.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 4.106e-06/0.5768, allocations: 3.938 kB / 457.7 MB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002276/0.5791, allocations: 1.145 MB / 458.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.5794, allocations: 283.3 kB / 459.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.5814, allocations: 1.015 MB / 460.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5815, allocations: 37.7 kB / 460.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5817, allocations: 149.9 kB / 460.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5819, allocations: 67.25 kB / 460.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.5819, allocations: 12 kB / 460.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.5822, allocations: 338.8 kB / 460.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.5829, allocations: 351.8 kB / 461.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/0.5836, allocations: 339.8 kB / 461.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.5843, allocations: 496.8 kB / 461.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-06/0.5843, allocations: 4 kB / 461.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002134/0.5865, allocations: 1.102 MB / 463 MB, free: 9.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002581/0.5868, allocations: 243.9 kB / 463.3 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5868, allocations: 8 kB / 463.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5868, allocations: 3.938 kB / 463.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/0.5869, allocations: 3.984 kB / 463.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.779e-06/0.5869, allocations: 0 / 463.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.5873, allocations: 47.81 kB / 463.3 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.5875, allocations: 124 kB / 463.4 MB, free: 9.465 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.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.0005111/0.5881, allocations: 402.1 kB / 463.8 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.5882, allocations: 87.02 kB / 463.9 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.5887, allocations: 151.6 kB / 464.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-06/0.5887, allocations: 0 / 464.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.948e-06/0.5887, allocations: 4 kB / 464.1 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5888, allocations: 4 kB / 464.1 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.5923, allocations: 1.934 MB / 466 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.332e-06/0.5923, allocations: 3.984 kB / 466 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.5924, allocations: 0 / 466 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.682e-06/0.5924, allocations: 0 / 466 MB, free: 6.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.801e-05/0.5925, allocations: 31.98 kB / 466.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.5925, allocations: 0 / 466.1 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-06/0.5925, allocations: 4 kB / 466.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.5951, allocations: 1.365 MB / 467.4 MB, free: 5.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.5964, allocations: 0.5582 MB / 468 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.5966, allocations: 59.95 kB / 468 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5971, allocations: 39.88 kB / 468.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005578/0.5977, allocations: 231.7 kB / 468.3 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.5979, allocations: 131.9 kB / 468.4 MB, free: 4.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001674/0.5996, allocations: 0.8539 MB / 469.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5996, allocations: 0 / 469.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.6003, allocations: 120 kB / 469.4 MB, free: 3.277 MB / 378.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.0003316/0.6006, allocations: 181.2 kB / 469.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.603, allocations: 1.515 MB / 471.1 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.114e-06/0.603, allocations: 0 / 471.1 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.6046, allocations: 1.136 MB / 472.2 MB, free: 276 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6058, allocations: 265.1 kB / 472.5 MB, free: 28 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.6095, allocations: 1.712 MB / 474.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.6107, allocations: 1.043 MB / 475.2 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.6108, allocations: 29.52 kB / 475.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.6109, allocations: 15.44 kB / 475.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.82e-06/0.6109, allocations: 0 / 475.3 MB, free: 13.17 MB / 394.7 MB Notification: Performance of Templates: time 0.02517/0.6361, allocations: 12.64 MB / 487.9 MB, free: 364 kB / 394.7 MB