Running command: translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.892e-05, allocations: 4 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2998, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002821/0.3027, allocations: 1.72 MB / 305 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003294/0.306, allocations: 1.045 MB / 306.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.3063, allocations: 14.25 kB / 306.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.3065, allocations: 30.05 kB / 306.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3066, allocations: 36.78 kB / 306.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.3071, allocations: 108.1 kB / 306.3 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.3075, allocations: 201.7 kB / 306.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.3078, allocations: 95.33 kB / 306.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008863/0.3087, allocations: 0.5108 MB / 307.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.3091, allocations: 235.6 kB / 307.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.3093, allocations: 8 kB / 307.3 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3094, allocations: 12 kB / 307.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.3096, allocations: 119.7 kB / 307.4 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.3098, allocations: 20 kB / 307.4 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.3107, allocations: 0.7698 MB / 308.2 MB, free: 8.691 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3107, allocations: 0 / 308.2 MB, free: 8.691 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3107, allocations: 0 / 308.2 MB, free: 8.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.3108, allocations: 0 / 308.2 MB, free: 8.691 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001313/0.3121, allocations: 0.6817 MB / 308.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3122, allocations: 12.03 kB / 308.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3123, allocations: 51.39 kB / 309 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.313, allocations: 334.3 kB / 309.3 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.19e-05/0.3131, allocations: 28.66 kB / 309.3 MB, free: 7.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3132, allocations: 32 kB / 309.3 MB, free: 7.457 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.3147, allocations: 493.7 kB / 309.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3147, allocations: 0 / 309.8 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/0.3148, allocations: 12 kB / 309.8 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.3148, allocations: 12 kB / 309.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.3162, allocations: 386.3 kB / 310.2 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3191, allocations: 1.096 MB / 311.3 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.321, allocations: 478.5 kB / 311.8 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.3212, allocations: 4 kB / 311.8 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009206/0.3221, allocations: 341.2 kB / 312.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 5.24e-06/0.3221, allocations: 7.984 kB / 312.1 MB, free: 4.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.002375/0.3245, allocations: 0.7238 MB / 312.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.3246, allocations: 122.7 kB / 313 MB, free: 3.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.3251, allocations: 273.6 kB / 313.2 MB, free: 3.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.3253, allocations: 41.7 kB / 313.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3254, allocations: 172.7 kB / 313.5 MB, free: 3.211 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.3256, allocations: 75.09 kB / 313.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.3257, allocations: 12 kB / 313.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3258, allocations: 338.8 kB / 313.9 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006516/0.3265, allocations: 184.6 kB / 314.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/0.3272, allocations: 229.4 kB / 314.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.328, allocations: 274.2 kB / 314.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.328, allocations: 0 / 314.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001942/0.3299, allocations: 0.6293 MB / 315.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.33, allocations: 64.34 kB / 315.2 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.3301, allocations: 8.031 kB / 315.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3301, allocations: 0 / 315.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.3303, allocations: 59.8 kB / 315.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.3303, allocations: 4 kB / 315.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.3309, allocations: 59.7 kB / 315.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003953/0.3313, allocations: 283.7 kB / 315.6 MB, free: 0.957 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.x[1],FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,J.y,K.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0005124/0.3318, allocations: 293 kB / 315.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.332, allocations: 27.72 kB / 316 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/0.3321, allocations: 34.95 kB / 316 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.3321, allocations: 4 kB / 316 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3321, allocations: 3.953 kB / 316 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3321, allocations: 0 / 316 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000881/0.333, allocations: 469.2 kB / 316.5 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.333, allocations: 7.922 kB / 316.5 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3332, allocations: 47.92 kB / 316.5 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3332, allocations: 0 / 316.5 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.3334, allocations: 47.97 kB / 316.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3334, allocations: 0 / 316.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3334, allocations: 0 / 316.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3351, allocations: 0.6102 MB / 317.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/0.3356, allocations: 196.7 kB / 317.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.3358, allocations: 12 kB / 317.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.3363, allocations: 43.81 kB / 317.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.3366, allocations: 87.84 kB / 317.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004243/0.337, allocations: 279.7 kB / 317.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.3373, allocations: 202 kB / 318 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3373, allocations: 0 / 318 MB, free: 14.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006036/0.338, allocations: 95.8 kB / 318.1 MB, free: 14.41 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: 33 ($whenCondition1,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,K.y,J.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * 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.0002868/0.3383, allocations: 145.8 kB / 318.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.3399, allocations: 0.5493 MB / 318.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3399, allocations: 0 / 318.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.3408, allocations: 358.6 kB / 319.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.3427, allocations: 276.7 kB / 319.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.3448, allocations: 0.7753 MB / 320.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.3453, allocations: 0.8113 MB / 321 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.002129/0.3475, allocations: 0.751 MB / 321.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.3486, allocations: 262.8 kB / 322 MB, free: 10.39 MB / 266.7 MB Notification: Performance of SimCode: time 1.153e-06/0.3486, allocations: 0 / 322 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Templates: time 0.02433/0.3729, allocations: 9.967 MB / 331.9 MB, free: 228 kB / 266.7 MB