Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.901e-05, allocations: 8 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3419, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.5013, allocations: 88.47 MB / 382.7 MB, free: 9.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.5017, allocations: 75.95 kB / 382.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1103/0.6119, allocations: 23.47 MB / 406.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.612, allocations: 0 / 406.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.132e-05/0.6121, allocations: 16 kB / 406.2 MB, free: 1.672 MB / 346.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.002633/0.6147, allocations: 1.017 MB / 407.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.6148, allocations: 8.031 kB / 407.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.6156, allocations: 154.6 kB / 407.4 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.6177, allocations: 0.6757 MB / 408.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.6178, allocations: 28 kB / 408.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.618, allocations: 48 kB / 408.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/0.6194, allocations: 448 kB / 408.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.6212, allocations: 0.6629 MB / 409.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.6213, allocations: 7.844 kB / 409.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/0.6214, allocations: 3.953 kB / 409.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.6215, allocations: 24 kB / 409.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006874/0.6283, allocations: 3.314 MB / 412.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.629, allocations: 208.8 kB / 412.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.6293, allocations: 92.86 kB / 412.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.6293, allocations: 0 / 412.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.6294, allocations: 42.52 kB / 412.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.6294, allocations: 0 / 412.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.002104/0.6315, allocations: 0.7827 MB / 413.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.6316, allocations: 85.11 kB / 413.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.6326, allocations: 0.5113 MB / 414.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.6327, allocations: 25.7 kB / 414.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.6332, allocations: 0.543 MB / 414.9 MB, free: 8.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6333, allocations: 106.5 kB / 415 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.6334, allocations: 0 / 415 MB, free: 8.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6335, allocations: 334.8 kB / 415.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.6338, allocations: 97.56 kB / 415.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.6344, allocations: 381.9 kB / 415.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.6348, allocations: 155.9 kB / 415.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.6348, allocations: 4 kB / 415.9 MB, free: 7.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001218/0.636, allocations: 477.8 kB / 416.4 MB, free: 6.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.6361, allocations: 8 kB / 416.4 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.6361, allocations: 12.8 kB / 416.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/0.6364, allocations: 40.84 kB / 416.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.6373, allocations: 143.8 kB / 416.6 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.6386, allocations: 1.252 MB / 417.9 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/0.6394, allocations: 31.83 kB / 417.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.6395, allocations: 36 kB / 417.9 MB, free: 5.27 MB / 362.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.0001744/0.6397, allocations: 128.6 kB / 418.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006736/0.6404, allocations: 270.1 kB / 418.3 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6405, allocations: 63.25 kB / 418.4 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.6413, allocations: 265.3 kB / 418.6 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.6413, allocations: 11.89 kB / 418.7 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.6413, allocations: 0 / 418.7 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6413, allocations: 3.984 kB / 418.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.6435, allocations: 0.9344 MB / 419.6 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.6435, allocations: 8.062 kB / 419.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.6441, allocations: 63.91 kB / 419.7 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.6442, allocations: 20.84 kB / 419.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.6443, allocations: 8 kB / 419.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.6455, allocations: 1.233 MB / 420.9 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.6455, allocations: 4.031 kB / 420.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.6466, allocations: 0.5683 MB / 421.5 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.6469, allocations: 160.4 kB / 421.6 MB, free: 1.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.6471, allocations: 11.92 kB / 421.7 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.6476, allocations: 23.92 kB / 421.7 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.6477, allocations: 27.92 kB / 421.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.6478, allocations: 12 kB / 421.7 MB, free: 1.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007626/0.6486, allocations: 391.2 kB / 422.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6486, allocations: 0 / 422.1 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001084/0.6497, allocations: 156 kB / 422.3 MB, free: 0.625 MB / 362.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.2724/0.9221, allocations: 1.767 MB / 424 MB, free: 97.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.9233, allocations: 398.2 kB / 424.4 MB, free: 97.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.9233, allocations: 0.5312 kB / 424.4 MB, free: 97.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.9238, allocations: 209.9 kB / 424.6 MB, free: 97.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.9252, allocations: 158 kB / 424.8 MB, free: 97.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.9289, allocations: 1.182 MB / 426 MB, free: 97.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.9295, allocations: 0.9681 MB / 426.9 MB, free: 96.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/0.9301, allocations: 319 kB / 427.2 MB, free: 96.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.9301, allocations: 0 / 427.2 MB, free: 96.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.105/4.036, allocations: 17.33 MB / 444.6 MB, free: 94.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat