Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.598e-05, allocations: 6.031 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.41 MB / 342.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5397, allocations: 77.17 MB / 419.8 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.54, allocations: 66.16 kB / 419.8 MB, free: 0.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006108/0.5461, allocations: 1.518 MB / 421.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5461, allocations: 0 / 421.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.5462, allocations: 0 / 421.4 MB, free: 15.59 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000511/0.5467, allocations: 369.2 kB / 421.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5467, allocations: 15.91 kB / 421.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.5468, allocations: 41.83 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.5469, allocations: 11.89 kB / 421.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.547, allocations: 167 kB / 422 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.5471, allocations: 7.875 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.5471, allocations: 4 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.5473, allocations: 101.8 kB / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5473, allocations: 0 / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.5474, allocations: 7.188 kB / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5474, allocations: 3.953 kB / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.5475, allocations: 33.06 kB / 422.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.5484, allocations: 0.6339 MB / 422.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.5485, allocations: 103.1 kB / 422.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.5486, allocations: 42.73 kB / 422.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.5487, allocations: 3.938 kB / 422.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.5487, allocations: 41.88 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.5487, allocations: 0 / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003305/0.5491, allocations: 67.91 kB / 423 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.5492, allocations: 165.7 kB / 423.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5493, allocations: 107.8 kB / 423.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5493, allocations: 29.7 kB / 423.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.5494, allocations: 161.1 kB / 423.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.5495, allocations: 22.81 kB / 423.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5495, allocations: 0 / 423.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5496, allocations: 313.7 kB / 423.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.5497, allocations: 10.5 kB / 423.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/0.5497, allocations: 43.55 kB / 423.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.5498, allocations: 19.42 kB / 423.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5498, allocations: 3.953 kB / 423.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000176/0.55, allocations: 72.97 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5501, allocations: 4 kB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5501, allocations: 4 kB / 423.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5501, allocations: 0 / 423.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.5503, allocations: 15.98 kB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5503, allocations: 0 / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.5504, allocations: 15.89 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5504, allocations: 4.125 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.271e-05/0.5505, allocations: 112.4 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.5507, allocations: 7.953 kB / 424.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.5507, allocations: 11.34 kB / 424.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5507, allocations: 0 / 424.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5507, allocations: 4 kB / 424.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5507, allocations: 0 / 424.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005048/0.5513, allocations: 184.4 kB / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5513, allocations: 128 / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.5514, allocations: 30.88 kB / 424.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5514, allocations: 4 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5515, allocations: 0 / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5515, allocations: 0 / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/0.5515, allocations: 7.938 kB / 424.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.5518, allocations: 0.5039 MB / 424.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.5519, allocations: 89 kB / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.5519, allocations: 3.375 kB / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5523, allocations: 15.92 kB / 424.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/0.5523, allocations: 15.27 kB / 424.9 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.5524, allocations: 7.984 kB / 425 MB, free: 11.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.625e-05/0.5524, allocations: 87.02 kB / 425 MB, free: 11.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5524, allocations: 3.938 kB / 425 MB, free: 11.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004941/0.553, allocations: 8 kB / 425.1 MB, free: 11.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0006863/0.5536, allocations: 1.324 MB / 426.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.5538, allocations: 34.62 kB / 426.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5538, allocations: 0 / 426.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.5539, allocations: 19.19 kB / 426.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.5543, allocations: 4 kB / 426.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.5551, allocations: 193.8 kB / 426.6 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.5554, allocations: 0.6887 MB / 427.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.5555, allocations: 22.36 kB / 427.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.5555, allocations: 3.938 kB / 427.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.475/3.03, allocations: 1.219 MB / 428.6 MB, free: 8.062 MB / 346.7 MB