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 1.89/1.89, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.194e-05, allocations: 3.984 kB / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 44.5 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5902, allocations: 94.39 MB / 394.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5905, allocations: 83.27 kB / 394.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/0.7125, allocations: 30.27 MB / 424.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.7125, allocations: 0 / 424.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.733e-05/0.7126, allocations: 31.09 kB / 424.8 MB, free: 2.605 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003717/0.7164, allocations: 1.355 MB / 426.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7164, allocations: 11.03 kB / 426.1 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003995/0.7169, allocations: 161.3 kB / 426.3 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009447/0.7178, allocations: 200.2 kB / 426.5 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.7202, allocations: 0.835 MB / 427.3 MB, free: 1.055 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.7205, allocations: 113.9 kB / 427.4 MB, free: 1.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/0.7209, allocations: 113.9 kB / 427.5 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.7235, allocations: 1.067 MB / 428.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.7236, allocations: 3.875 kB / 428.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.7238, allocations: 54.02 kB / 428.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.7238, allocations: 27.09 kB / 428.7 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.7259, allocations: 0.6776 MB / 429.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009781/0.7357, allocations: 3.917 MB / 433.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.7382, allocations: 0.5422 MB / 433.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.7389, allocations: 246.4 kB / 434.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.739, allocations: 8.562 kB / 434.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007298/0.7398, allocations: 267.7 kB / 434.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 3.957e-06/0.7398, allocations: 0 / 434.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.004675/0.7445, allocations: 1.484 MB / 435.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.7448, allocations: 475.2 kB / 436.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.7471, allocations: 0.9171 MB / 437.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.7473, allocations: 39.89 kB / 437.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.748, allocations: 0.6374 MB / 437.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.7484, allocations: 233.2 kB / 438.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.373e-05/0.7485, allocations: 18.75 kB / 438.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7487, allocations: 348.2 kB / 438.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006902/0.7494, allocations: 218.6 kB / 438.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.7506, allocations: 0.6756 MB / 439.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.7516, allocations: 381.9 kB / 439.7 MB, free: 9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.7517, allocations: 4 kB / 439.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003332/0.755, allocations: 1.061 MB / 440.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-05/0.7551, allocations: 62.78 kB / 440.9 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.7552, allocations: 12 kB / 440.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008843/0.7561, allocations: 175 kB / 441 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.7576, allocations: 214.8 kB / 441.2 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.764, allocations: 3.532 MB / 444.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.7658, allocations: 78.23 kB / 444.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.7661, allocations: 56.3 kB / 444.9 MB, free: 4.242 MB / 330.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.0003238/0.7664, allocations: 178.9 kB / 445.1 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.7667, allocations: 122.5 kB / 445.2 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.769, allocations: 0.6606 MB / 445.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.769, allocations: 8 kB / 445.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7691, allocations: 0 / 445.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001694/0.7708, allocations: 0.8828 MB / 446.8 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.776, allocations: 1.725 MB / 448.5 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7761, allocations: 4.031 kB / 448.5 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.7771, allocations: 115.8 kB / 448.6 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/0.7779, allocations: 129.6 kB / 448.7 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.01e-05/0.778, allocations: 12 kB / 448.7 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00509/0.7831, allocations: 3.271 MB / 452 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.7831, allocations: 8.031 kB / 452 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.7861, allocations: 1.078 MB / 453.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009794/0.7871, allocations: 255.5 kB / 453.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.7875, allocations: 16 kB / 453.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7887, allocations: 47.97 kB / 453.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.7889, allocations: 60.41 kB / 453.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.274e-05/0.789, allocations: 20 kB / 453.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001682/0.7907, allocations: 0.6865 MB / 454.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.7907, allocations: 0 / 454.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002079/0.7928, allocations: 355.9 kB / 454.5 MB, free: 10.06 MB / 346.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.004109/0.797, allocations: 2.353 MB / 456.9 MB, free: 7.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002863/0.7999, allocations: 0.9983 MB / 457.9 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.7999, allocations: 3.938 kB / 457.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.8013, allocations: 0.51 MB / 458.4 MB, free: 6.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.8037, allocations: 292.7 kB / 458.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.8101, allocations: 1.792 MB / 460.5 MB, free: 3.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.8113, allocations: 1.109 MB / 461.6 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009881/0.8123, allocations: 145.8 kB / 461.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008809/0.8132, allocations: 463.3 kB / 462.2 MB, free: 2.207 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8132, allocations: 0 / 462.2 MB, free: 2.207 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09971/0.9129, allocations: 29.55 MB / 491.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.9133, allocations: 205.4 kB / 491.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/4.78, allocations: 0 / 491.9 MB, free: 4.453 MB / 378.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