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.2_cpp_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 194.9 MB / 211.2 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.79e-05/4.787e-05, allocations: 4 kB / 258.8 MB, free: 8.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3258, allocations: 44.51 MB / 303.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002535/0.3284, allocations: 1.388 MB / 304.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.3315, allocations: 0.9208 MB / 305.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.3317, allocations: 4.75 kB / 305.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.3319, allocations: 21.09 kB / 305.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.3321, allocations: 26.33 kB / 305.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.3325, allocations: 80.92 kB / 305.7 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.3328, allocations: 143.2 kB / 305.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.333, allocations: 60.03 kB / 305.9 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009697/0.334, allocations: 0.5058 MB / 306.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.3344, allocations: 161 kB / 306.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3345, allocations: 15.94 kB / 306.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.3346, allocations: 8 kB / 306.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.3349, allocations: 151.5 kB / 306.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.3351, allocations: 44 kB / 306.8 MB, free: 10 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3363, allocations: 0.8553 MB / 307.7 MB, free: 9.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3363, allocations: 3.938 kB / 307.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3363, allocations: 0 / 307.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.3364, allocations: 0 / 307.7 MB, free: 9.141 MB / 250.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.001463/0.3378, allocations: 0.9932 MB / 308.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3379, allocations: 11.97 kB / 308.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.3382, allocations: 94.91 kB / 308.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.339, allocations: 407.5 kB / 309.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.339, allocations: 19.98 kB / 309.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3392, allocations: 24 kB / 309.2 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.3406, allocations: 0.4943 MB / 309.7 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3406, allocations: 4 kB / 309.7 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.3407, allocations: 19.98 kB / 309.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3407, allocations: 0 / 309.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.3418, allocations: 364.1 kB / 310.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3441, allocations: 0.93 MB / 311 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3455, allocations: 0.5064 MB / 311.5 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3456, allocations: 0 / 311.5 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.347, allocations: 0.6343 MB / 312.1 MB, free: 4.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.646e-06/0.347, allocations: 4 kB / 312.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.004246/0.3513, allocations: 1.758 MB / 313.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002971/0.3516, allocations: 283.3 kB / 314.2 MB, free: 2.215 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.3544, allocations: 1.023 MB / 315.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.3546, allocations: 41.7 kB / 315.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3548, allocations: 204.3 kB / 315.4 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.355, allocations: 63.27 kB / 315.5 MB, free: 0.875 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.3551, allocations: 12 kB / 315.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3553, allocations: 326.8 kB / 315.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.3562, allocations: 343.8 kB / 316.2 MB, free: 204 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009903/0.3572, allocations: 374.4 kB / 316.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.3583, allocations: 0.5007 MB / 317 MB, free: 15.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3583, allocations: 0 / 317 MB, free: 15.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002709/0.361, allocations: 1.096 MB / 318.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002861/0.3613, allocations: 245 kB / 318.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3614, allocations: 4.062 kB / 318.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3614, allocations: 4 kB / 318.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.3614, allocations: 7.984 kB / 318.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3615, allocations: 4 kB / 318.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.3621, allocations: 39.88 kB / 318.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.3623, allocations: 123.9 kB / 318.6 MB, free: 13.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,$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,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,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.001573/0.3639, allocations: 0.7717 MB / 319.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.3642, allocations: 91.02 kB / 319.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.3647, allocations: 147.5 kB / 319.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3647, allocations: 3.938 kB / 319.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3647, allocations: 0 / 319.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3647, allocations: 3.938 kB / 319.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/0.3692, allocations: 1.958 MB / 321.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3692, allocations: 4 kB / 321.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.3693, allocations: 4 kB / 321.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.3693, allocations: 0 / 321.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3694, allocations: 31.98 kB / 321.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3694, allocations: 0 / 321.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3694, allocations: 0 / 321.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.3726, allocations: 1.381 MB / 322.9 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/0.3743, allocations: 0.5504 MB / 323.5 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/0.3746, allocations: 59.95 kB / 323.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.3752, allocations: 47.81 kB / 323.6 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006763/0.3759, allocations: 235.7 kB / 323.8 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/0.3761, allocations: 127.9 kB / 324 MB, free: 8.027 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002198/0.3783, allocations: 0.8615 MB / 324.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3784, allocations: 0 / 324.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008245/0.3792, allocations: 120 kB / 324.9 MB, free: 7.051 MB / 266.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.0004071/0.3796, allocations: 192.4 kB / 325.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.3828, allocations: 1.527 MB / 326.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.3828, allocations: 0 / 326.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.3849, allocations: 1.152 MB / 327.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.3868, allocations: 248.5 kB / 328 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.3923, allocations: 2.218 MB / 330.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.3937, allocations: 1.031 MB / 331.3 MB, free: 460 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.3938, allocations: 19.44 kB / 331.3 MB, free: 444 kB / 266.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3938, allocations: 0 / 331.3 MB, free: 444 kB / 266.7 MB Notification: Performance of Templates: time 0.01763/0.4114, allocations: 7.532 MB / 338.8 MB, free: 8.77 MB / 282.7 MB