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.444/2.444, allocations: 218.4 MB / 234.2 MB, free: 4.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.477e-05/4.483e-05, allocations: 4 kB / 287.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3828, allocations: 50.37 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001631/0.3845, allocations: 0.6108 MB / 338.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004103/0.3849, allocations: 119.6 kB / 338.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.917e-05/0.385, allocations: 4 kB / 338.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.3852, allocations: 7.922 kB / 338.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.3853, allocations: 11.92 kB / 338.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3855, allocations: 39.95 kB / 338.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3857, allocations: 31.91 kB / 338.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3858, allocations: 24.16 kB / 338.8 MB, free: 15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.477e-05/0.3858, allocations: 12 kB / 338.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.3859, allocations: 19.84 kB / 338.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.3859, allocations: 4 kB / 338.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.386, allocations: 0 / 338.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.983e-05/0.386, allocations: 27.86 kB / 338.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.3861, allocations: 4 kB / 338.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.3862, allocations: 55.89 kB / 338.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3862, allocations: 0 / 338.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3862, allocations: 0 / 338.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3862, allocations: 0 / 338.9 MB, free: 14.88 MB / 282.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.0004359/0.3867, allocations: 369 kB / 339.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3867, allocations: 8.031 kB / 339.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.3868, allocations: 11.91 kB / 339.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.3871, allocations: 200.5 kB / 339.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3871, allocations: 11.95 kB / 339.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.3872, allocations: 12 kB / 339.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.3877, allocations: 205 kB / 339.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3878, allocations: 7.953 kB / 339.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.3878, allocations: 8 kB / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3878, allocations: 0 / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3879, allocations: 39.92 kB / 339.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.3881, allocations: 189.5 kB / 340 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.3885, allocations: 123 kB / 340.1 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3885, allocations: 11.98 kB / 340.1 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3886, allocations: 34.5 kB / 340.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.3886, allocations: 0 / 340.1 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004333/0.389, allocations: 158.1 kB / 340.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.3892, allocations: 67.39 kB / 340.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.3893, allocations: 135.2 kB / 340.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3894, allocations: 25.7 kB / 340.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.3895, allocations: 154.9 kB / 340.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.3895, allocations: 19.89 kB / 340.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.3895, allocations: 0 / 340.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3897, allocations: 318.8 kB / 341 MB, free: 12.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.3897, allocations: 15.98 kB / 341 MB, free: 12.6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3899, allocations: 121.7 kB / 341.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.39, allocations: 39.94 kB / 341.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.39, allocations: 0 / 341.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003255/0.3903, allocations: 149.3 kB / 341.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3904, allocations: 8 kB / 341.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3904, allocations: 4 kB / 341.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3904, allocations: 4 kB / 341.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.3905, allocations: 11.92 kB / 341.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.885e-05/0.3905, allocations: 15.89 kB / 341.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.3906, allocations: 8.438 kB / 341.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.3906, allocations: 12 kB / 341.4 MB, free: 12.18 MB / 282.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.0001829/0.3908, allocations: 141.7 kB / 341.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.3911, allocations: 117.5 kB / 341.6 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.3912, allocations: 17.19 kB / 341.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3912, allocations: 0 / 341.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3912, allocations: 4 kB / 341.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3912, allocations: 3.953 kB / 341.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3914, allocations: 189.5 kB / 341.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3914, allocations: 4 kB / 341.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.3915, allocations: 7.984 kB / 341.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3915, allocations: 3.938 kB / 341.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3915, allocations: 4 kB / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3915, allocations: 0 / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3915, allocations: 0 / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3918, allocations: 148.9 kB / 342 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.392, allocations: 108.8 kB / 342.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.392, allocations: 4 kB / 342.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.392, allocations: 8 kB / 342.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-06/0.3921, allocations: 0 / 342.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3921, allocations: 4 kB / 342.1 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.3922, allocations: 110.7 kB / 342.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3922, allocations: 0 / 342.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.3925, allocations: 16 kB / 342.3 MB, free: 11.2 MB / 282.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.0001629/0.3927, allocations: 107.2 kB / 342.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.393, allocations: 91.78 kB / 342.5 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.393, allocations: 0 / 342.5 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.393, allocations: 0 / 342.5 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005056/0.3935, allocations: 91.75 kB / 342.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.3941, allocations: 266.9 kB / 342.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3944, allocations: 0.7164 MB / 343.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3945, allocations: 15.42 kB / 343.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3945, allocations: 0 / 343.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of Templates: time 0.004048/0.3986, allocations: 1.179 MB / 344.7 MB, free: 8.668 MB / 282.7 MB