Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.365e-05, allocations: 0 / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.6022, allocations: 77.04 MB / 419.7 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.6026, allocations: 82.53 kB / 419.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006829/0.6094, allocations: 1.717 MB / 421.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6095, allocations: 0 / 421.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.6095, allocations: 7.938 kB / 421.5 MB, free: 15.15 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.0004716/0.61, allocations: 388.2 kB / 421.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.61, allocations: 8.031 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.6101, allocations: 46.11 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.6102, allocations: 7.906 kB / 421.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.6105, allocations: 209.2 kB / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.6105, allocations: 4 kB / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.6105, allocations: 11.12 kB / 422.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/0.6111, allocations: 244.1 kB / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.6111, allocations: 0 / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6112, allocations: 0 / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6112, allocations: 0 / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.6113, allocations: 47.91 kB / 422.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.6116, allocations: 193.1 kB / 422.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.6119, allocations: 143 kB / 422.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.6122, allocations: 80.34 kB / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.6122, allocations: 288 / 422.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.6122, allocations: 42.95 kB / 422.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.6122, allocations: 0 / 422.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003387/0.6126, allocations: 136.5 kB / 423 MB, free: 13.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.6127, allocations: 59.22 kB / 423.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6129, allocations: 154.6 kB / 423.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.6129, allocations: 25.7 kB / 423.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.613, allocations: 161.4 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.613, allocations: 7.375 kB / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.613, allocations: 0 / 423.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6132, allocations: 326 kB / 423.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.6133, allocations: 18.38 kB / 423.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.6134, allocations: 121.5 kB / 423.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.6135, allocations: 43.11 kB / 423.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6136, allocations: 0 / 423.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003102/0.6139, allocations: 146.8 kB / 424 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6139, allocations: 8.5 kB / 424 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6139, allocations: 8 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.614, allocations: 4 kB / 424.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.6142, allocations: 34.3 kB / 424.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.6142, allocations: 8 kB / 424.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.6143, allocations: 15.09 kB / 424.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.6143, allocations: 8 kB / 424.1 MB, free: 12.49 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.0001209/0.6145, allocations: 128 kB / 424.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.6147, allocations: 133.8 kB / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.6148, allocations: 22.11 kB / 424.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.6148, allocations: 0 / 424.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6148, allocations: 0 / 424.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.6149, allocations: 4 kB / 424.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.615, allocations: 189.2 kB / 424.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6151, allocations: 0 / 424.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6153, allocations: 38.3 kB / 424.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6153, allocations: 0 / 424.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.6153, allocations: 0 / 424.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.6153, allocations: 0 / 424.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6154, allocations: 8 kB / 424.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.6157, allocations: 166.3 kB / 424.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6158, allocations: 104.3 kB / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.6158, allocations: 3.875 kB / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/0.6159, allocations: 4 kB / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.6159, allocations: 0 / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.6159, allocations: 2.562 kB / 424.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.6161, allocations: 123.2 kB / 425 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6161, allocations: 0 / 425 MB, free: 11.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.6164, allocations: 22.56 kB / 425.1 MB, free: 11.57 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.0008098/0.6172, allocations: 0.7682 MB / 425.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.6175, allocations: 97.92 kB / 425.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6175, allocations: 0 / 425.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.6175, allocations: 0 / 425.9 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.0004334/0.618, allocations: 81.69 kB / 426 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.6187, allocations: 263.9 kB / 426.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.6191, allocations: 0.7241 MB / 427 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.6192, allocations: 32.48 kB / 427 MB, free: 9.645 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6192, allocations: 0 / 427 MB, free: 9.645 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.386/3.005, allocations: 1.835 MB / 428.8 MB, free: 7.824 MB / 346.7 MB