Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.133/2.133, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.803e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4247/0.532, allocations: 78.16 MB / 412.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.5324, allocations: 74.7 kB / 413 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006062/0.5384, allocations: 1.578 MB / 414.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5385, allocations: 0 / 414.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.5385, allocations: 4 kB / 414.6 MB, free: 14.29 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.0004481/0.539, allocations: 358 kB / 414.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.539, allocations: 12.03 kB / 414.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.5391, allocations: 42.25 kB / 415 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.5392, allocations: 7.906 kB / 415 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.5394, allocations: 198.7 kB / 415.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.5395, allocations: 7.875 kB / 415.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.5395, allocations: 12 kB / 415.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.54, allocations: 203 kB / 415.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5401, allocations: 3.953 kB / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.5401, allocations: 7.922 kB / 415.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5401, allocations: 4 kB / 415.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.5402, allocations: 31.69 kB / 415.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001934/0.5404, allocations: 177.4 kB / 415.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.5408, allocations: 124.9 kB / 415.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.541, allocations: 72.19 kB / 415.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.541, allocations: 8.281 kB / 415.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.541, allocations: 34.38 kB / 415.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.357e-06/0.541, allocations: 0 / 415.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003219/0.5414, allocations: 124.4 kB / 416 MB, free: 12.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.5415, allocations: 59.22 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.5416, allocations: 136.8 kB / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.5417, allocations: 29.52 kB / 416.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.5418, allocations: 158.7 kB / 416.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.5418, allocations: 11.88 kB / 416.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/0.5418, allocations: 0 / 416.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5419, allocations: 322.7 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.542, allocations: 19.75 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.5422, allocations: 119.7 kB / 416.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.5423, allocations: 34.55 kB / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5423, allocations: 0 / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003123/0.5426, allocations: 146.1 kB / 417 MB, free: 11.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5426, allocations: 4 kB / 417 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5427, allocations: 4 kB / 417 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.5427, allocations: 8 kB / 417 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.5427, allocations: 8.484 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5428, allocations: 15.89 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.5429, allocations: 7.625 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.5429, allocations: 8 kB / 417.1 MB, free: 11.78 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.000134/0.5431, allocations: 131.3 kB / 417.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.5433, allocations: 115 kB / 417.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.783e-05/0.5434, allocations: 17.88 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5434, allocations: 0 / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5434, allocations: 0 / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5435, allocations: 15.94 kB / 417.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5436, allocations: 178.9 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5436, allocations: 4 kB / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.5437, allocations: 3.938 kB / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.5437, allocations: 0 / 417.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5437, allocations: 4 kB / 417.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5437, allocations: 0 / 417.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5437, allocations: 0 / 417.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.544, allocations: 159.8 kB / 417.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5442, allocations: 96.69 kB / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.5442, allocations: 0 / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.5442, allocations: 3.438 kB / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-06/0.5443, allocations: 0 / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5443, allocations: 4 kB / 417.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.5444, allocations: 107.9 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.106e-06/0.5444, allocations: 4 kB / 417.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005787/0.545, allocations: 19.06 kB / 417.9 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,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.0007725/0.5458, allocations: 0.7487 MB / 418.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.5461, allocations: 83.5 kB / 418.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5461, allocations: 0 / 418.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.5461, allocations: 128 / 418.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.5466, allocations: 90.55 kB / 418.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006776/0.5472, allocations: 233.4 kB / 419 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.5476, allocations: 0.7117 MB / 419.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.5477, allocations: 28.92 kB / 419.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5477, allocations: 0 / 419.8 MB, free: 9.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.397/2.945, allocations: 1.601 MB / 421.4 MB, free: 7.48 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat