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_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica_Synchronous): time 2.068/2.068, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.422e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08628/0.08634, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4332, allocations: 78.05 MB / 412.7 MB, free: 172 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4335, allocations: 77.44 kB / 412.8 MB, free: 128 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007692/0.4412, allocations: 1.274 MB / 414.1 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.4413, allocations: 0 / 414.1 MB, free: 15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.188e-05/0.4413, allocations: 4 kB / 414.1 MB, free: 14.99 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.0008496/0.4422, allocations: 350.4 kB / 414.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.228e-05/0.4423, allocations: 8.031 kB / 414.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.4425, allocations: 15.81 kB / 414.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.4431, allocations: 193.8 kB / 414.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.4431, allocations: 11.19 kB / 414.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.4432, allocations: 7.953 kB / 414.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.444, allocations: 125.5 kB / 414.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4441, allocations: 0 / 414.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.4442, allocations: 14.98 kB / 414.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4442, allocations: 0 / 414.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.4444, allocations: 19.12 kB / 414.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.4449, allocations: 175.5 kB / 415 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.4453, allocations: 71.61 kB / 415 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.4456, allocations: 43.64 kB / 415.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.4457, allocations: 4.156 kB / 415.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/0.4458, allocations: 35.66 kB / 415.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 5.92e-06/0.4458, allocations: 3.938 kB / 415.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.4463, allocations: 83.27 kB / 415.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.4465, allocations: 55.41 kB / 415.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.4469, allocations: 132.7 kB / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.447, allocations: 25.7 kB / 415.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.4472, allocations: 158 kB / 415.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.4472, allocations: 4 kB / 415.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.4473, allocations: 3.375 kB / 415.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003622/0.4477, allocations: 314.8 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.4478, allocations: 11.42 kB / 415.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.448, allocations: 58.12 kB / 415.9 MB, free: 13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.4481, allocations: 19.92 kB / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/0.4482, allocations: 0 / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00048/0.4487, allocations: 87.14 kB / 416.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.4488, allocations: 8 kB / 416.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4488, allocations: 0 / 416.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.4488, allocations: 4 kB / 416.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.4491, allocations: 19.92 kB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/0.4492, allocations: 4 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4494, allocations: 7.844 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.4494, allocations: 7.125 kB / 416.1 MB, free: 12.85 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 0.0002401/0.4497, allocations: 122.6 kB / 416.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.4501, allocations: 82.98 kB / 416.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.984e-05/0.4502, allocations: 15 kB / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.767e-06/0.4503, allocations: 0 / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.223e-06/0.4503, allocations: 0 / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4503, allocations: 0 / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.4508, allocations: 175.3 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4508, allocations: 0 / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.4509, allocations: 12 kB / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.358e-06/0.4509, allocations: 4 kB / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4509, allocations: 3.953 kB / 416.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-06/0.451, allocations: 80 / 416.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.856e-06/0.451, allocations: 3.984 kB / 416.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.4512, allocations: 110.3 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.4513, allocations: 104.1 kB / 416.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4513, allocations: 3.125 kB / 416.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.4514, allocations: 4.141 kB / 416.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-06/0.4514, allocations: 8 kB / 416.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-06/0.4514, allocations: 7.938 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.602e-05/0.4515, allocations: 110.8 kB / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.4515, allocations: 0 / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.4518, allocations: 11.31 kB / 416.9 MB, free: 12.05 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 0.0001301/0.452, allocations: 103.2 kB / 417 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.4521, allocations: 42 kB / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.024e-06/0.4521, allocations: 4.125 kB / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.51e-06/0.4522, allocations: 0 / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4525, allocations: 40.33 kB / 417 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.4528, allocations: 150.3 kB / 417.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.4532, allocations: 0.6997 MB / 417.9 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.4532, allocations: 11.44 kB / 417.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of SimCode: time 4.607e-06/0.4532, allocations: 0 / 417.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of Templates: time 0.002591/0.4558, allocations: 0.8523 MB / 418.8 MB, free: 10.13 MB / 346.7 MB