Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.273/2.273, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.95e-05, allocations: 0 / 269.4 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5138/0.6353, allocations: 76.99 MB / 394 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/0.6357, allocations: 68.47 kB / 394.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.6502, allocations: 2.432 MB / 396.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.6502, allocations: 0 / 396.5 MB, free: 8.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6503, allocations: 4 kB / 396.5 MB, free: 8.57 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008003/0.6511, allocations: 381.9 kB / 396.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.566e-05/0.6512, allocations: 8.031 kB / 396.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.468e-05/0.6513, allocations: 42.19 kB / 396.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.6517, allocations: 27.8 kB / 397 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.6521, allocations: 185.9 kB / 397.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.6521, allocations: 11.5 kB / 397.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.6522, allocations: 15.7 kB / 397.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.6526, allocations: 88.73 kB / 397.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6526, allocations: 0 / 397.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.6527, allocations: 3.938 kB / 397.3 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.6527, allocations: 4 kB / 397.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.653, allocations: 53.95 kB / 397.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.6545, allocations: 486.6 kB / 397.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.655, allocations: 86.95 kB / 397.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.6551, allocations: 23.73 kB / 397.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.6551, allocations: 0 / 397.9 MB, free: 7.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.6552, allocations: 47.97 kB / 398 MB, free: 7.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.415e-06/0.6552, allocations: 0 / 398 MB, free: 7.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003643/0.6556, allocations: 86.11 kB / 398 MB, free: 7.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6556, allocations: 51.41 kB / 398.1 MB, free: 6.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.6558, allocations: 108 kB / 398.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.6559, allocations: 25.7 kB / 398.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.656, allocations: 107.7 kB / 398.3 MB, free: 6.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.656, allocations: 31.3 kB / 398.4 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.6561, allocations: 4 kB / 398.4 MB, free: 6.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.6563, allocations: 326.6 kB / 398.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.6564, allocations: 18.88 kB / 398.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.6565, allocations: 51.69 kB / 398.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.6567, allocations: 26.98 kB / 398.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6567, allocations: 4 kB / 398.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003691/0.6571, allocations: 106.1 kB / 398.9 MB, free: 6.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.6571, allocations: 8 kB / 398.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.6571, allocations: 0 / 398.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6572, allocations: 3.938 kB / 398.9 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.6575, allocations: 24.08 kB / 398.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.6576, allocations: 11.89 kB / 398.9 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.6578, allocations: 7.906 kB / 398.9 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.6578, allocations: 11.22 kB / 398.9 MB, free: 6.129 MB / 314.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 0.0001325/0.658, allocations: 115.7 kB / 399.1 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.658, allocations: 4 kB / 399.1 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.922e-05/0.6581, allocations: 10.81 kB / 399.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.6582, allocations: 4 kB / 399.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6582, allocations: 0 / 399.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6582, allocations: 3.953 kB / 399.1 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.6587, allocations: 199.3 kB / 399.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6587, allocations: 0 / 399.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.6592, allocations: 20 kB / 399.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.6592, allocations: 7.984 kB / 399.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.6592, allocations: 0 / 399.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6593, allocations: 0 / 399.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6593, allocations: 0 / 399.3 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005359/0.6598, allocations: 211.6 kB / 399.5 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.6599, allocations: 85.02 kB / 399.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.66, allocations: 7.469 kB / 399.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.6602, allocations: 4 kB / 399.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.6603, allocations: 4 kB / 399.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.6603, allocations: 0 / 399.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.6605, allocations: 99.31 kB / 399.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6605, allocations: 0 / 399.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006214/0.6611, allocations: 23.94 kB / 399.7 MB, free: 5.32 MB / 314.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.001004/0.6621, allocations: 0.7455 MB / 400.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.6625, allocations: 57.67 kB / 400.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6625, allocations: 3.938 kB / 400.5 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.6626, allocations: 23.88 kB / 400.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.6632, allocations: 18.73 kB / 400.6 MB, free: 4.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.6649, allocations: 357.6 kB / 400.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.6654, allocations: 0.7084 MB / 401.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.6656, allocations: 8.422 kB / 401.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.6657, allocations: 32.61 kB / 401.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of SimCode: time 1.804e-06/0.6658, allocations: 4 kB / 401.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.6901, allocations: 1.94 MB / 403.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.6903, allocations: 169 kB / 403.8 MB, free: 1.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.112, allocations: 0 / 403.8 MB, free: 1.25 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat