Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.164/2.164, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.445e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 50.36 MB / 334.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5613, allocations: 78.16 MB / 412.9 MB, free: 152 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5616, allocations: 79.52 kB / 413 MB, free: 104 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006837/0.5685, allocations: 1.686 MB / 414.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5685, allocations: 0 / 414.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.5686, allocations: 8 kB / 414.7 MB, free: 14.62 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.0004831/0.5691, allocations: 373.1 kB / 415.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.5691, allocations: 12.03 kB / 415.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.5692, allocations: 37.75 kB / 415.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.514e-05/0.5693, allocations: 23.06 kB / 415.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.5696, allocations: 217.6 kB / 415.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5696, allocations: 10.75 kB / 415.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.5696, allocations: 6.812 kB / 415.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.5702, allocations: 234.3 kB / 415.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.5703, allocations: 3.984 kB / 415.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5703, allocations: 0 / 415.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5703, allocations: 0 / 415.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5705, allocations: 46.36 kB / 415.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.5707, allocations: 186.2 kB / 415.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.5711, allocations: 151.6 kB / 416 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.5713, allocations: 81.78 kB / 416.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5713, allocations: 288 / 416.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5714, allocations: 37.94 kB / 416.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.5714, allocations: 0 / 416.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003651/0.5718, allocations: 130.8 kB / 416.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.5719, allocations: 70 kB / 416.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.5721, allocations: 154.3 kB / 416.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.5721, allocations: 25.7 kB / 416.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.5722, allocations: 158.1 kB / 416.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.5722, allocations: 18.7 kB / 416.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.5722, allocations: 0 / 416.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5724, allocations: 318 kB / 416.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.5725, allocations: 21.98 kB / 417 MB, free: 12.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5726, allocations: 116 kB / 417.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.5727, allocations: 48.48 kB / 417.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5727, allocations: 0 / 417.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003128/0.5731, allocations: 142.2 kB / 417.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.5731, allocations: 8 kB / 417.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5731, allocations: 12.02 kB / 417.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.5732, allocations: 4 kB / 417.3 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5734, allocations: 34.89 kB / 417.3 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.5734, allocations: 7.984 kB / 417.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.5735, allocations: 11.94 kB / 417.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.5735, allocations: 11.69 kB / 417.4 MB, free: 11.95 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.0001288/0.5737, allocations: 126.6 kB / 417.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.574, allocations: 139.7 kB / 417.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.5741, allocations: 18.75 kB / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.5741, allocations: 0 / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5741, allocations: 3.953 kB / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5741, allocations: 3.984 kB / 417.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.5743, allocations: 192 kB / 417.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5743, allocations: 0 / 417.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.5746, allocations: 27.98 kB / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5746, allocations: 0 / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5746, allocations: 3.438 kB / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5746, allocations: 4 kB / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5746, allocations: 0 / 417.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.575, allocations: 157.3 kB / 418 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5751, allocations: 118.9 kB / 418.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.5751, allocations: 3.188 kB / 418.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.5752, allocations: 0 / 418.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.5752, allocations: 8 kB / 418.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5752, allocations: 3.438 kB / 418.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.5754, allocations: 122.5 kB / 418.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5754, allocations: 0 / 418.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003387/0.5757, allocations: 19.25 kB / 418.3 MB, free: 11.02 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.0008642/0.5766, allocations: 0.7709 MB / 419.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.5769, allocations: 96.67 kB / 419.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5769, allocations: 0 / 419.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.5769, allocations: 0 / 419.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.5774, allocations: 84.31 kB / 419.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.5782, allocations: 256.7 kB / 419.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.5786, allocations: 0.7281 MB / 420.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/0.5787, allocations: 30.31 kB / 420.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5787, allocations: 0 / 420.2 MB, free: 9.102 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.34/2.919, allocations: 1.82 MB / 422.1 MB, free: 7.293 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat