Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 183.3 MB, free: 12.09 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.76e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 38.76 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.4292, allocations: 84.03 MB / 347.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.4296, allocations: 79.95 kB / 348 MB, free: 5.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.7516, allocations: 23.86 MB / 371.8 MB, free: 82.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7517, allocations: 0 / 371.8 MB, free: 82.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.796e-05/0.7517, allocations: 17.06 kB / 371.9 MB, free: 82.96 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.002261/0.754, allocations: 1.029 MB / 372.9 MB, free: 82.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7541, allocations: 9.875 kB / 372.9 MB, free: 82.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.7543, allocations: 130.6 kB / 373 MB, free: 82.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.7551, allocations: 154.8 kB / 373.2 MB, free: 82.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.7568, allocations: 0.6739 MB / 373.8 MB, free: 82.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.7569, allocations: 65.34 kB / 373.9 MB, free: 82.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.7571, allocations: 85.62 kB / 374 MB, free: 82.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.7588, allocations: 0.7624 MB / 374.8 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.597e-05/0.7589, allocations: 7.719 kB / 374.8 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.759, allocations: 35.41 kB / 374.8 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.7591, allocations: 19 kB / 374.8 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.7604, allocations: 492.2 kB / 375.3 MB, free: 81.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006326/0.7667, allocations: 3.515 MB / 378.8 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.7674, allocations: 224.5 kB / 379 MB, free: 80.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.7677, allocations: 95.14 kB / 379.1 MB, free: 80.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.7677, allocations: 0 / 379.1 MB, free: 80.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.7678, allocations: 36.16 kB / 379.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/0.7678, allocations: 0 / 379.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001991/0.7698, allocations: 0.8506 MB / 380 MB, free: 79.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.7699, allocations: 83.8 kB / 380.1 MB, free: 79.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.7711, allocations: 0.6695 MB / 380.8 MB, free: 79.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.7712, allocations: 36.08 kB / 380.8 MB, free: 79.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.7715, allocations: 0.5003 MB / 381.3 MB, free: 79.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.7716, allocations: 116.2 kB / 381.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.7717, allocations: 15.83 kB / 381.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/0.7718, allocations: 330.4 kB / 381.8 MB, free: 78.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.7721, allocations: 110.6 kB / 381.9 MB, free: 78.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.7725, allocations: 394.1 kB / 382.2 MB, free: 78.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.773, allocations: 180.2 kB / 382.4 MB, free: 78.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.773, allocations: 3.844 kB / 382.4 MB, free: 78.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001319/0.7743, allocations: 0.5649 MB / 383 MB, free: 78.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.7744, allocations: 11.8 kB / 383 MB, free: 78.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.7744, allocations: 7.781 kB / 383 MB, free: 78.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.7746, allocations: 40.72 kB / 383 MB, free: 78.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.7755, allocations: 145.8 kB / 383.2 MB, free: 78.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009732/0.7765, allocations: 1.28 MB / 384.5 MB, free: 76.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7775, allocations: 50.06 kB / 384.5 MB, free: 76.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/0.7776, allocations: 30.75 kB / 384.6 MB, free: 76.9 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.0001504/0.7778, allocations: 144.5 kB / 384.7 MB, free: 76.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.778, allocations: 85.34 kB / 384.8 MB, free: 76.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.7788, allocations: 305.3 kB / 385.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.7788, allocations: 7.969 kB / 385.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7788, allocations: 0 / 385.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.7788, allocations: 0 / 385.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.781, allocations: 1.071 MB / 386.2 MB, free: 75.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.781, allocations: 1.906 kB / 386.2 MB, free: 75.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.7816, allocations: 60.98 kB / 386.2 MB, free: 75.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.7817, allocations: 27.89 kB / 386.2 MB, free: 75.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.03e-05/0.7818, allocations: 7.812 kB / 386.2 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000851/0.7826, allocations: 1.27 MB / 387.5 MB, free: 74.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7827, allocations: 3.938 kB / 387.5 MB, free: 74.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.7837, allocations: 0.6094 MB / 388.1 MB, free: 74.1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.7841, allocations: 182.6 kB / 388.3 MB, free: 73.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7842, allocations: 7.938 kB / 388.3 MB, free: 73.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006331/0.7849, allocations: 27.14 kB / 388.3 MB, free: 73.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/0.785, allocations: 27.28 kB / 388.4 MB, free: 73.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.785, allocations: 10.66 kB / 388.4 MB, free: 73.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000941/0.786, allocations: 0.5144 MB / 388.9 MB, free: 73.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.953e-06/0.786, allocations: 4 kB / 388.9 MB, free: 73.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001215/0.7872, allocations: 210.9 kB / 389.1 MB, free: 73.65 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.001721/0.789, allocations: 1.864 MB / 391 MB, free: 72.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009656/0.79, allocations: 404.7 kB / 391.4 MB, free: 71.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.79, allocations: 0 / 391.4 MB, free: 71.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.7904, allocations: 221.7 kB / 391.6 MB, free: 71.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.7921, allocations: 206.5 kB / 391.8 MB, free: 71.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005194/0.7973, allocations: 1.193 MB / 393 MB, free: 71.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.7979, allocations: 0.9683 MB / 393.9 MB, free: 70.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006843/0.7986, allocations: 99.58 kB / 394 MB, free: 70.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/0.7992, allocations: 316.3 kB / 394.3 MB, free: 70.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7992, allocations: 0 / 394.3 MB, free: 70.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07039/0.8696, allocations: 19.37 MB / 413.7 MB, free: 56.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/0.8699, allocations: 194.2 kB / 413.9 MB, free: 56.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/4.311, allocations: 0 / 413.9 MB, free: 56.32 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_Temperature_res.mat does not exist to compare? outputFormat=mat