Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.448e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09396, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5335, allocations: 89.13 MB / 389.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5338, allocations: 78.27 kB / 389.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/0.6557, allocations: 23.79 MB / 413 MB, free: 6.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6557, allocations: 3.906 kB / 413 MB, free: 6.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000109/0.6559, allocations: 19.5 kB / 413 MB, free: 6.227 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003815/0.6597, allocations: 1.011 MB / 414 MB, free: 5.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/0.6598, allocations: 11.59 kB / 414 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004006/0.6602, allocations: 139.3 kB / 414.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6614, allocations: 144.1 kB / 414.3 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/0.664, allocations: 0.679 MB / 415 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.6642, allocations: 64.62 kB / 415 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/0.6644, allocations: 83.28 kB / 415.1 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.6673, allocations: 0.7803 MB / 415.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.6674, allocations: 8.469 kB / 415.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6676, allocations: 35.22 kB / 415.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.6676, allocations: 23.39 kB / 416 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.6698, allocations: 0.4906 MB / 416.4 MB, free: 4.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009874/0.6797, allocations: 3.506 MB / 420 MB, free: 2.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.6807, allocations: 219.8 kB / 420.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003698/0.6811, allocations: 98.56 kB / 420.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.6812, allocations: 7.875 kB / 420.3 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6813, allocations: 38.19 kB / 420.3 MB, free: 2.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 4.619e-06/0.6813, allocations: 0 / 420.3 MB, free: 2.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.00295/0.6842, allocations: 0.8463 MB / 421.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.6844, allocations: 77.11 kB / 421.2 MB, free: 1.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.6863, allocations: 0.6834 MB / 421.9 MB, free: 1.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.6865, allocations: 33.14 kB / 421.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005222/0.687, allocations: 0.5064 MB / 422.5 MB, free: 1.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.6872, allocations: 104.6 kB / 422.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.6872, allocations: 13.03 kB / 422.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6874, allocations: 332.2 kB / 422.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.6878, allocations: 107.3 kB / 423 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.6885, allocations: 397.1 kB / 423.4 MB, free: 480 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.6892, allocations: 182.1 kB / 423.6 MB, free: 436 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.6892, allocations: 3.969 kB / 423.6 MB, free: 436 kB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002046/0.6913, allocations: 0.5856 MB / 424.2 MB, free: 240 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.6914, allocations: 11.84 kB / 424.2 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.6914, allocations: 7.719 kB / 424.2 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002785/0.6917, allocations: 35.97 kB / 424.2 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.693, allocations: 157.7 kB / 424.4 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.6949, allocations: 1.289 MB / 425.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6965, allocations: 45.91 kB / 425.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.6967, allocations: 33.28 kB / 425.7 MB, free: 14.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.697, allocations: 146.1 kB / 425.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.6974, allocations: 77.19 kB / 425.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.6987, allocations: 303.9 kB / 426.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.6988, allocations: 3.875 kB / 426.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.6988, allocations: 7.891 kB / 426.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.6988, allocations: 3.984 kB / 426.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.7026, allocations: 1.072 MB / 427.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7027, allocations: 3.188 kB / 427.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.7036, allocations: 67.36 kB / 427.4 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.7039, allocations: 22.27 kB / 427.4 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.7039, allocations: 6.562 kB / 427.4 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.7058, allocations: 1.275 MB / 428.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.7059, allocations: 3.984 kB / 428.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.7077, allocations: 0.6039 MB / 429.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.7085, allocations: 185.3 kB / 429.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006242/0.7091, allocations: 7.625 kB / 429.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.7109, allocations: 26.41 kB / 429.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.7111, allocations: 31.05 kB / 429.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.7111, allocations: 11.25 kB / 429.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002101/0.7132, allocations: 0.5132 MB / 430.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.7133, allocations: 0 / 430.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002167/0.7155, allocations: 205 kB / 430.3 MB, free: 12 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003684/0.7192, allocations: 1.871 MB / 432.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.721, allocations: 431.9 kB / 432.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.7211, allocations: 2 kB / 432.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.7219, allocations: 217.9 kB / 432.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.7246, allocations: 212.6 kB / 433 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.7292, allocations: 1.206 MB / 434.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.7299, allocations: 0.9698 MB / 435.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006903/0.7306, allocations: 96.38 kB / 435.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.7311, allocations: 317.7 kB / 435.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.7312, allocations: 0 / 435.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.079/0.8102, allocations: 19.39 MB / 455 MB, free: 7.172 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002471/0.8105, allocations: 196 kB / 455.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/4.21, allocations: 0 / 455.2 MB, free: 6.938 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat