Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.056e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3311, allocations: 44.51 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4837, allocations: 71.02 MB / 365.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.484, allocations: 71.95 kB / 365.3 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005755/0.4898, allocations: 1.43 MB / 366.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4898, allocations: 0 / 366.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4898, allocations: 4 kB / 366.7 MB, free: 9.363 MB / 314.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.0004949/0.4903, allocations: 358.4 kB / 367.1 MB, free: 8.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4904, allocations: 12.03 kB / 367.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.4904, allocations: 7.906 kB / 367.1 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4906, allocations: 179 kB / 367.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4906, allocations: 0 / 367.3 MB, free: 8.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.4907, allocations: 4 kB / 367.3 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001377/0.4908, allocations: 31.92 kB / 367.3 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.491, allocations: 93.47 kB / 367.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4911, allocations: 4 kB / 367.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4911, allocations: 0 / 367.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4911, allocations: 8 kB / 367.4 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.4919, allocations: 0.6113 MB / 368 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.4921, allocations: 97.06 kB / 368.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.954e-05/0.4922, allocations: 44.3 kB / 368.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4922, allocations: 8 kB / 368.2 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.4923, allocations: 34.5 kB / 368.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.4923, allocations: 0 / 368.2 MB, free: 7.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000307/0.4926, allocations: 73.53 kB / 368.3 MB, free: 7.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.449e-05/0.4927, allocations: 158.2 kB / 368.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4928, allocations: 109 kB / 368.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4929, allocations: 25.7 kB / 368.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.493, allocations: 162.5 kB / 368.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.493, allocations: 11.8 kB / 368.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.493, allocations: 0 / 368.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4932, allocations: 326.9 kB / 369 MB, free: 6.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.4932, allocations: 8 kB / 369 MB, free: 6.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.4933, allocations: 36.3 kB / 369.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.4934, allocations: 15.98 kB / 369.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4934, allocations: 4 kB / 369.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001622/0.4936, allocations: 57.62 kB / 369.2 MB, free: 6.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4936, allocations: 8 kB / 369.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4936, allocations: 0 / 369.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4936, allocations: 0 / 369.2 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.4938, allocations: 19.92 kB / 369.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4938, allocations: 7.938 kB / 369.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.494, allocations: 19.95 kB / 369.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.494, allocations: 8 kB / 369.2 MB, free: 6.547 MB / 314.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 9.191e-05/0.4941, allocations: 108.8 kB / 369.3 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002444/0.4943, allocations: 69.55 kB / 369.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4945, allocations: 11.91 kB / 369.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.4945, allocations: 8.688 kB / 369.4 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4945, allocations: 12.05 kB / 369.4 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4945, allocations: 0 / 369.4 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4946, allocations: 4 kB / 369.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.495, allocations: 162.2 kB / 369.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4951, allocations: 0 / 369.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.4952, allocations: 15.98 kB / 369.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4952, allocations: 0 / 369.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4952, allocations: 4 kB / 369.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.4952, allocations: 3.938 kB / 369.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.4953, allocations: 4 kB / 369.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.4957, allocations: 0.5073 MB / 370.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.4958, allocations: 81.11 kB / 370.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4958, allocations: 3.984 kB / 370.2 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.4961, allocations: 8 kB / 370.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.4962, allocations: 15.92 kB / 370.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.4962, allocations: 4 kB / 370.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.307e-05/0.4963, allocations: 95.27 kB / 370.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4963, allocations: 0 / 370.3 MB, free: 5.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005885/0.4969, allocations: 11.91 kB / 370.3 MB, free: 5.316 MB / 314.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.0007872/0.4977, allocations: 1.304 MB / 371.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.4979, allocations: 28 kB / 371.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4979, allocations: 0 / 371.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.498, allocations: 28.42 kB / 371.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4984, allocations: 8 kB / 371.7 MB, free: 3.906 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008092/0.4992, allocations: 189.2 kB / 371.9 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4996, allocations: 0.6963 MB / 372.6 MB, free: 2.945 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.361e-05/0.4997, allocations: 23.56 kB / 372.6 MB, free: 2.926 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.4997, allocations: 0 / 372.6 MB, free: 2.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.423/2.923, allocations: 1.207 MB / 373.8 MB, free: 1.719 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat