Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.194e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 50.42 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.5639, allocations: 78.04 MB / 420.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5642, allocations: 62.72 kB / 420.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.5751, allocations: 2.454 MB / 423.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5751, allocations: 0 / 423.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.5752, allocations: 4 kB / 423.2 MB, free: 13.69 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005761/0.5758, allocations: 388.6 kB / 423.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5758, allocations: 8.031 kB / 423.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.5759, allocations: 40.94 kB / 423.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.5762, allocations: 27.84 kB / 423.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.5764, allocations: 205.4 kB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5764, allocations: 3.625 kB / 423.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.5765, allocations: 11.38 kB / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.5768, allocations: 89.02 kB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5768, allocations: 0 / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.5768, allocations: 3.188 kB / 424 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5768, allocations: 7.953 kB / 424 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.577, allocations: 53.42 kB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.5782, allocations: 488.8 kB / 424.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.5786, allocations: 84.41 kB / 424.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.5787, allocations: 24.73 kB / 424.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5788, allocations: 0 / 424.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.5788, allocations: 38.58 kB / 424.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/0.5788, allocations: 0 / 424.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003246/0.5792, allocations: 78.72 kB / 424.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.5792, allocations: 51.41 kB / 424.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5794, allocations: 108.6 kB / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5794, allocations: 33.7 kB / 424.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.5795, allocations: 110.1 kB / 425 MB, free: 11.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.5796, allocations: 33.67 kB / 425.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.5796, allocations: 0 / 425.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5797, allocations: 322 kB / 425.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-05/0.5798, allocations: 22.56 kB / 425.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.426e-05/0.5799, allocations: 46.19 kB / 425.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.083e-05/0.58, allocations: 30.05 kB / 425.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.58, allocations: 0 / 425.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.5803, allocations: 111.2 kB / 425.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.5803, allocations: 4 kB / 425.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5804, allocations: 4 kB / 425.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.5804, allocations: 0 / 425.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.5806, allocations: 23.98 kB / 425.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5807, allocations: 12.16 kB / 425.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.5808, allocations: 10.84 kB / 425.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.5808, allocations: 4 kB / 425.6 MB, free: 11.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.529e-05/0.5809, allocations: 120.3 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.581, allocations: 4 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.581, allocations: 11.06 kB / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.581, allocations: 0 / 425.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5811, allocations: 8 kB / 425.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5811, allocations: 4 kB / 425.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.5814, allocations: 206.9 kB / 426 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5814, allocations: 0 / 426 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.5816, allocations: 16 kB / 426 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5817, allocations: 7.984 kB / 426 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.5817, allocations: 0 / 426 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5817, allocations: 0 / 426 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5817, allocations: 0 / 426 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.5821, allocations: 204 kB / 426.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.5821, allocations: 81.11 kB / 426.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5822, allocations: 7.312 kB / 426.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.5823, allocations: 7.938 kB / 426.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.5824, allocations: 4 kB / 426.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5824, allocations: 3.938 kB / 426.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.5825, allocations: 98.02 kB / 426.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5825, allocations: 0 / 426.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000347/0.5828, allocations: 27.31 kB / 426.4 MB, free: 10.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006564/0.5835, allocations: 0.7482 MB / 427.2 MB, free: 9.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.5837, allocations: 56.06 kB / 427.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.5837, allocations: 0 / 427.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.5838, allocations: 26.44 kB / 427.3 MB, free: 9.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.5842, allocations: 16.03 kB / 427.3 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5853, allocations: 356.2 kB / 427.6 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5856, allocations: 0.7043 MB / 428.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.5857, allocations: 12.38 kB / 428.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.5858, allocations: 27.86 kB / 428.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5858, allocations: 0 / 428.4 MB, free: 8.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.6134, allocations: 1.953 MB / 430.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.6138, allocations: 153.6 kB / 430.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/2.973, allocations: 0 / 430.5 MB, free: 6.379 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat