Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.45e-05, allocations: 1.562 kB / 292.2 MB, free: 8.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5364, allocations: 76.63 MB / 419.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.5368, allocations: 77.27 kB / 419.3 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004603/0.5414, allocations: 1.213 MB / 420.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5415, allocations: 3.938 kB / 420.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.5415, allocations: 4 kB / 420.6 MB, free: 15.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003999/0.5419, allocations: 343.9 kB / 420.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.542, allocations: 12.03 kB / 420.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.542, allocations: 37.86 kB / 420.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.5421, allocations: 12.73 kB / 421 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.5423, allocations: 198 kB / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.5423, allocations: 0 / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.5424, allocations: 7.312 kB / 421.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.5427, allocations: 112.7 kB / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5427, allocations: 0 / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5427, allocations: 4 kB / 421.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5428, allocations: 11.89 kB / 421.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.103e-05/0.5428, allocations: 22.88 kB / 421.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.5433, allocations: 356.3 kB / 421.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.5435, allocations: 63.05 kB / 421.7 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.5435, allocations: 34.34 kB / 421.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5436, allocations: 0 / 421.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5436, allocations: 34.52 kB / 421.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.407e-06/0.5436, allocations: 7.984 kB / 421.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002468/0.5439, allocations: 68.53 kB / 421.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.544, allocations: 110.7 kB / 422 MB, free: 14.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.5441, allocations: 123.6 kB / 422.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.5442, allocations: 29.52 kB / 422.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.5442, allocations: 154.5 kB / 422.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.5443, allocations: 3.312 kB / 422.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.5443, allocations: 4.094 kB / 422.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5444, allocations: 314.8 kB / 422.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.5444, allocations: 11.8 kB / 422.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.5445, allocations: 26.75 kB / 422.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.925e-05/0.5446, allocations: 15.98 kB / 422.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5446, allocations: 0 / 422.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.5448, allocations: 60.25 kB / 422.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5448, allocations: 6.812 kB / 422.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5448, allocations: 3.938 kB / 422.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5448, allocations: 7.953 kB / 422.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.518e-05/0.5449, allocations: 3.938 kB / 422.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5449, allocations: 0 / 422.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.545, allocations: 8.125 kB / 422.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.545, allocations: 4 kB / 422.7 MB, free: 13.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001073/0.5451, allocations: 108.1 kB / 422.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.5452, allocations: 48.78 kB / 422.9 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.5453, allocations: 14.64 kB / 422.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5453, allocations: 3.953 kB / 422.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5453, allocations: 0 / 422.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5454, allocations: 0 / 422.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.5456, allocations: 171.5 kB / 423.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.5457, allocations: 8 kB / 423.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.5457, allocations: 3.938 kB / 423.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5457, allocations: 0 / 423.1 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5457, allocations: 4 kB / 423.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5457, allocations: 3.984 kB / 423.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5458, allocations: 3.953 kB / 423.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.546, allocations: 263.7 kB / 423.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.5461, allocations: 92.94 kB / 423.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.5461, allocations: 7.141 kB / 423.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.5463, allocations: 7.984 kB / 423.5 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.5463, allocations: 4 kB / 423.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.5464, allocations: 0 / 423.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.5465, allocations: 105.8 kB / 423.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.5465, allocations: 4 kB / 423.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.5468, allocations: 11 kB / 423.6 MB, free: 12.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006032/0.5475, allocations: 0.9404 MB / 424.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5476, allocations: 30.61 kB / 424.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.5476, allocations: 0 / 424.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.5477, allocations: 8 kB / 424.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.5481, allocations: 27.39 kB / 424.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.5488, allocations: 188.6 kB / 424.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.5492, allocations: 0.6965 MB / 425.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.5492, allocations: 16.25 kB / 425.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5493, allocations: 0 / 425.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/3.116, allocations: 1.125 MB / 426.6 MB, free: 9.578 MB / 346.7 MB