Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadModel(Modelica_Synchronous): time 2.027/2.027, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.583e-05, allocations: 8 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.0841, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4323, allocations: 78.14 MB / 412.8 MB, free: 84 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4326, allocations: 82.81 kB / 412.9 MB, free: 36 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005429/0.438, allocations: 1.559 MB / 414.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.524e-06/0.4381, allocations: 0 / 414.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.4381, allocations: 3.938 kB / 414.5 MB, free: 14.66 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.0003696/0.4385, allocations: 360.6 kB / 414.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4385, allocations: 12.03 kB / 414.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4386, allocations: 7.906 kB / 414.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4388, allocations: 197.3 kB / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4389, allocations: 4 kB / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4389, allocations: 7.062 kB / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.4394, allocations: 214.8 kB / 415.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.202e-06/0.4394, allocations: 0 / 415.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4394, allocations: 7.891 kB / 415.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.687e-06/0.4394, allocations: 4 kB / 415.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4396, allocations: 36.77 kB / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.4398, allocations: 181 kB / 415.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.44, allocations: 121.7 kB / 415.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4402, allocations: 83.78 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4403, allocations: 4.281 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.4403, allocations: 34.56 kB / 415.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.278e-06/0.4403, allocations: 0 / 415.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002781/0.4406, allocations: 124.6 kB / 415.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4407, allocations: 62.53 kB / 415.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.4408, allocations: 135.5 kB / 416 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4409, allocations: 25.7 kB / 416.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.441, allocations: 158.6 kB / 416.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.441, allocations: 7.922 kB / 416.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-06/0.441, allocations: 11.81 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4412, allocations: 314.8 kB / 416.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.4412, allocations: 19.38 kB / 416.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4414, allocations: 113.4 kB / 416.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.271e-05/0.4415, allocations: 39.67 kB / 416.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-06/0.4415, allocations: 0 / 416.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002796/0.4418, allocations: 140.9 kB / 416.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4418, allocations: 4 kB / 416.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4418, allocations: 7.984 kB / 416.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4418, allocations: 8 kB / 416.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.251e-05/0.4419, allocations: 11.81 kB / 416.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.4419, allocations: 12.39 kB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.442, allocations: 8 kB / 416.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.442, allocations: 8 kB / 416.9 MB, free: 12.19 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001162/0.4422, allocations: 132.6 kB / 417 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.4424, allocations: 108.7 kB / 417.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.4424, allocations: 24.42 kB / 417.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.544e-06/0.4425, allocations: 0 / 417.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.974e-06/0.4425, allocations: 0 / 417.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4425, allocations: 3.953 kB / 417.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.4427, allocations: 185 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-06/0.4427, allocations: 4 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.4427, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4427, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4427, allocations: 7.938 kB / 417.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.979e-06/0.4428, allocations: 3.938 kB / 417.4 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.123e-06/0.4428, allocations: 3.984 kB / 417.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.443, allocations: 143.4 kB / 417.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4431, allocations: 100.8 kB / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4432, allocations: 3.875 kB / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.4432, allocations: 0 / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-06/0.4432, allocations: 0 / 417.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4433, allocations: 11.92 kB / 417.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.4434, allocations: 101.7 kB / 417.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4434, allocations: 4 kB / 417.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.4437, allocations: 19.25 kB / 417.7 MB, free: 11.35 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.0001388/0.4439, allocations: 122.9 kB / 417.9 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.4441, allocations: 82.23 kB / 417.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.409e-06/0.4441, allocations: 0 / 417.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.377e-06/0.4441, allocations: 0 / 417.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.4445, allocations: 83.19 kB / 418 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.4449, allocations: 187.2 kB / 418.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4453, allocations: 0.7239 MB / 418.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4453, allocations: 15.44 kB / 418.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.406e-06/0.4453, allocations: 0 / 418.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Templates: time 0.003091/0.4484, allocations: 1.146 MB / 420.1 MB, free: 9.008 MB / 346.7 MB