Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.274/2.274, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.789e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3775, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5102, allocations: 71.03 MB / 365.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5105, allocations: 63.97 kB / 365.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005775/0.5163, allocations: 1.434 MB / 366.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5163, allocations: 0 / 366.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.5164, allocations: 0 / 366.7 MB, free: 9.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.0005281/0.5169, allocations: 366.4 kB / 367.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.517, allocations: 16.03 kB / 367.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.517, allocations: 11.91 kB / 367.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.5172, allocations: 171 kB / 367.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.5172, allocations: 0 / 367.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.5173, allocations: 4 kB / 367.3 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001806/0.5175, allocations: 27.94 kB / 367.3 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.5177, allocations: 93.47 kB / 367.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.5177, allocations: 4 kB / 367.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5177, allocations: 0 / 367.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.5177, allocations: 0 / 367.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.5185, allocations: 0.6151 MB / 368 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.5187, allocations: 101.1 kB / 368.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.5188, allocations: 44.28 kB / 368.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.5188, allocations: 0 / 368.2 MB, free: 7.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.5189, allocations: 42.5 kB / 368.2 MB, free: 7.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.5189, allocations: 4 kB / 368.2 MB, free: 7.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003356/0.5192, allocations: 65.53 kB / 368.3 MB, free: 7.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/0.5194, allocations: 162.2 kB / 368.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5195, allocations: 105 kB / 368.5 MB, free: 7.238 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5195, allocations: 25.7 kB / 368.6 MB, free: 7.207 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.5196, allocations: 96.05 kB / 368.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.5196, allocations: 15.95 kB / 368.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.5197, allocations: 4 kB / 368.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5198, allocations: 314.8 kB / 369 MB, free: 6.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.5199, allocations: 11.94 kB / 369 MB, free: 6.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.52, allocations: 43.64 kB / 369 MB, free: 6.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.52, allocations: 16 kB / 369.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.52, allocations: 0 / 369.1 MB, free: 6.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001756/0.5202, allocations: 69.53 kB / 369.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5203, allocations: 4 kB / 369.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5203, allocations: 4 kB / 369.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5203, allocations: 0 / 369.1 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.5205, allocations: 28.02 kB / 369.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5205, allocations: 0 / 369.2 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.5206, allocations: 19.88 kB / 369.2 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.5207, allocations: 4 kB / 369.2 MB, free: 6.559 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.644e-05/0.5208, allocations: 104.8 kB / 369.3 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000251/0.521, allocations: 77.59 kB / 369.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.5212, allocations: 12.02 kB / 369.4 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.5212, allocations: 8.688 kB / 369.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.5212, allocations: 11.89 kB / 369.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5212, allocations: 0 / 369.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5213, allocations: 3.984 kB / 369.4 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.5217, allocations: 158.1 kB / 369.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5218, allocations: 0 / 369.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5219, allocations: 15.98 kB / 369.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5219, allocations: 128 / 369.6 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5219, allocations: 8 kB / 369.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.522, allocations: 7.938 kB / 369.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.522, allocations: 0 / 369.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.5224, allocations: 0.4995 MB / 370.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.5224, allocations: 89 kB / 370.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.5225, allocations: 0 / 370.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.5228, allocations: 8 kB / 370.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.5229, allocations: 15.92 kB / 370.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.523, allocations: 8 kB / 370.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.499e-05/0.523, allocations: 91.64 kB / 370.3 MB, free: 5.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5231, allocations: 4 kB / 370.3 MB, free: 5.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005477/0.5236, allocations: 8 kB / 370.3 MB, free: 5.328 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.0008046/0.5244, allocations: 1.312 MB / 371.6 MB, free: 3.973 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.5246, allocations: 32.23 kB / 371.6 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5246, allocations: 4.734 kB / 371.7 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.5247, allocations: 19.94 kB / 371.7 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.5251, allocations: 4 kB / 371.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008254/0.526, allocations: 154.3 kB / 371.8 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.5263, allocations: 0.7044 MB / 372.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.5264, allocations: 0 / 372.5 MB, free: 2.984 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.5265, allocations: 23.42 kB / 372.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of SimCode: time 9.71e-07/0.5265, allocations: 0 / 372.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.5593, allocations: 1.034 MB / 373.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/0.5597, allocations: 113 kB / 373.7 MB, free: 1.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.537/3.097, allocations: 0 / 373.7 MB, free: 1.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat