Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadModel(Modelica_Synchronous): time 2.038/2.038, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.559e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08508, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4375, allocations: 78.17 MB / 412.9 MB, free: 12 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4378, allocations: 76.89 kB / 412.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006323/0.4441, allocations: 1.681 MB / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.005e-06/0.4442, allocations: 0 / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.4442, allocations: 0 / 414.6 MB, free: 14.49 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004388/0.4446, allocations: 377.3 kB / 415 MB, free: 14.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4447, allocations: 8.031 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.526e-05/0.4447, allocations: 15.81 kB / 415 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.445, allocations: 222.4 kB / 415.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4451, allocations: 7.375 kB / 415.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4451, allocations: 7.188 kB / 415.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.4456, allocations: 220.8 kB / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4456, allocations: 7.953 kB / 415.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.4457, allocations: 14.91 kB / 415.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.4457, allocations: 4 kB / 415.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4458, allocations: 43.88 kB / 415.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.446, allocations: 191.2 kB / 415.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.4463, allocations: 144.3 kB / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.4465, allocations: 89.27 kB / 415.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.4466, allocations: 4.281 kB / 415.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4466, allocations: 30.56 kB / 416 MB, free: 13.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.679e-06/0.4466, allocations: 0 / 416 MB, free: 13.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003219/0.4469, allocations: 132.8 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/0.447, allocations: 66 kB / 416.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4472, allocations: 150.8 kB / 416.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4473, allocations: 32.95 kB / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.4473, allocations: 158.3 kB / 416.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.4474, allocations: 10.64 kB / 416.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-06/0.4474, allocations: 7.625 kB / 416.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4476, allocations: 314.1 kB / 416.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.4476, allocations: 22.67 kB / 416.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4478, allocations: 123.1 kB / 417 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.134e-05/0.4479, allocations: 39.36 kB / 417 MB, free: 12.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4479, allocations: 4 kB / 417 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003225/0.4482, allocations: 142.3 kB / 417.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4483, allocations: 6.5 kB / 417.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4483, allocations: 8.484 kB / 417.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4483, allocations: 8 kB / 417.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.4485, allocations: 31.94 kB / 417.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.4485, allocations: 11.94 kB / 417.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.255e-05/0.4486, allocations: 11.5 kB / 417.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4487, allocations: 8 kB / 417.2 MB, free: 11.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001272/0.4488, allocations: 127.8 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.4491, allocations: 135.3 kB / 417.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.4491, allocations: 22.44 kB / 417.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.151e-06/0.4491, allocations: 4 kB / 417.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4492, allocations: 0 / 417.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.4e-06/0.4492, allocations: 11.88 kB / 417.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.4494, allocations: 185.9 kB / 417.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-06/0.4494, allocations: 0 / 417.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.4495, allocations: 23.98 kB / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4496, allocations: 0 / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4496, allocations: 6.812 kB / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.764e-06/0.4496, allocations: 0 / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.839e-06/0.4496, allocations: 0 / 417.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.4499, allocations: 162.9 kB / 417.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.45, allocations: 115.8 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.4501, allocations: 4 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.4501, allocations: 3.312 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.4501, allocations: 3.938 kB / 418 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4502, allocations: 8 kB / 418 MB, free: 11.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.4503, allocations: 118.3 kB / 418.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4503, allocations: 4 kB / 418.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.4507, allocations: 15.25 kB / 418.2 MB, free: 10.93 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001378/0.4508, allocations: 106.5 kB / 418.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.4511, allocations: 95.92 kB / 418.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.545e-06/0.4511, allocations: 0 / 418.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.471e-06/0.4511, allocations: 128 / 418.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4515, allocations: 91.19 kB / 418.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.4519, allocations: 217.1 kB / 418.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.4524, allocations: 0.7204 MB / 419.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.4524, allocations: 11.44 kB / 419.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of SimCode: time 1.496e-06/0.4524, allocations: 0 / 419.4 MB, free: 9.711 MB / 346.7 MB Notification: Performance of Templates: time 0.003398/0.4558, allocations: 1.312 MB / 420.7 MB, free: 8.406 MB / 346.7 MB