Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.583e-05/4.593e-05, allocations: 4 kB / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.543/0.6914, allocations: 78.02 MB / 421.2 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.6918, allocations: 75.02 kB / 421.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.7037, allocations: 2.46 MB / 423.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.7037, allocations: 0 / 423.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.7038, allocations: 4 kB / 423.7 MB, free: 13.64 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.0006046/0.7044, allocations: 381.1 kB / 424.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.7045, allocations: 14.88 kB / 424.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.742e-05/0.7045, allocations: 45.3 kB / 424.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.7048, allocations: 27.84 kB / 424.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.7051, allocations: 190.3 kB / 424.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.7051, allocations: 7.562 kB / 424.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.7052, allocations: 11.44 kB / 424.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.7054, allocations: 88.58 kB / 424.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.7055, allocations: 3.984 kB / 424.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.7055, allocations: 3.562 kB / 424.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.7056, allocations: 11.94 kB / 424.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.7058, allocations: 53.5 kB / 424.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.7069, allocations: 493.1 kB / 425 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.7072, allocations: 76.59 kB / 425.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.7073, allocations: 30.92 kB / 425.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.7073, allocations: 0 / 425.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.7074, allocations: 30.56 kB / 425.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.7074, allocations: 0 / 425.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002742/0.7077, allocations: 84.59 kB / 425.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.7077, allocations: 51.41 kB / 425.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7078, allocations: 111.9 kB / 425.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.7079, allocations: 29.7 kB / 425.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.708, allocations: 112.9 kB / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.106e-05/0.708, allocations: 34.92 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.708, allocations: 3.188 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7082, allocations: 318.2 kB / 425.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.7083, allocations: 23.25 kB / 425.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.7084, allocations: 49.17 kB / 426 MB, free: 11.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.7085, allocations: 23.44 kB / 426 MB, free: 11.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7085, allocations: 0 / 426 MB, free: 11.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002617/0.7087, allocations: 122 kB / 426.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7088, allocations: 4 kB / 426.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7088, allocations: 4 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7088, allocations: 0 / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.7091, allocations: 23.98 kB / 426.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7091, allocations: 7.938 kB / 426.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.7092, allocations: 11.94 kB / 426.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.7092, allocations: 7 kB / 426.2 MB, free: 11.19 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 8.88e-05/0.7093, allocations: 112.3 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.7094, allocations: 4 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.7094, allocations: 11.38 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7095, allocations: 0 / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7095, allocations: 3.984 kB / 426.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7095, allocations: 4 kB / 426.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.7098, allocations: 199.8 kB / 426.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7098, allocations: 0 / 426.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.7101, allocations: 23.86 kB / 426.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7101, allocations: 0 / 426.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.7101, allocations: 4 kB / 426.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.7102, allocations: 0 / 426.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7102, allocations: 3.938 kB / 426.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.7105, allocations: 211.1 kB / 426.7 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.7106, allocations: 81.2 kB / 426.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.7106, allocations: 4 kB / 426.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.7107, allocations: 11.45 kB / 426.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.7108, allocations: 8.031 kB / 426.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.7108, allocations: 0 / 426.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.7109, allocations: 94.59 kB / 426.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7109, allocations: 0 / 426.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.7112, allocations: 27.81 kB / 426.9 MB, free: 10.37 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.000643/0.7119, allocations: 0.7469 MB / 427.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.7121, allocations: 56.55 kB / 427.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7121, allocations: 0 / 427.7 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.7122, allocations: 25.94 kB / 427.8 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.7126, allocations: 11.81 kB / 427.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.7137, allocations: 371.3 kB / 428.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.714, allocations: 0.7004 MB / 428.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.136e-05/0.7141, allocations: 12.42 kB / 428.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.7142, allocations: 24.38 kB / 428.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7142, allocations: 0 / 428.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.7385, allocations: 1.943 MB / 430.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003056/0.7388, allocations: 165.3 kB / 431 MB, free: 6.324 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.233, allocations: 0 / 431 MB, free: 6.324 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat