Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 194.9 MB / 211.2 MB, free: 9.328 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.177e-05, allocations: 4 kB / 258.8 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 44.5 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.00248/0.3253, allocations: 1.454 MB / 304.7 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.3286, allocations: 0.9775 MB / 305.7 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3288, allocations: 5.25 kB / 305.7 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.329, allocations: 20.88 kB / 305.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.3294, allocations: 167.9 kB / 305.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.3298, allocations: 92.86 kB / 306 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004212/0.3302, allocations: 198.2 kB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.3305, allocations: 70.58 kB / 306.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.332, allocations: 0.8116 MB / 307.1 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.3325, allocations: 211.6 kB / 307.3 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.3327, allocations: 12 kB / 307.3 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.3329, allocations: 16 kB / 307.3 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.3332, allocations: 235.2 kB / 307.5 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.3336, allocations: 60 kB / 307.6 MB, free: 9.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.3353, allocations: 1.202 MB / 308.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3353, allocations: 0 / 308.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3353, allocations: 0 / 308.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.3354, allocations: 0 / 308.8 MB, free: 8.301 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002095/0.3375, allocations: 1.269 MB / 310.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3375, allocations: 19.91 kB / 310.1 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.3379, allocations: 130.5 kB / 310.2 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.339, allocations: 0.5166 MB / 310.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.3391, allocations: 23.98 kB / 310.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.3393, allocations: 28 kB / 310.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.341, allocations: 0.6182 MB / 311.4 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.341, allocations: 0 / 311.4 MB, free: 5.539 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.3411, allocations: 16 kB / 311.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3412, allocations: 0 / 311.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.3424, allocations: 471.6 kB / 311.9 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.3451, allocations: 1.091 MB / 313 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3468, allocations: 0.6936 MB / 313.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3469, allocations: 7.938 kB / 313.7 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.3486, allocations: 0.7593 MB / 314.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 3.626e-06/0.3486, allocations: 0 / 314.4 MB, free: 2.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=36): time 0.005063/0.3537, allocations: 2.122 MB / 316.5 MB, free: 176 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003255/0.3541, allocations: 332.9 kB / 316.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/0.3584, allocations: 1.604 MB / 318.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.3587, allocations: 53.69 kB / 318.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.3591, allocations: 248.9 kB / 318.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.3593, allocations: 79.09 kB / 318.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3594, allocations: 19.98 kB / 318.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3596, allocations: 322.8 kB / 319.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3608, allocations: 443.9 kB / 319.6 MB, free: 13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3621, allocations: 486.6 kB / 320.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.3632, allocations: 0.5794 MB / 320.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3633, allocations: 11.95 kB / 320.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003173/0.3664, allocations: 1.314 MB / 322 MB, free: 10.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.3668, allocations: 289.5 kB / 322.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3668, allocations: 0 / 322.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3669, allocations: 4 kB / 322.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.501e-05/0.3669, allocations: 7.922 kB / 322.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3669, allocations: 4 kB / 322.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.3677, allocations: 47.94 kB / 322.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.3679, allocations: 127.9 kB / 322.5 MB, free: 9.988 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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.002106/0.3701, allocations: 0.9985 MB / 323.5 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.3704, allocations: 126.5 kB / 323.6 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.3711, allocations: 247.6 kB / 323.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3712, allocations: 7.984 kB / 323.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3712, allocations: 0 / 323.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3712, allocations: 0 / 323.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/0.3768, allocations: 2.43 MB / 326.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3768, allocations: 3.938 kB / 326.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.3769, allocations: 0 / 326.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3769, allocations: 0 / 326.3 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.377, allocations: 39.97 kB / 326.3 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.377, allocations: 0 / 326.3 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3771, allocations: 4 kB / 326.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.3808, allocations: 1.645 MB / 328 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/0.3829, allocations: 0.6863 MB / 328.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.3833, allocations: 63.95 kB / 328.7 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.384, allocations: 35.97 kB / 328.7 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009848/0.385, allocations: 351.6 kB / 329.1 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/0.3853, allocations: 155.9 kB / 329.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003619/0.3889, allocations: 1.333 MB / 330.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.389, allocations: 0 / 330.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009558/0.3899, allocations: 159.8 kB / 330.7 MB, free: 1.449 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0004441/0.3904, allocations: 189.7 kB / 330.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003792/0.3942, allocations: 1.939 MB / 332.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3943, allocations: 4.125 kB / 332.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.3967, allocations: 1.402 MB / 334.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/0.3989, allocations: 304.7 kB / 334.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.4066, allocations: 3.196 MB / 337.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.4083, allocations: 1.216 MB / 339 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.4084, allocations: 31.44 kB / 339 MB, free: 8.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4084, allocations: 0 / 339 MB, free: 8.91 MB / 282.7 MB Notification: Performance of Templates: time 0.03392/0.4424, allocations: 11.33 MB / 350.3 MB, free: 13.36 MB / 298.7 MB