Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.171e-05, allocations: 0 / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5812, allocations: 77.14 MB / 420.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5815, allocations: 65.53 kB / 420.4 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006163/0.5877, allocations: 1.5 MB / 421.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5877, allocations: 0 / 421.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5877, allocations: 4 kB / 421.9 MB, free: 15.37 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.0005442/0.5883, allocations: 374.1 kB / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5883, allocations: 8.031 kB / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.5884, allocations: 46.33 kB / 422.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.5885, allocations: 7.906 kB / 422.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.5887, allocations: 171 kB / 422.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.5887, allocations: 4.875 kB / 422.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.5888, allocations: 7.812 kB / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.589, allocations: 97.17 kB / 422.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.589, allocations: 4 kB / 422.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.589, allocations: 0 / 422.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5891, allocations: 7.953 kB / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5892, allocations: 35.67 kB / 422.6 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008688/0.5901, allocations: 0.6331 MB / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.5903, allocations: 108.6 kB / 423.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.5904, allocations: 40.05 kB / 423.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5904, allocations: 3.938 kB / 423.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.5905, allocations: 39.55 kB / 423.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.5905, allocations: 0 / 423.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003269/0.5908, allocations: 69.22 kB / 423.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5909, allocations: 162.2 kB / 423.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.5911, allocations: 108.7 kB / 423.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5911, allocations: 25.7 kB / 423.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.5912, allocations: 112 kB / 423.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.5912, allocations: 15.75 kB / 423.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.5912, allocations: 3.938 kB / 423.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5914, allocations: 314.7 kB / 424.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.5915, allocations: 11.94 kB / 424.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.5915, allocations: 39.97 kB / 424.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.741e-05/0.5916, allocations: 19.69 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5916, allocations: 3.953 kB / 424.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001818/0.5918, allocations: 69.03 kB / 424.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5919, allocations: 8 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5919, allocations: 0 / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5919, allocations: 4.156 kB / 424.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.5921, allocations: 19.8 kB / 424.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.5921, allocations: 4 kB / 424.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.5922, allocations: 7.984 kB / 424.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.5923, allocations: 4 kB / 424.4 MB, free: 12.61 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 0.000111/0.5924, allocations: 108.9 kB / 424.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5925, allocations: 19.66 kB / 424.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.5926, allocations: 11.53 kB / 424.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5926, allocations: 7.984 kB / 424.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5926, allocations: 0 / 424.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.5926, allocations: 4 kB / 424.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.5932, allocations: 177 kB / 424.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.5932, allocations: 4 kB / 424.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.5933, allocations: 11.95 kB / 424.7 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.5934, allocations: 7.984 kB / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5934, allocations: 0 / 424.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.5934, allocations: 4 kB / 424.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5934, allocations: 4 kB / 424.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.5939, allocations: 0.5061 MB / 425.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.5939, allocations: 81.11 kB / 425.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.594, allocations: 7.938 kB / 425.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.5943, allocations: 8.172 kB / 425.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.5944, allocations: 15.81 kB / 425.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.5944, allocations: 8 kB / 425.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.5945, allocations: 91.64 kB / 425.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5945, allocations: 0 / 425.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005353/0.595, allocations: 12 kB / 425.5 MB, free: 11.46 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.0009069/0.596, allocations: 1.323 MB / 426.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.5961, allocations: 31.75 kB / 426.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5962, allocations: 320 / 426.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.5963, allocations: 27.81 kB / 426.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.5967, allocations: 4.703 kB / 426.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.5975, allocations: 165.2 kB / 427 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.5979, allocations: 0.6969 MB / 427.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.659e-05/0.598, allocations: 3.984 kB / 427.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.5981, allocations: 19.19 kB / 427.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5981, allocations: 0 / 427.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.6257, allocations: 1.325 MB / 429.1 MB, free: 7.875 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.626, allocations: 140.4 kB / 429.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.107, allocations: 0 / 429.2 MB, free: 7.648 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat