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.061/2.061, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.98e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 44.52 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.458/0.5786, allocations: 94.38 MB / 394.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5789, allocations: 81.28 kB / 394.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1421/0.7211, allocations: 30.26 MB / 424.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7211, allocations: 7.781 kB / 424.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001189/0.7213, allocations: 26.77 kB / 424.7 MB, free: 2.246 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.004141/0.7254, allocations: 1.353 MB / 426.1 MB, free: 1.309 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.415e-05/0.7255, allocations: 9.594 kB / 426.1 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005391/0.7261, allocations: 168.3 kB / 426.3 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.7271, allocations: 196.5 kB / 426.5 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.7296, allocations: 0.8252 MB / 427.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.7298, allocations: 122.5 kB / 427.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.73, allocations: 107.2 kB / 427.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.7326, allocations: 1.089 MB / 428.6 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-05/0.7327, allocations: 3.875 kB / 428.6 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.7329, allocations: 52.94 kB / 428.6 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.7329, allocations: 30.94 kB / 428.7 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.735, allocations: 0.6879 MB / 429.4 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.7471, allocations: 3.967 MB / 433.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.7498, allocations: 0.5548 MB / 433.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/0.7507, allocations: 247.7 kB / 434.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.616e-05/0.7508, allocations: 19.31 kB / 434.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008134/0.7517, allocations: 266.8 kB / 434.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.589e-06/0.7517, allocations: 0 / 434.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.005148/0.7569, allocations: 1.52 MB / 435.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002872/0.7572, allocations: 479.2 kB / 436.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.7595, allocations: 0.9099 MB / 437.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.7598, allocations: 42.58 kB / 437.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.7606, allocations: 0.6382 MB / 438 MB, free: 10.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.7609, allocations: 237.2 kB / 438.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.761, allocations: 22.38 kB / 438.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.7612, allocations: 340.5 kB / 438.6 MB, free: 9.984 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006816/0.7619, allocations: 222.5 kB / 438.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.7631, allocations: 0.6829 MB / 439.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/0.7641, allocations: 374.1 kB / 439.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.7641, allocations: 4 kB / 439.8 MB, free: 8.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003544/0.7677, allocations: 1.126 MB / 441 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.7678, allocations: 67.39 kB / 441 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.7679, allocations: 15.95 kB / 441 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.7691, allocations: 198.4 kB / 441.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.7707, allocations: 222.7 kB / 441.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/0.7779, allocations: 3.516 MB / 445 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.7798, allocations: 86.38 kB / 445.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/0.7801, allocations: 46.94 kB / 445.1 MB, free: 3.953 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: 2 {(1,100.0%) 1,(3,88.9%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.7805, allocations: 182 kB / 445.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.7809, allocations: 122.5 kB / 445.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.7835, allocations: 0.6879 MB / 446.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.7836, allocations: 8 kB / 446.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7836, allocations: 0 / 446.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002207/0.7858, allocations: 0.9333 MB / 447 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.7912, allocations: 1.761 MB / 448.8 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.7913, allocations: 8.219 kB / 448.8 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7924, allocations: 103.9 kB / 448.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008556/0.7933, allocations: 141.6 kB / 449 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.7935, allocations: 12 kB / 449.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.7987, allocations: 3.263 MB / 452.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.7988, allocations: 4.031 kB / 452.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003181/0.802, allocations: 1.113 MB / 453.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.8029, allocations: 247.6 kB / 453.7 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/0.8032, allocations: 20 kB / 453.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.8043, allocations: 47.97 kB / 453.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.8046, allocations: 60.38 kB / 453.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/0.8047, allocations: 23.98 kB / 453.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001726/0.8064, allocations: 0.6904 MB / 454.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.8064, allocations: 0 / 454.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002237/0.8087, allocations: 355.9 kB / 454.9 MB, free: 9.629 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.004578/0.8133, allocations: 2.375 MB / 457.2 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.8171, allocations: 1.041 MB / 458.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.8172, allocations: 4 kB / 458.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.8188, allocations: 0.5175 MB / 458.8 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8215, allocations: 300.3 kB / 459.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.829, allocations: 1.801 MB / 460.9 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.8302, allocations: 1.105 MB / 462 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.8315, allocations: 141.8 kB / 462.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.8326, allocations: 459.3 kB / 462.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/0.8327, allocations: 0 / 462.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/0.933, allocations: 29.56 MB / 492.1 MB, free: 4.156 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003885/0.9335, allocations: 198.6 kB / 492.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.056/4.99, allocations: 0 / 492.3 MB, free: 3.93 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