Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.402/2.402, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.454e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4888/0.599, allocations: 99.92 MB / 416.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5994, allocations: 84.64 kB / 417 MB, free: 3.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1493/0.7488, allocations: 30.83 MB / 447.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7488, allocations: 0 / 447.9 MB, free: 10.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001512/0.749, allocations: 39.31 kB / 447.9 MB, free: 9.973 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005886/0.7549, allocations: 1.362 MB / 449.3 MB, free: 8.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.755, allocations: 8.031 kB / 449.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005322/0.7556, allocations: 163.8 kB / 449.4 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.7573, allocations: 198.1 kB / 449.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.7615, allocations: 0.8407 MB / 450.5 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.7618, allocations: 119.2 kB / 450.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/0.7622, allocations: 114.7 kB / 450.7 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.7665, allocations: 1.078 MB / 451.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.828e-05/0.7667, allocations: 3.906 kB / 451.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.7669, allocations: 46.94 kB / 451.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.414e-05/0.767, allocations: 28 kB / 451.8 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003533/0.7706, allocations: 0.6826 MB / 452.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/0.7861, allocations: 3.931 MB / 456.5 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.79, allocations: 0.5349 MB / 457 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.791, allocations: 241.3 kB / 457.2 MB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.7912, allocations: 20.47 kB / 457.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.7923, allocations: 268.2 kB / 457.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 6.492e-06/0.7923, allocations: 0 / 457.5 MB, free: 2.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.0068/0.7992, allocations: 1.495 MB / 459 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003586/0.7996, allocations: 471.2 kB / 459.5 MB, free: 204 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.8029, allocations: 0.9287 MB / 460.4 MB, free: 15.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.8032, allocations: 45.69 kB / 460.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.8043, allocations: 0.6466 MB / 461.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.8048, allocations: 236.7 kB / 461.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.805, allocations: 24 kB / 461.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002587/0.8053, allocations: 345.9 kB / 461.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.8064, allocations: 218.6 kB / 461.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.8083, allocations: 0.6678 MB / 462.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.81, allocations: 385.2 kB / 462.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.81, allocations: 4 kB / 462.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005143/0.8152, allocations: 1.059 MB / 464 MB, free: 11.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.8154, allocations: 71.41 kB / 464.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.411e-05/0.8154, allocations: 12 kB / 464.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.8167, allocations: 162.3 kB / 464.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.8188, allocations: 215.6 kB / 464.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00959/0.8284, allocations: 3.537 MB / 468 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.8311, allocations: 76.03 kB / 468.1 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.8313, allocations: 44 kB / 468.1 MB, free: 6.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004266/0.8318, allocations: 184.8 kB / 468.3 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.8322, allocations: 130.4 kB / 468.4 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/0.8354, allocations: 0.6493 MB / 469.1 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.8354, allocations: 11.95 kB / 469.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8355, allocations: 4 kB / 469.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002417/0.8379, allocations: 0.8828 MB / 470 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/0.8447, allocations: 1.739 MB / 471.7 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.8448, allocations: 4 kB / 471.7 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.8464, allocations: 120 kB / 471.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.8474, allocations: 121.6 kB / 471.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.8476, allocations: 19.94 kB / 472 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0072/0.8548, allocations: 3.267 MB / 475.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.038e-05/0.8549, allocations: 7.969 kB / 475.2 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/0.8594, allocations: 1.08 MB / 476.3 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.8607, allocations: 251.6 kB / 476.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003469/0.861, allocations: 20 kB / 476.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.8626, allocations: 47.86 kB / 476.6 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009806/0.8637, allocations: 60.42 kB / 476.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.8638, allocations: 23.98 kB / 476.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002405/0.8662, allocations: 0.6952 MB / 477.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.617e-06/0.8662, allocations: 0 / 477.4 MB, free: 13.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0034/0.8697, allocations: 360.1 kB / 477.8 MB, free: 12.74 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005668/0.8754, allocations: 2.372 MB / 480.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003887/0.8794, allocations: 0.9946 MB / 481.1 MB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.8794, allocations: 3.938 kB / 481.1 MB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.8814, allocations: 0.5025 MB / 481.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/0.8849, allocations: 296.4 kB / 481.9 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.8942, allocations: 1.811 MB / 483.7 MB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.8957, allocations: 1.113 MB / 484.8 MB, free: 5.418 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.8973, allocations: 145.8 kB / 485 MB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.8986, allocations: 467.3 kB / 485.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.8987, allocations: 0 / 485.4 MB, free: 4.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.031, allocations: 29.82 MB / 0.5032 GB, free: 7.043 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/1.031, allocations: 193.4 kB / 0.5034 GB, free: 6.816 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.847/4.879, allocations: 0 / 0.5034 GB, free: 6.816 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat does not exist to compare? outputFormat=mat