Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.305/2.305, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.098/0.098, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.28e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.396, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock): time 0.001175/0.3972, allocations: 0.5526 MB / 459.7 MB, free: 28.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003323/0.3976, allocations: 111.7 kB / 459.9 MB, free: 27.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.3977, allocations: 4 kB / 459.9 MB, free: 27.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.16e-05/0.3978, allocations: 11.92 kB / 459.9 MB, free: 27.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3979, allocations: 0 / 459.9 MB, free: 27.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3981, allocations: 31.91 kB / 459.9 MB, free: 27.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.3982, allocations: 23.91 kB / 459.9 MB, free: 27.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3983, allocations: 19.98 kB / 459.9 MB, free: 27.87 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.3984, allocations: 7.938 kB / 459.9 MB, free: 27.86 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.3984, allocations: 15.92 kB / 460 MB, free: 27.85 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.631e-05/0.3985, allocations: 4 kB / 460 MB, free: 27.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3985, allocations: 0 / 460 MB, free: 27.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.3985, allocations: 15.97 kB / 460 MB, free: 27.83 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.3986, allocations: 4 kB / 460 MB, free: 27.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.509e-05/0.3986, allocations: 35.94 kB / 460 MB, free: 27.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3987, allocations: 0 / 460 MB, free: 27.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3987, allocations: 4 kB / 460 MB, free: 27.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.3987, allocations: 0 / 460 MB, free: 27.79 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003738/0.3991, allocations: 353.9 kB / 460.4 MB, free: 27.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3991, allocations: 11.97 kB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3992, allocations: 11.91 kB / 460.4 MB, free: 27.37 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.3994, allocations: 195.9 kB / 460.6 MB, free: 27.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3994, allocations: 4 kB / 460.6 MB, free: 27.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3994, allocations: 11.94 kB / 460.6 MB, free: 27.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3997, allocations: 139.2 kB / 460.7 MB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.3998, allocations: 0 / 460.7 MB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3998, allocations: 0 / 460.7 MB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3998, allocations: 0 / 460.7 MB, free: 26.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.3999, allocations: 23.98 kB / 460.8 MB, free: 26.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.4001, allocations: 185.4 kB / 460.9 MB, free: 26.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4002, allocations: 86.62 kB / 461 MB, free: 26.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4003, allocations: 0 / 461 MB, free: 26.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.4003, allocations: 34.56 kB / 461.1 MB, free: 26.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4003, allocations: 4 kB / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002448/0.4006, allocations: 89.58 kB / 461.2 MB, free: 26.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.4006, allocations: 59.41 kB / 461.2 MB, free: 26.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4007, allocations: 135 kB / 461.3 MB, free: 26.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.4008, allocations: 29.7 kB / 461.4 MB, free: 26.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.4008, allocations: 84.14 kB / 461.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.4008, allocations: 7.891 kB / 461.5 MB, free: 26.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4008, allocations: 4 kB / 461.5 MB, free: 26.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.4009, allocations: 318.8 kB / 461.8 MB, free: 25.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.4009, allocations: 11.98 kB / 461.8 MB, free: 25.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-05/0.401, allocations: 58.88 kB / 461.8 MB, free: 25.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.4011, allocations: 19.92 kB / 461.9 MB, free: 25.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4011, allocations: 0 / 461.9 MB, free: 25.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001536/0.4012, allocations: 89.56 kB / 462 MB, free: 25.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4013, allocations: 4 kB / 462 MB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4013, allocations: 4 kB / 462 MB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4013, allocations: 4 kB / 462 MB, free: 25.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4014, allocations: 19.92 kB / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.4015, allocations: 0 / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.4015, allocations: 12.16 kB / 462 MB, free: 25.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.4015, allocations: 8 kB / 462 MB, free: 25.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.606e-05/0.4016, allocations: 125.8 kB / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.4018, allocations: 85.67 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.4018, allocations: 12.72 kB / 462.2 MB, free: 25.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.4018, allocations: 3.984 kB / 462.2 MB, free: 25.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4019, allocations: 4 kB / 462.2 MB, free: 25.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4019, allocations: 192 / 462.2 MB, free: 25.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.104e-05/0.402, allocations: 173.5 kB / 462.4 MB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.402, allocations: 7.938 kB / 462.4 MB, free: 25.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4021, allocations: 15.98 kB / 462.4 MB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.4021, allocations: 0 / 462.4 MB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.4021, allocations: 4 kB / 462.4 MB, free: 25.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4021, allocations: 4 kB / 462.4 MB, free: 25.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4021, allocations: 0 / 462.4 MB, free: 25.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.4023, allocations: 109.3 kB / 462.5 MB, free: 24.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.4024, allocations: 96.89 kB / 462.6 MB, free: 24.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.4024, allocations: 4 kB / 462.6 MB, free: 24.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.4025, allocations: 8 kB / 462.6 MB, free: 24.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-06/0.4025, allocations: 0 / 462.6 MB, free: 24.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.4025, allocations: 0 / 462.6 MB, free: 24.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.339e-05/0.4026, allocations: 109.3 kB / 462.8 MB, free: 24.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4026, allocations: 0 / 462.8 MB, free: 24.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.4029, allocations: 12 kB / 462.8 MB, free: 24.71 MB / 346.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 9.125e-05/0.403, allocations: 95.25 kB / 462.9 MB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.4031, allocations: 55.92 kB / 462.9 MB, free: 24.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4031, allocations: 0 / 462.9 MB, free: 24.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.4031, allocations: 0 / 462.9 MB, free: 24.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4035, allocations: 49.2 kB / 463 MB, free: 24.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.4039, allocations: 183.7 kB / 463.1 MB, free: 24.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.404, allocations: 0.7082 MB / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.4041, allocations: 8.609 kB / 463.9 MB, free: 23.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.4041, allocations: 11.44 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/0.4041, allocations: 0 / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of Templates: time 0.003574/0.4077, allocations: 0.6364 MB / 464.5 MB, free: 22.91 MB / 346.7 MB