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.1_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.744e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.3215, allocations: 72.4 MB / 336.2 MB, free: 1.336 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.3218, allocations: 71.95 kB / 336.2 MB, free: 1.266 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08639/0.4082, allocations: 26.67 MB / 362.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.4083, allocations: 8 kB / 362.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4083, allocations: 11.94 kB / 362.9 MB, free: 6.574 MB / 314.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.001367/0.4097, allocations: 0.9961 MB / 363.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4097, allocations: 12.03 kB / 363.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.4099, allocations: 90.92 kB / 364 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.4107, allocations: 415.6 kB / 364.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.4108, allocations: 20 kB / 364.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-05/0.4109, allocations: 24 kB / 364.5 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.412, allocations: 490.3 kB / 365 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.412, allocations: 4 kB / 365 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.4121, allocations: 16 kB / 365 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-06/0.4121, allocations: 0 / 365 MB, free: 4.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.4129, allocations: 356.1 kB / 365.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.415, allocations: 0.9145 MB / 366.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.4159, allocations: 498.7 kB / 366.7 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008523/0.4168, allocations: 488.9 kB / 367.2 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.4168, allocations: 3.938 kB / 367.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.418, allocations: 0.6267 MB / 367.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.076e-06/0.418, allocations: 0 / 367.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002301/0.4203, allocations: 1.117 MB / 369 MB, free: 264 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2016/0.622, allocations: 277 kB / 369.2 MB, free: 89.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.6243, allocations: 1.01 MB / 370.2 MB, free: 89.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.6244, allocations: 41.83 kB / 370.3 MB, free: 89.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.6246, allocations: 144.6 kB / 370.4 MB, free: 89.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.6247, allocations: 72.58 kB / 370.5 MB, free: 89.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.6248, allocations: 12.53 kB / 370.5 MB, free: 89.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.6249, allocations: 341.1 kB / 370.8 MB, free: 89.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.6257, allocations: 344.6 kB / 371.2 MB, free: 89.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.6263, allocations: 339.8 kB / 371.5 MB, free: 89.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.6269, allocations: 486.5 kB / 372 MB, free: 89.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.693e-06/0.6269, allocations: 0 / 372 MB, free: 89.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001888/0.6288, allocations: 1.079 MB / 373.1 MB, free: 88.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.629, allocations: 241.8 kB / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.503e-06/0.6291, allocations: 3.562 kB / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6291, allocations: 0 / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.912e-05/0.6291, allocations: 5.75 kB / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.426e-06/0.6291, allocations: 0 / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.6296, allocations: 50.56 kB / 373.3 MB, free: 88.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.6298, allocations: 122.5 kB / 373.5 MB, free: 88.58 MB / 314.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.0003682/0.6302, allocations: 407.5 kB / 373.9 MB, free: 88.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.6303, allocations: 85.81 kB / 373.9 MB, free: 88.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.6307, allocations: 152 kB / 374.1 MB, free: 88.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.04e-06/0.6308, allocations: 3.75 kB / 374.1 MB, free: 88.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.487e-06/0.6308, allocations: 0 / 374.1 MB, free: 88.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-06/0.6308, allocations: 3.562 kB / 374.1 MB, free: 88.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6338, allocations: 1.914 MB / 376 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.106e-06/0.6339, allocations: 0.8906 kB / 376 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.6339, allocations: 0 / 376 MB, free: 87.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.515e-06/0.6339, allocations: 3.953 kB / 376 MB, free: 87.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.774e-05/0.634, allocations: 33.84 kB / 376.1 MB, free: 87.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.033e-06/0.6341, allocations: 3.75 kB / 376.1 MB, free: 87.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-06/0.6341, allocations: 0 / 376.1 MB, free: 87.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.6362, allocations: 1.345 MB / 377.4 MB, free: 87.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.6375, allocations: 0.5515 MB / 378 MB, free: 86.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.6377, allocations: 64.41 kB / 378 MB, free: 86.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.6382, allocations: 37.64 kB / 378.1 MB, free: 86.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/0.6387, allocations: 238.4 kB / 378.3 MB, free: 86.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/0.6389, allocations: 133.1 kB / 378.4 MB, free: 86.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001474/0.6404, allocations: 0.843 MB / 379.3 MB, free: 86.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.6404, allocations: 0 / 379.3 MB, free: 86.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006143/0.641, allocations: 118.8 kB / 379.4 MB, free: 86.74 MB / 314.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.0002609/0.6413, allocations: 194.3 kB / 379.6 MB, free: 86.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.6431, allocations: 1.503 MB / 381.1 MB, free: 85.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.811e-06/0.6432, allocations: 0 / 381.1 MB, free: 85.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.6443, allocations: 1.125 MB / 382.2 MB, free: 84.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6455, allocations: 268.9 kB / 382.5 MB, free: 84.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.649, allocations: 1.684 MB / 384.1 MB, free: 84.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.6504, allocations: 1.029 MB / 385.2 MB, free: 83.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.6507, allocations: 35.75 kB / 385.2 MB, free: 83.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.6508, allocations: 21.12 kB / 385.2 MB, free: 83.11 MB / 314.7 MB Notification: Performance of SimCode: time 2.614e-06/0.6508, allocations: 3.75 kB / 385.2 MB, free: 83.11 MB / 314.7 MB Notification: Performance of Templates: time 0.03456/0.6854, allocations: 12.61 MB / 397.8 MB, free: 72.4 MB / 314.7 MB