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_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.039e-05, allocations: 4 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGL): time 0.002438/0.3072, allocations: 1.398 MB / 304.7 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3103, allocations: 0.9171 MB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3105, allocations: 3.156 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.3107, allocations: 22.03 kB / 305.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3108, allocations: 34.98 kB / 305.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.3112, allocations: 64.08 kB / 305.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003204/0.3115, allocations: 158.9 kB / 305.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.3117, allocations: 56.3 kB / 305.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.3127, allocations: 0.51 MB / 306.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.3131, allocations: 158.9 kB / 306.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3132, allocations: 8 kB / 306.6 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.3133, allocations: 12 kB / 306.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.3135, allocations: 147.5 kB / 306.8 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.3138, allocations: 40 kB / 306.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.315, allocations: 0.8631 MB / 307.7 MB, free: 9.297 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.315, allocations: 0 / 307.7 MB, free: 9.297 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.315, allocations: 0 / 307.7 MB, free: 9.297 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.3151, allocations: 4 kB / 307.7 MB, free: 9.293 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.001448/0.3165, allocations: 0.9853 MB / 308.7 MB, free: 8.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3166, allocations: 12.03 kB / 308.7 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.3169, allocations: 90.92 kB / 308.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.3177, allocations: 419.4 kB / 309.2 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.3178, allocations: 20 kB / 309.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.3179, allocations: 23.98 kB / 309.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3193, allocations: 0.4943 MB / 309.7 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3194, allocations: 3.984 kB / 309.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.3195, allocations: 16 kB / 309.7 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3195, allocations: 4 kB / 309.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3205, allocations: 364.1 kB / 310.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.3228, allocations: 0.9339 MB / 311 MB, free: 5.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.3241, allocations: 0.4947 MB / 311.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3242, allocations: 0 / 311.5 MB, free: 5.246 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001439/0.3256, allocations: 0.6344 MB / 312.2 MB, free: 4.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 4.559e-06/0.3257, allocations: 4 kB / 312.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.004129/0.3298, allocations: 1.758 MB / 313.9 MB, free: 2.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.3301, allocations: 287.3 kB / 314.2 MB, free: 2.371 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.3326, allocations: 1.023 MB / 315.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001984/0.3329, allocations: 41.7 kB / 315.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3331, allocations: 196.3 kB / 315.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.3333, allocations: 71.23 kB / 315.5 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3334, allocations: 12 kB / 315.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3335, allocations: 322.8 kB / 315.8 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009465/0.3345, allocations: 351.7 kB / 316.2 MB, free: 360 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/0.3355, allocations: 374.4 kB / 316.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.3365, allocations: 0.4928 MB / 317 MB, free: 15.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.3366, allocations: 0 / 317 MB, free: 15.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002732/0.3393, allocations: 1.104 MB / 318.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.3397, allocations: 248.8 kB / 318.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3397, allocations: 4.062 kB / 318.4 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3397, allocations: 4 kB / 318.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.3398, allocations: 0 / 318.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3398, allocations: 0 / 318.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.3405, allocations: 47.81 kB / 318.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.3407, allocations: 123.9 kB / 318.6 MB, free: 13.82 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.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$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,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,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.00165/0.3424, allocations: 0.764 MB / 319.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.3427, allocations: 94.95 kB / 319.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.3432, allocations: 155.5 kB / 319.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.3432, allocations: 4 kB / 319.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3432, allocations: 0 / 319.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3433, allocations: 0 / 319.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.3481, allocations: 1.946 MB / 321.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3481, allocations: 0 / 321.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.3481, allocations: 4 kB / 321.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.3482, allocations: 4 kB / 321.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.3483, allocations: 35.97 kB / 321.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.3483, allocations: 0 / 321.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.3484, allocations: 7.984 kB / 321.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.3517, allocations: 1.373 MB / 323 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.3534, allocations: 0.5542 MB / 323.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/0.3538, allocations: 59.97 kB / 323.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.3544, allocations: 39.88 kB / 323.6 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007469/0.3552, allocations: 231.7 kB / 323.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/0.3555, allocations: 135.8 kB / 324 MB, free: 8.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002292/0.3578, allocations: 0.8616 MB / 324.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.382e-06/0.3578, allocations: 0 / 324.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008475/0.3587, allocations: 120 kB / 324.9 MB, free: 7.211 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,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.0004349/0.3592, allocations: 184.4 kB / 325.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003232/0.3624, allocations: 1.538 MB / 326.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3625, allocations: 0 / 326.7 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.3645, allocations: 1.144 MB / 327.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.3665, allocations: 270.7 kB / 328.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/0.372, allocations: 2.222 MB / 330.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.3732, allocations: 1.027 MB / 331.3 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.3733, allocations: 15.44 kB / 331.3 MB, free: 0.582 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3733, allocations: 4 kB / 331.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of Templates: time 0.01733/0.3907, allocations: 7.524 MB / 338.9 MB, free: 8.922 MB / 282.7 MB