Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.567e-05, allocations: 3.984 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 47.58 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5494, allocations: 76 MB / 393 MB, free: 11.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5497, allocations: 64.03 kB / 393.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005827/0.5556, allocations: 1.466 MB / 394.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5556, allocations: 4 kB / 394.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.5556, allocations: 0 / 394.5 MB, free: 10.32 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.0005183/0.5562, allocations: 365 kB / 394.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5562, allocations: 8.031 kB / 394.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.5563, allocations: 38.44 kB / 394.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.5563, allocations: 7.906 kB / 395 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.5565, allocations: 183.6 kB / 395.1 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.5566, allocations: 0 / 395.1 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.5566, allocations: 15.7 kB / 395.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.5568, allocations: 109 kB / 395.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5568, allocations: 0 / 395.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5569, allocations: 0 / 395.3 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.5569, allocations: 4 kB / 395.3 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.557, allocations: 30 kB / 395.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.5578, allocations: 0.6386 MB / 395.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.558, allocations: 104.1 kB / 396 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.5581, allocations: 42.7 kB / 396.1 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.5582, allocations: 11.98 kB / 396.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5582, allocations: 38.06 kB / 396.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.425e-06/0.5582, allocations: 0 / 396.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003381/0.5585, allocations: 68.59 kB / 396.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.5587, allocations: 162.4 kB / 396.3 MB, free: 8.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.5588, allocations: 108.6 kB / 396.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5588, allocations: 25.7 kB / 396.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.5589, allocations: 106.5 kB / 396.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.559, allocations: 19.73 kB / 396.6 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.559, allocations: 3.438 kB / 396.6 MB, free: 8.059 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5591, allocations: 314.8 kB / 396.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.5592, allocations: 11.62 kB / 396.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.5593, allocations: 43.23 kB / 397 MB, free: 7.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.658e-05/0.5594, allocations: 11.88 kB / 397 MB, free: 7.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5594, allocations: 3.938 kB / 397 MB, free: 7.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001861/0.5596, allocations: 72.41 kB / 397 MB, free: 7.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.5596, allocations: 8 kB / 397.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5596, allocations: 3.938 kB / 397.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5597, allocations: 7.922 kB / 397.1 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5598, allocations: 12 kB / 397.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5599, allocations: 4 kB / 397.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.56, allocations: 12.14 kB / 397.1 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.56, allocations: 11.33 kB / 397.1 MB, free: 7.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 8.704e-05/0.5601, allocations: 105 kB / 397.2 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5602, allocations: 7.906 kB / 397.2 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.5603, allocations: 18.47 kB / 397.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.5603, allocations: 4 kB / 397.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5603, allocations: 0 / 397.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.5603, allocations: 4 kB / 397.2 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.5609, allocations: 180.2 kB / 397.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5609, allocations: 8 kB / 397.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.561, allocations: 15.92 kB / 397.4 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.561, allocations: 4 kB / 397.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.5611, allocations: 0 / 397.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.5611, allocations: 4.125 kB / 397.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.5611, allocations: 4 kB / 397.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.5615, allocations: 0.5053 MB / 398 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.5615, allocations: 88.5 kB / 398 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.5616, allocations: 7.984 kB / 398.1 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.5619, allocations: 8 kB / 398.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.562, allocations: 11.42 kB / 398.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.562, allocations: 4 kB / 398.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.5621, allocations: 87.52 kB / 398.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5621, allocations: 0 / 398.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000554/0.5627, allocations: 15.91 kB / 398.2 MB, free: 6.406 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.0007848/0.5635, allocations: 1.316 MB / 399.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.5636, allocations: 32.81 kB / 399.5 MB, free: 5.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5637, allocations: 3.938 kB / 399.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.5637, allocations: 23.38 kB / 399.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.5642, allocations: 12.14 kB / 399.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.5649, allocations: 159 kB / 399.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.5653, allocations: 0.6965 MB / 400.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.5653, allocations: 4 kB / 400.4 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.5654, allocations: 23.06 kB / 400.4 MB, free: 4.078 MB / 314.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5654, allocations: 0 / 400.4 MB, free: 4.078 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.5845, allocations: 1.328 MB / 401.8 MB, free: 2.797 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/0.5849, allocations: 136.2 kB / 401.9 MB, free: 2.574 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.183, allocations: 0 / 401.9 MB, free: 2.574 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat