Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.259e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 38.77 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.432, allocations: 84.02 MB / 347.9 MB, free: 5.711 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/0.4324, allocations: 79.95 kB / 348 MB, free: 5.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3255/0.7579, allocations: 23.87 MB / 371.8 MB, free: 82.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.758, allocations: 0 / 371.8 MB, free: 82.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.758, allocations: 18.19 kB / 371.8 MB, free: 82.92 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.002051/0.7601, allocations: 1.019 MB / 372.9 MB, free: 82.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7601, allocations: 8.969 kB / 372.9 MB, free: 82.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.7603, allocations: 136.5 kB / 373 MB, free: 82.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000651/0.761, allocations: 149.3 kB / 373.2 MB, free: 82.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.7625, allocations: 0.6705 MB / 373.8 MB, free: 81.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.7626, allocations: 67.36 kB / 373.9 MB, free: 81.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.7627, allocations: 89.88 kB / 374 MB, free: 81.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.7644, allocations: 0.7654 MB / 374.7 MB, free: 81.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.7645, allocations: 3.469 kB / 374.7 MB, free: 81.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.7646, allocations: 38.05 kB / 374.8 MB, free: 81.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.7646, allocations: 23.47 kB / 374.8 MB, free: 81.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.7658, allocations: 492.1 kB / 375.3 MB, free: 81.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/0.7713, allocations: 3.503 MB / 378.8 MB, free: 80.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.7719, allocations: 218.1 kB / 379 MB, free: 80.17 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.7721, allocations: 100.9 kB / 379.1 MB, free: 80.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.7722, allocations: 3.406 kB / 379.1 MB, free: 80.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.7722, allocations: 35.41 kB / 379.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.7722, allocations: 0 / 379.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001805/0.774, allocations: 0.8504 MB / 380 MB, free: 79.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7741, allocations: 80.95 kB / 380.1 MB, free: 79.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.7752, allocations: 0.6725 MB / 380.7 MB, free: 79.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.7753, allocations: 29.08 kB / 380.8 MB, free: 79.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.7756, allocations: 0.5194 MB / 381.3 MB, free: 79.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/0.7757, allocations: 113.7 kB / 381.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.7757, allocations: 11 kB / 381.4 MB, free: 79.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.7758, allocations: 333.5 kB / 381.7 MB, free: 78.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.7761, allocations: 108 kB / 381.8 MB, free: 78.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.7765, allocations: 394.3 kB / 382.2 MB, free: 78.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.7769, allocations: 179.5 kB / 382.4 MB, free: 78.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.7769, allocations: 3.969 kB / 382.4 MB, free: 78.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001092/0.778, allocations: 0.5093 MB / 382.9 MB, free: 78.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.778, allocations: 11.83 kB / 382.9 MB, free: 78.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.7781, allocations: 11.81 kB / 382.9 MB, free: 78.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/0.7783, allocations: 42.8 kB / 383 MB, free: 78.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.7791, allocations: 152.5 kB / 383.1 MB, free: 78.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008907/0.78, allocations: 1.281 MB / 384.4 MB, free: 76.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.7809, allocations: 45.14 kB / 384.5 MB, free: 76.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.781, allocations: 31.28 kB / 384.5 MB, free: 76.86 MB / 314.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.0001268/0.7811, allocations: 148.6 kB / 384.6 MB, free: 76.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.7812, allocations: 89.08 kB / 384.7 MB, free: 76.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.7819, allocations: 304 kB / 385 MB, free: 76.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.782, allocations: 3.844 kB / 385 MB, free: 76.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.782, allocations: 0 / 385 MB, free: 76.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.782, allocations: 2.906 kB / 385 MB, free: 76.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.7838, allocations: 1.056 MB / 386.1 MB, free: 75.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7838, allocations: 3.906 kB / 386.1 MB, free: 75.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.7843, allocations: 70.81 kB / 386.2 MB, free: 75.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.7845, allocations: 17.95 kB / 386.2 MB, free: 75.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.7845, allocations: 11.33 kB / 386.2 MB, free: 75.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000795/0.7853, allocations: 1.275 MB / 387.5 MB, free: 74.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7853, allocations: 7.812 kB / 387.5 MB, free: 74.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008626/0.7862, allocations: 0.6146 MB / 388.1 MB, free: 74.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.7865, allocations: 183.8 kB / 388.3 MB, free: 73.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.7867, allocations: 7.906 kB / 388.3 MB, free: 73.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.7873, allocations: 21.19 kB / 388.3 MB, free: 73.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.7874, allocations: 27.39 kB / 388.3 MB, free: 73.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.7874, allocations: 11.75 kB / 388.3 MB, free: 73.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008399/0.7883, allocations: 0.5137 MB / 388.8 MB, free: 73.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7883, allocations: 0 / 388.8 MB, free: 73.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001036/0.7893, allocations: 211.3 kB / 389 MB, free: 73.61 MB / 314.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.001528/0.7909, allocations: 1.858 MB / 390.9 MB, free: 72.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008708/0.7918, allocations: 411 kB / 391.3 MB, free: 71.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.7918, allocations: 0 / 391.3 MB, free: 71.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.7922, allocations: 214.5 kB / 391.5 MB, free: 71.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7937, allocations: 208.3 kB / 391.7 MB, free: 71.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.7966, allocations: 1.235 MB / 393 MB, free: 70.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.7971, allocations: 0.969 MB / 393.9 MB, free: 70.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.7976, allocations: 316.1 kB / 394.2 MB, free: 70.03 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7976, allocations: 3.875 kB / 394.2 MB, free: 70.03 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.15/3.948, allocations: 18.68 MB / 412.9 MB, free: 57.29 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat