Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.719/1.719, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.238e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4519, allocations: 65.72 MB / 324.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4522, allocations: 63.97 kB / 324.1 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005786/0.458, allocations: 1.43 MB / 325.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.458, allocations: 0 / 325.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.458, allocations: 4 kB / 325.6 MB, free: 10.56 MB / 282.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.0005062/0.4585, allocations: 362.4 kB / 325.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4586, allocations: 12.03 kB / 325.9 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.4587, allocations: 7.906 kB / 325.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.4588, allocations: 190.7 kB / 326.1 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4589, allocations: 7.984 kB / 326.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.4589, allocations: 0 / 326.1 MB, free: 9.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.459, allocations: 31.95 kB / 326.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4592, allocations: 93.91 kB / 326.2 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4593, allocations: 4 kB / 326.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4593, allocations: 0 / 326.3 MB, free: 9.762 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4593, allocations: 4 kB / 326.3 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.46, allocations: 0.6074 MB / 326.9 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.4602, allocations: 97.02 kB / 327 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.111e-05/0.4603, allocations: 44.42 kB / 327 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.4603, allocations: 3.938 kB / 327 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.4604, allocations: 38.55 kB / 327 MB, free: 8.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.4604, allocations: 4 kB / 327 MB, free: 8.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003207/0.4607, allocations: 69.47 kB / 327.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.4608, allocations: 158.2 kB / 327.3 MB, free: 8.578 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4609, allocations: 109 kB / 327.4 MB, free: 8.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.461, allocations: 25.7 kB / 327.4 MB, free: 8.434 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.4611, allocations: 96.23 kB / 327.5 MB, free: 8.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.4611, allocations: 15.91 kB / 327.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.4611, allocations: 0 / 327.5 MB, free: 8.316 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4613, allocations: 322.8 kB / 327.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.4613, allocations: 8 kB / 327.8 MB, free: 7.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.4614, allocations: 36.3 kB / 327.9 MB, free: 7.934 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.4614, allocations: 23.94 kB / 327.9 MB, free: 7.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4615, allocations: 0 / 327.9 MB, free: 7.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001682/0.4616, allocations: 73.47 kB / 328 MB, free: 7.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4617, allocations: 7.938 kB / 328 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4617, allocations: 0 / 328 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4617, allocations: 4 kB / 328 MB, free: 7.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4619, allocations: 24.08 kB / 328 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4619, allocations: 0 / 328 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.4621, allocations: 8 kB / 328 MB, free: 7.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.4621, allocations: 4 kB / 328 MB, free: 7.785 MB / 282.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.049e-05/0.4622, allocations: 112.9 kB / 328.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002371/0.4624, allocations: 69.75 kB / 328.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.4626, allocations: 12.06 kB / 328.2 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.4626, allocations: 11.97 kB / 328.2 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.4626, allocations: 4 kB / 328.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4626, allocations: 0 / 328.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4627, allocations: 0 / 328.2 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.4632, allocations: 162.1 kB / 328.4 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4632, allocations: 7.938 kB / 328.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.4633, allocations: 11.98 kB / 328.4 MB, free: 7.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4633, allocations: 4 kB / 328.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4633, allocations: 0 / 328.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4634, allocations: 8 kB / 328.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4634, allocations: 0 / 328.4 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4637, allocations: 0.5064 MB / 328.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.4638, allocations: 93 kB / 329 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.4638, allocations: 0 / 329 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.4642, allocations: 15.94 kB / 329 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4643, allocations: 4 kB / 329 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4643, allocations: 11.98 kB / 329 MB, free: 6.648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.4644, allocations: 87.28 kB / 329.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4644, allocations: 0 / 329.1 MB, free: 6.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000541/0.4649, allocations: 11.94 kB / 329.1 MB, free: 6.551 MB / 282.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.0007791/0.4657, allocations: 1.319 MB / 330.4 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.4659, allocations: 32.19 kB / 330.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4659, allocations: 4.062 kB / 330.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.466, allocations: 19.94 kB / 330.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.4664, allocations: 7.953 kB / 330.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008036/0.4672, allocations: 156.5 kB / 330.7 MB, free: 4.922 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.4676, allocations: 0.6966 MB / 331.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.4676, allocations: 7.984 kB / 331.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.4677, allocations: 15.44 kB / 331.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4677, allocations: 0 / 331.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.504, allocations: 1.04 MB / 332.4 MB, free: 3.148 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003102/0.5043, allocations: 125.5 kB / 332.5 MB, free: 2.949 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.724, allocations: 3.938 kB / 332.6 MB, free: 2.945 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat