Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.948e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3292, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.4968, allocations: 93.73 MB / 388 MB, free: 4.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.4971, allocations: 83.95 kB / 388 MB, free: 3.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1321/0.6292, allocations: 29.86 MB / 417.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6293, allocations: 3.938 kB / 417.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.6294, allocations: 24 kB / 417.9 MB, free: 5.922 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.004007/0.6334, allocations: 1.355 MB / 419.3 MB, free: 4.504 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6335, allocations: 12.03 kB / 419.3 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6345, allocations: 198.5 kB / 419.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.6372, allocations: 0.8361 MB / 420.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.6374, allocations: 79.84 kB / 420.4 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000251/0.6377, allocations: 67.89 kB / 420.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002109/0.6398, allocations: 0.6291 MB / 421.1 MB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.6423, allocations: 0.9315 MB / 422 MB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.425e-05/0.6424, allocations: 11.98 kB / 422 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.6426, allocations: 3.953 kB / 422 MB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.6426, allocations: 28 kB / 422.1 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3022/0.9449, allocations: 3.694 MB / 425.8 MB, free: 93.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.947, allocations: 0.5188 MB / 426.3 MB, free: 92.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005577/0.9476, allocations: 219.7 kB / 426.5 MB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.9477, allocations: 11.09 kB / 426.5 MB, free: 92.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.9483, allocations: 251 kB / 426.8 MB, free: 92.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.577e-06/0.9483, allocations: 3.281 kB / 426.8 MB, free: 92.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.004017/0.9524, allocations: 1.402 MB / 428.2 MB, free: 92.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.9525, allocations: 476.2 kB / 428.6 MB, free: 91.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.954, allocations: 0.7323 MB / 429.4 MB, free: 91.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.9542, allocations: 27.17 kB / 429.4 MB, free: 91.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006205/0.9548, allocations: 0.6475 MB / 430 MB, free: 91.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.955, allocations: 222.7 kB / 430.2 MB, free: 91.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.364e-05/0.9551, allocations: 0 / 430.2 MB, free: 91.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.9552, allocations: 352.1 kB / 430.6 MB, free: 91.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.9558, allocations: 195.9 kB / 430.8 MB, free: 91.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.9566, allocations: 0.6469 MB / 431.4 MB, free: 90.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007232/0.9574, allocations: 296.5 kB / 431.7 MB, free: 90.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.9574, allocations: 2.875 kB / 431.7 MB, free: 90.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002817/0.9602, allocations: 0.9489 MB / 432.7 MB, free: 90.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.9603, allocations: 65.86 kB / 432.7 MB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.9603, allocations: 11.75 kB / 432.7 MB, free: 90.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.9614, allocations: 181.5 kB / 432.9 MB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.9628, allocations: 217.5 kB / 433.1 MB, free: 90.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.9681, allocations: 3.414 MB / 436.6 MB, free: 87.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9697, allocations: 53.36 kB / 436.6 MB, free: 87.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.9698, allocations: 48.88 kB / 436.7 MB, free: 87.77 MB / 362.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: 2 {(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002425/0.9701, allocations: 144.3 kB / 436.8 MB, free: 87.67 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001888/0.972, allocations: 0.6154 MB / 437.4 MB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.9723, allocations: 105.8 kB / 437.5 MB, free: 87.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.9742, allocations: 0.6259 MB / 438.1 MB, free: 87.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.9742, allocations: 7.781 kB / 438.1 MB, free: 87.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9743, allocations: 0 / 438.1 MB, free: 87.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.9758, allocations: 0.8891 MB / 439 MB, free: 86.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/0.9799, allocations: 1.586 MB / 440.6 MB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.98, allocations: 3.25 kB / 440.6 MB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.9809, allocations: 115.8 kB / 440.7 MB, free: 86.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006724/0.9816, allocations: 130.2 kB / 440.9 MB, free: 86.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.9817, allocations: 11.5 kB / 440.9 MB, free: 86.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.9853, allocations: 3.149 MB / 444 MB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9854, allocations: 0 / 444 MB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.9877, allocations: 1.038 MB / 445.1 MB, free: 83.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005454/0.9883, allocations: 231.8 kB / 445.3 MB, free: 83.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.9885, allocations: 7.703 kB / 445.3 MB, free: 83.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.9894, allocations: 35.86 kB / 445.3 MB, free: 83.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9896, allocations: 53.94 kB / 445.4 MB, free: 83.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.9897, allocations: 27.28 kB / 445.4 MB, free: 83.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009542/0.9907, allocations: 0.5303 MB / 445.9 MB, free: 82.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9907, allocations: 3.375 kB / 445.9 MB, free: 82.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001728/0.9924, allocations: 294.4 kB / 446.2 MB, free: 82.96 MB / 362.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.00283/0.9953, allocations: 2.274 MB / 448.5 MB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.9979, allocations: 0.9682 MB / 449.5 MB, free: 80.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.998, allocations: 0 / 449.5 MB, free: 80.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.999, allocations: 498.4 kB / 450 MB, free: 80.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/1.001, allocations: 240.1 kB / 450.2 MB, free: 80.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008383/1.009, allocations: 1.705 MB / 451.9 MB, free: 79.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.011, allocations: 1.107 MB / 453 MB, free: 78.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001253/1.012, allocations: 128.9 kB / 453.1 MB, free: 78.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.013, allocations: 444 kB / 453.6 MB, free: 78.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/1.013, allocations: 0 / 453.6 MB, free: 78.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09651/1.11, allocations: 23.45 MB / 477 MB, free: 67.37 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.11, allocations: 155 kB / 477.2 MB, free: 67.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.649/4.759, allocations: 0 / 477.2 MB, free: 67.17 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat does not exist to compare? outputFormat=mat