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_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.251e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002397/0.3032, allocations: 1.404 MB / 304.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.3063, allocations: 0.9207 MB / 305.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3064, allocations: 8.125 kB / 305.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.3066, allocations: 16.91 kB / 305.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.3068, allocations: 36.23 kB / 305.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3071, allocations: 65.33 kB / 305.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.3074, allocations: 160.2 kB / 305.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3076, allocations: 52.73 kB / 306 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.3088, allocations: 0.6941 MB / 306.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.3092, allocations: 175.6 kB / 306.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3093, allocations: 12 kB / 306.9 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3095, allocations: 8 kB / 306.9 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.3097, allocations: 155.5 kB / 307 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.31, allocations: 44 kB / 307.1 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.3112, allocations: 0.8636 MB / 307.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3112, allocations: 0 / 307.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3112, allocations: 4 kB / 307.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3112, allocations: 3.938 kB / 307.9 MB, free: 8.984 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.001479/0.3127, allocations: 0.997 MB / 308.9 MB, free: 7.895 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3128, allocations: 8.031 kB / 308.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.3131, allocations: 90.92 kB / 309 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.3139, allocations: 419.5 kB / 309.4 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/0.3139, allocations: 23.98 kB / 309.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3141, allocations: 20 kB / 309.5 MB, free: 7.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.3155, allocations: 0.5022 MB / 310 MB, free: 6.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3155, allocations: 7.984 kB / 310 MB, free: 6.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.3156, allocations: 12 kB / 310 MB, free: 6.773 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3156, allocations: 4 kB / 310 MB, free: 6.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.3167, allocations: 368 kB / 310.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3187, allocations: 0.852 MB / 311.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.32, allocations: 0.5101 MB / 311.7 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.32, allocations: 0 / 311.7 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/0.3215, allocations: 0.6548 MB / 312.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/0.3215, allocations: 4 kB / 312.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.00412/0.3256, allocations: 1.786 MB / 314.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002377/0.3259, allocations: 279.3 kB / 314.4 MB, free: 2.074 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.3284, allocations: 1.035 MB / 315.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.3286, allocations: 41.7 kB / 315.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3288, allocations: 153.9 kB / 315.7 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.329, allocations: 71.11 kB / 315.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.3291, allocations: 15.98 kB / 315.7 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3293, allocations: 342.8 kB / 316.1 MB, free: 412 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009213/0.3302, allocations: 356.1 kB / 316.4 MB, free: 56 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009664/0.3312, allocations: 375 kB / 316.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.3321, allocations: 499.6 kB / 317.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3322, allocations: 3.953 kB / 317.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002715/0.3349, allocations: 1.125 MB / 318.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.3352, allocations: 248.8 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3352, allocations: 4.062 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.3353, allocations: 4 kB / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.526e-05/0.3353, allocations: 0 / 318.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.3353, allocations: 7.938 kB / 318.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.3359, allocations: 43.81 kB / 318.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/0.3362, allocations: 128.2 kB / 318.8 MB, free: 13.5 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.001439/0.3376, allocations: 0.7641 MB / 319.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.3379, allocations: 91.02 kB / 319.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.3383, allocations: 147.7 kB / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3383, allocations: 4 kB / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3383, allocations: 0 / 319.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3383, allocations: 3.938 kB / 319.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004373/0.3427, allocations: 1.967 MB / 321.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3428, allocations: 4 kB / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.3428, allocations: 3.984 kB / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.3428, allocations: 4 kB / 321.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.3429, allocations: 39.86 kB / 321.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.343, allocations: 4 kB / 321.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.343, allocations: 0 / 321.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.3461, allocations: 1.4 MB / 323.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.3477, allocations: 0.5659 MB / 323.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.348, allocations: 63.97 kB / 323.9 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.3486, allocations: 31.97 kB / 323.9 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009607/0.3496, allocations: 235.7 kB / 324.2 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004447/0.35, allocations: 151.9 kB / 324.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002102/0.3522, allocations: 0.8616 MB / 325.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3522, allocations: 0 / 325.2 MB, free: 6.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000722/0.3529, allocations: 124 kB / 325.3 MB, free: 6.812 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.0003792/0.3533, allocations: 200.4 kB / 325.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.3562, allocations: 1.523 MB / 327 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3563, allocations: 0 / 327 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.3581, allocations: 1.117 MB / 328.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.36, allocations: 288.5 kB / 328.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.3648, allocations: 2.162 MB / 330.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.366, allocations: 1.046 MB / 331.6 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002307/0.3663, allocations: 37.5 kB / 331.6 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3663, allocations: 15.44 kB / 331.7 MB, free: 204 kB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3663, allocations: 0 / 331.7 MB, free: 204 kB / 266.7 MB Notification: Performance of Templates: time 0.02998/0.3963, allocations: 13.33 MB / 345 MB, free: 2.629 MB / 282.7 MB