Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadModel(Modelica): time 2.169/2.17, allocations: 194.9 MB / 211.2 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.347e-05, allocations: 7.938 kB / 258.8 MB, free: 8.703 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3024, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002465/0.3049, allocations: 1.405 MB / 304.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.308, allocations: 0.9169 MB / 305.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3082, allocations: 7.688 kB / 305.6 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.3083, allocations: 22.14 kB / 305.6 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.3085, allocations: 35.47 kB / 305.7 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3089, allocations: 69.42 kB / 305.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.3092, allocations: 152 kB / 305.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.3095, allocations: 68.95 kB / 306 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.3107, allocations: 0.6902 MB / 306.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.3111, allocations: 183.6 kB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3112, allocations: 12 kB / 306.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.3114, allocations: 8 kB / 306.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.3116, allocations: 155.5 kB / 307 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.3119, allocations: 40 kB / 307 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.3131, allocations: 0.867 MB / 307.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3132, allocations: 0 / 307.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3132, allocations: 0 / 307.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.3132, allocations: 0 / 307.9 MB, free: 9.059 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.001497/0.3147, allocations: 0.9931 MB / 308.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3148, allocations: 16.03 kB / 308.9 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.315, allocations: 90.92 kB / 309 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.3159, allocations: 419.5 kB / 309.4 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.645e-05/0.3159, allocations: 20 kB / 309.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3161, allocations: 20 kB / 309.4 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.3176, allocations: 0.5022 MB / 310 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3176, allocations: 0 / 310 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.3177, allocations: 12 kB / 310 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3177, allocations: 4 kB / 310 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3188, allocations: 368 kB / 310.3 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.3208, allocations: 0.852 MB / 311.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3221, allocations: 0.5179 MB / 311.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3222, allocations: 0 / 311.7 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.3236, allocations: 0.6548 MB / 312.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.487e-06/0.3237, allocations: 0 / 312.4 MB, free: 4.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.004206/0.3279, allocations: 1.783 MB / 314.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002501/0.3282, allocations: 279.3 kB / 314.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002535/0.3307, allocations: 1.035 MB / 315.4 MB, free: 1.117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002028/0.331, allocations: 49.62 kB / 315.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3312, allocations: 200.3 kB / 315.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.3314, allocations: 71.11 kB / 315.8 MB, free: 0.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.3314, allocations: 15.98 kB / 315.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3316, allocations: 326.8 kB / 316.1 MB, free: 460 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.3326, allocations: 348.1 kB / 316.4 MB, free: 112 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.3336, allocations: 383.1 kB / 316.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009531/0.3346, allocations: 495.6 kB / 317.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3346, allocations: 7.953 kB / 317.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002692/0.3373, allocations: 1.106 MB / 318.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.3376, allocations: 247.8 kB / 318.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3376, allocations: 0 / 318.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.3377, allocations: 4 kB / 318.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.217e-05/0.3377, allocations: 3.984 kB / 318.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3377, allocations: 8 kB / 318.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.3384, allocations: 39.92 kB / 318.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.3386, allocations: 128.2 kB / 318.8 MB, free: 13.56 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * 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.001495/0.3401, allocations: 0.7601 MB / 319.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3404, allocations: 90.92 kB / 319.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.3408, allocations: 151.7 kB / 319.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3408, allocations: 8 kB / 319.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3409, allocations: 0 / 319.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.3409, allocations: 3.984 kB / 319.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.3454, allocations: 1.97 MB / 321.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3455, allocations: 0 / 321.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.3455, allocations: 0 / 321.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.3455, allocations: 7.938 kB / 321.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.3457, allocations: 35.97 kB / 321.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3457, allocations: 7.938 kB / 321.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3457, allocations: 4 kB / 321.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003257/0.349, allocations: 1.396 MB / 323.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.3507, allocations: 0.5582 MB / 323.8 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.351, allocations: 63.95 kB / 323.9 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.3516, allocations: 23.98 kB / 323.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/0.3523, allocations: 247.7 kB / 324.1 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002982/0.3526, allocations: 159.9 kB / 324.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002276/0.3549, allocations: 0.8577 MB / 325.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.355, allocations: 0 / 325.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008329/0.3558, allocations: 127.9 kB / 325.3 MB, free: 6.871 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * 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.0004087/0.3562, allocations: 196.4 kB / 325.5 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.3593, allocations: 1.519 MB / 327 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3594, allocations: 0 / 327 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.3614, allocations: 1.125 MB / 328.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/0.3634, allocations: 288 kB / 328.4 MB, free: 3.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.3688, allocations: 2.242 MB / 330.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/0.3701, allocations: 1.042 MB / 331.7 MB, free: 236 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.3702, allocations: 15.44 kB / 331.7 MB, free: 220 kB / 266.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3702, allocations: 0 / 331.7 MB, free: 220 kB / 266.7 MB Notification: Performance of Templates: time 0.01801/0.3882, allocations: 7.901 MB / 339.6 MB, free: 8.18 MB / 282.7 MB