Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BusUsage",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.384/2.384, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.12e-05/3.136e-05, allocations: 2.75 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.5985, allocations: 71.01 MB / 365.3 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5988, allocations: 69.52 kB / 365.4 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006469/0.6053, allocations: 1.428 MB / 366.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6053, allocations: 0 / 366.8 MB, free: 22.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.6053, allocations: 0 / 366.8 MB, free: 22.82 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.0004571/0.6058, allocations: 368.8 kB / 367.2 MB, free: 22.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.6059, allocations: 15.38 kB / 367.2 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.6059, allocations: 10.28 kB / 367.2 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.606, allocations: 172.4 kB / 367.3 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.6061, allocations: 0 / 367.3 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.6061, allocations: 3.781 kB / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/0.6063, allocations: 26.92 kB / 367.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.6064, allocations: 94.48 kB / 367.5 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6065, allocations: 8 kB / 367.5 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.6065, allocations: 3.875 kB / 367.5 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6065, allocations: 0 / 367.5 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.6072, allocations: 0.6156 MB / 368.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.6073, allocations: 104.8 kB / 368.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.278e-05/0.6074, allocations: 36.94 kB / 368.2 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.6074, allocations: 3.75 kB / 368.2 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.6075, allocations: 38.12 kB / 368.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.437e-06/0.6075, allocations: 4 kB / 368.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003555/0.6078, allocations: 69.09 kB / 368.3 MB, free: 21.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6079, allocations: 165.6 kB / 368.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.608, allocations: 109.8 kB / 368.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.608, allocations: 25.7 kB / 368.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.6081, allocations: 94.8 kB / 368.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.6081, allocations: 19.22 kB / 368.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/0.6081, allocations: 0 / 368.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.6083, allocations: 317.9 kB / 369.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.073e-05/0.6084, allocations: 7.469 kB / 369.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.6084, allocations: 45.22 kB / 369.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.121e-05/0.6085, allocations: 16.94 kB / 369.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6085, allocations: 0 / 369.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001761/0.6087, allocations: 70.16 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.6087, allocations: 3.875 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6087, allocations: 1.594 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.6088, allocations: 3.75 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.609, allocations: 18.61 kB / 369.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.609, allocations: 3.938 kB / 369.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.6091, allocations: 18.52 kB / 369.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.6092, allocations: 3.75 kB / 369.3 MB, free: 20.5 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.953e-05/0.6093, allocations: 104.8 kB / 369.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002684/0.6095, allocations: 76.27 kB / 369.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6097, allocations: 7.906 kB / 369.4 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.6097, allocations: 13.72 kB / 369.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6098, allocations: 3.953 kB / 369.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6098, allocations: 0 / 369.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6098, allocations: 3.875 kB / 369.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.6104, allocations: 159.9 kB / 369.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6104, allocations: 0 / 369.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.6105, allocations: 13.98 kB / 369.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.6105, allocations: 3.781 kB / 369.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6106, allocations: 4 kB / 369.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.6106, allocations: 6.312 kB / 369.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6106, allocations: 0 / 369.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.611, allocations: 0.5124 MB / 370.2 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.611, allocations: 84.86 kB / 370.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.6111, allocations: 0 / 370.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.6115, allocations: 10.36 kB / 370.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.6116, allocations: 6.594 kB / 370.3 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.6116, allocations: 10.69 kB / 370.3 MB, free: 19.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.6117, allocations: 93.94 kB / 370.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6117, allocations: 0 / 370.4 MB, free: 19.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000704/0.6124, allocations: 7.75 kB / 370.4 MB, free: 19.48 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.000835/0.6133, allocations: 1.319 MB / 371.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.6135, allocations: 30.38 kB / 371.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6135, allocations: 4.062 kB / 371.7 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.6136, allocations: 22.47 kB / 371.7 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.6141, allocations: 6.906 kB / 371.7 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.615, allocations: 150.1 kB / 371.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6154, allocations: 0.7003 MB / 372.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.338e-05/0.6154, allocations: 3.875 kB / 372.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.6155, allocations: 17.02 kB / 372.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6155, allocations: 0 / 372.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/0.6601, allocations: 1.04 MB / 373.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000308/0.6605, allocations: 121.6 kB / 373.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.807/3.468, allocations: 0 / 373.8 MB, free: 17.05 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat