Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadModel(Modelica): time 2.181/2.181, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.843e-05, allocations: 0 / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002445/0.4084, allocations: 1.399 MB / 304.7 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.4115, allocations: 0.9208 MB / 305.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4116, allocations: 4.062 kB / 305.6 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000155/0.4118, allocations: 18.08 kB / 305.6 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.412, allocations: 40.03 kB / 305.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.4123, allocations: 72.56 kB / 305.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.4127, allocations: 144.3 kB / 305.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.4129, allocations: 63.64 kB / 305.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4141, allocations: 0.6905 MB / 306.6 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.4145, allocations: 175.6 kB / 306.8 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.4147, allocations: 12 kB / 306.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.4148, allocations: 11.94 kB / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.415, allocations: 155.5 kB / 307 MB, free: 10 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.4154, allocations: 40 kB / 307 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.4166, allocations: 0.8709 MB / 307.9 MB, free: 9.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4166, allocations: 0 / 307.9 MB, free: 9.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4166, allocations: 4 kB / 307.9 MB, free: 9.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.4166, allocations: 0 / 307.9 MB, free: 9.086 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.001485/0.4181, allocations: 0.997 MB / 308.9 MB, free: 7.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.4182, allocations: 12.03 kB / 308.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.4185, allocations: 90.92 kB / 309 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000818/0.4194, allocations: 415.5 kB / 309.4 MB, free: 7.445 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.4194, allocations: 16 kB / 309.4 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4196, allocations: 24 kB / 309.4 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.421, allocations: 0.5022 MB / 309.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4211, allocations: 8 kB / 309.9 MB, free: 6.891 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.4212, allocations: 15.98 kB / 310 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4212, allocations: 0 / 310 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4223, allocations: 368 kB / 310.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.4244, allocations: 0.8559 MB / 311.2 MB, free: 5.609 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.4258, allocations: 0.514 MB / 311.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4258, allocations: 0 / 311.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.4274, allocations: 0.6586 MB / 312.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.987e-06/0.4275, allocations: 4 kB / 312.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=34): time 0.004206/0.4317, allocations: 1.779 MB / 314.1 MB, free: 2.504 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.432, allocations: 275.3 kB / 314.4 MB, free: 2.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.4345, allocations: 1.035 MB / 315.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.4347, allocations: 41.7 kB / 315.5 MB, free: 1.094 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.4349, allocations: 200.3 kB / 315.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.4351, allocations: 83.08 kB / 315.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.4352, allocations: 12 kB / 315.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4354, allocations: 326.8 kB / 316.1 MB, free: 484 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.4363, allocations: 348.1 kB / 316.4 MB, free: 136 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000995/0.4374, allocations: 383 kB / 316.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.4384, allocations: 499.6 kB / 317.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.4384, allocations: 3.953 kB / 317.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00278/0.4412, allocations: 1.107 MB / 318.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/0.4415, allocations: 243.9 kB / 318.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4416, allocations: 8.047 kB / 318.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.4416, allocations: 0 / 318.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.4416, allocations: 4 kB / 318.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4417, allocations: 3.938 kB / 318.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.4423, allocations: 39.97 kB / 318.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.4425, allocations: 128.1 kB / 318.8 MB, free: 13.59 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.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.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.00148/0.444, allocations: 0.7641 MB / 319.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4443, allocations: 94.92 kB / 319.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.4447, allocations: 147.7 kB / 319.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4447, allocations: 3.984 kB / 319.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4448, allocations: 4 kB / 319.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.4448, allocations: 3.984 kB / 319.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/0.4493, allocations: 1.97 MB / 321.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4493, allocations: 4 kB / 321.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.4494, allocations: 0 / 321.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4494, allocations: 0 / 321.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4495, allocations: 43.97 kB / 321.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4495, allocations: 3.938 kB / 321.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4495, allocations: 0 / 321.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.4528, allocations: 1.396 MB / 323.2 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/0.4545, allocations: 0.5543 MB / 323.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/0.4549, allocations: 63.95 kB / 323.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.4554, allocations: 39.91 kB / 323.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007058/0.4562, allocations: 239.7 kB / 324.1 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002775/0.4565, allocations: 151.9 kB / 324.3 MB, free: 7.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002167/0.4586, allocations: 0.8616 MB / 325.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4587, allocations: 0 / 325.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.4595, allocations: 131.9 kB / 325.3 MB, free: 6.895 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,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.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.0004061/0.46, allocations: 188.4 kB / 325.5 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.463, allocations: 1.53 MB / 327 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4631, allocations: 0 / 327 MB, free: 5.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.465, allocations: 1.109 MB / 328.1 MB, free: 3.891 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.467, allocations: 298.9 kB / 328.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005148/0.4722, allocations: 2.226 MB / 330.6 MB, free: 1.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.4734, allocations: 1.046 MB / 331.7 MB, free: 272 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.933e-05/0.4735, allocations: 15.44 kB / 331.7 MB, free: 256 kB / 266.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4735, allocations: 0 / 331.7 MB, free: 256 kB / 266.7 MB Notification: Performance of Templates: time 0.01717/0.4907, allocations: 7.909 MB / 339.6 MB, free: 8.199 MB / 282.7 MB