Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.523e-05, allocations: 12 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2803, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.4378, allocations: 88.56 MB / 346.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4382, allocations: 83.95 kB / 347 MB, free: 5.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.361/0.7992, allocations: 29.89 MB / 376.9 MB, free: 83.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7992, allocations: 0 / 376.9 MB, free: 83.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.512e-05/0.7993, allocations: 22.53 kB / 376.9 MB, free: 83.28 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.003339/0.8027, allocations: 1.356 MB / 378.3 MB, free: 82.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.506e-05/0.8028, allocations: 15.58 kB / 378.3 MB, free: 82.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.8045, allocations: 196.4 kB / 378.5 MB, free: 82.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.8086, allocations: 0.8331 MB / 379.3 MB, free: 82.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.809, allocations: 84.06 kB / 379.4 MB, free: 82.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005836/0.8096, allocations: 70.12 kB / 379.5 MB, free: 82.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004014/0.8137, allocations: 0.631 MB / 380.1 MB, free: 82.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.8176, allocations: 0.9314 MB / 381 MB, free: 81.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.8177, allocations: 11.53 kB / 381 MB, free: 81.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.8178, allocations: 0 / 381 MB, free: 81.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.8178, allocations: 30.42 kB / 381.1 MB, free: 81.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/0.8258, allocations: 3.71 MB / 384.8 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.8278, allocations: 0.5137 MB / 385.3 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.8284, allocations: 220 kB / 385.5 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.603e-05/0.8285, allocations: 12.22 kB / 385.5 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005685/0.8291, allocations: 255.4 kB / 385.8 MB, free: 79.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.318e-06/0.8291, allocations: 384 / 385.8 MB, free: 79.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.00396/0.8331, allocations: 1.405 MB / 387.2 MB, free: 78.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.8333, allocations: 471.2 kB / 387.6 MB, free: 78.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.8348, allocations: 0.7297 MB / 388.4 MB, free: 77.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/0.835, allocations: 29.48 kB / 388.4 MB, free: 77.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.8355, allocations: 0.6501 MB / 389 MB, free: 77.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.8358, allocations: 227.3 kB / 389.3 MB, free: 77.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.8358, allocations: 0 / 389.3 MB, free: 77.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.836, allocations: 347.4 kB / 389.6 MB, free: 76.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.8365, allocations: 194.6 kB / 389.8 MB, free: 76.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.8373, allocations: 0.6493 MB / 390.4 MB, free: 76.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.8379, allocations: 299.2 kB / 390.7 MB, free: 75.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.838, allocations: 3.938 kB / 390.7 MB, free: 75.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002675/0.8407, allocations: 0.9532 MB / 391.7 MB, free: 75.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.8408, allocations: 61.78 kB / 391.7 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.8408, allocations: 10.94 kB / 391.8 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8418, allocations: 183.9 kB / 391.9 MB, free: 75.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.8432, allocations: 217 kB / 392.1 MB, free: 75.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/0.8484, allocations: 3.396 MB / 395.5 MB, free: 72.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.8499, allocations: 51.62 kB / 395.6 MB, free: 72.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.851e-05/0.85, allocations: 52.19 kB / 395.6 MB, free: 72.42 MB / 314.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.0002232/0.8503, allocations: 142.8 kB / 395.8 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001599/0.8519, allocations: 0.6081 MB / 396.4 MB, free: 72.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.8521, allocations: 112.7 kB / 396.5 MB, free: 71.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.8538, allocations: 0.6228 MB / 397.1 MB, free: 71.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.8539, allocations: 11.75 kB / 397.1 MB, free: 71.67 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8539, allocations: 7.703 kB / 397.1 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.8553, allocations: 0.8804 MB / 398 MB, free: 70.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.8589, allocations: 1.583 MB / 399.6 MB, free: 70.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.859, allocations: 2.219 kB / 399.6 MB, free: 70.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.8599, allocations: 119.9 kB / 399.7 MB, free: 70.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/0.8606, allocations: 131.2 kB / 399.9 MB, free: 70.06 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.8606, allocations: 3.562 kB / 399.9 MB, free: 70.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.8641, allocations: 3.145 MB / 403 MB, free: 67.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.8641, allocations: 6.125 kB / 403 MB, free: 67.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.8664, allocations: 1.027 MB / 404 MB, free: 66.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005288/0.8669, allocations: 236.4 kB / 404.3 MB, free: 66.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.8672, allocations: 8 kB / 404.3 MB, free: 66.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.8681, allocations: 36.56 kB / 404.3 MB, free: 65.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.8683, allocations: 70.16 kB / 404.4 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.8684, allocations: 20 kB / 404.4 MB, free: 65.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009401/0.8693, allocations: 0.5282 MB / 404.9 MB, free: 65.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8693, allocations: 0 / 404.9 MB, free: 65.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001602/0.871, allocations: 291.9 kB / 405.2 MB, free: 65.14 MB / 314.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.002786/0.8738, allocations: 2.263 MB / 407.5 MB, free: 62.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.8764, allocations: 0.9599 MB / 408.4 MB, free: 61.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.8764, allocations: 3.938 kB / 408.4 MB, free: 61.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.8775, allocations: 0.4918 MB / 408.9 MB, free: 61.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/0.8797, allocations: 241.4 kB / 409.2 MB, free: 61.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.8852, allocations: 1.735 MB / 410.9 MB, free: 59.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/0.8858, allocations: 1.104 MB / 412 MB, free: 58.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009009/0.8868, allocations: 132.3 kB / 412.1 MB, free: 58.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006814/0.8875, allocations: 448.8 kB / 412.6 MB, free: 58.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.8875, allocations: 0 / 412.6 MB, free: 58.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/0.967, allocations: 23.31 MB / 435.9 MB, free: 35.84 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.9673, allocations: 162.6 kB / 436 MB, free: 35.63 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/4.403, allocations: 3.938 kB / 436 MB, free: 35.63 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat does not exist to compare? outputFormat=mat