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.157/2.157, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.467e-05, allocations: 0 / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09373/0.0938, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5325, allocations: 89.15 MB / 389.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5329, allocations: 82.58 kB / 389.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09292/0.6258, allocations: 23.78 MB / 413 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6259, allocations: 0 / 413 MB, free: 6.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.41e-05/0.6259, allocations: 23.47 kB / 413 MB, free: 6.18 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.002277/0.6282, allocations: 1.01 MB / 414 MB, free: 5.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.6283, allocations: 7.719 kB / 414 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.6285, allocations: 140.3 kB / 414.1 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.6293, allocations: 151.6 kB / 414.3 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.6311, allocations: 0.6729 MB / 415 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.6312, allocations: 63.5 kB / 415 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.6313, allocations: 85.2 kB / 415.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.6331, allocations: 0.7659 MB / 415.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.606e-05/0.6332, allocations: 7.812 kB / 415.9 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6333, allocations: 33.78 kB / 415.9 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.6334, allocations: 23.45 kB / 415.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.6347, allocations: 496.7 kB / 416.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006502/0.6412, allocations: 3.499 MB / 419.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.6418, allocations: 216 kB / 420.1 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.6421, allocations: 104.1 kB / 420.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.6421, allocations: 2.656 kB / 420.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.6422, allocations: 41.78 kB / 420.3 MB, free: 2.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.915e-06/0.6422, allocations: 0 / 420.3 MB, free: 2.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001998/0.6442, allocations: 0.8342 MB / 421.1 MB, free: 1.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.6443, allocations: 80.89 kB / 421.2 MB, free: 1.742 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6455, allocations: 0.6896 MB / 421.9 MB, free: 1.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.6456, allocations: 29.08 kB / 421.9 MB, free: 1.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.6459, allocations: 0.5072 MB / 422.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/0.646, allocations: 110.4 kB / 422.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.6461, allocations: 14.69 kB / 422.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.6462, allocations: 337.6 kB / 422.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.6464, allocations: 110.1 kB / 423 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.6469, allocations: 399.7 kB / 423.4 MB, free: 384 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004133/0.6473, allocations: 185.9 kB / 423.6 MB, free: 336 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6473, allocations: 3.844 kB / 423.6 MB, free: 336 kB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001132/0.6485, allocations: 0.5046 MB / 424.1 MB, free: 180 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6485, allocations: 7.75 kB / 424.1 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6485, allocations: 12.53 kB / 424.1 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.6487, allocations: 39.75 kB / 424.1 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/0.6496, allocations: 147.1 kB / 424.3 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.651, allocations: 1.287 MB / 425.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.652, allocations: 45.78 kB / 425.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.6521, allocations: 30.84 kB / 425.6 MB, free: 14.82 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.0002028/0.6523, allocations: 150.3 kB / 425.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.6525, allocations: 77.28 kB / 425.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.6533, allocations: 305.8 kB / 426.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.6533, allocations: 3.969 kB / 426.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6533, allocations: 3.953 kB / 426.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.6533, allocations: 7.922 kB / 426.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.6556, allocations: 1.065 MB / 427.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6556, allocations: 3.875 kB / 427.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/0.6562, allocations: 70.39 kB / 427.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.6563, allocations: 20.11 kB / 427.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.6564, allocations: 7.625 kB / 427.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.6576, allocations: 1.27 MB / 428.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6576, allocations: 3.875 kB / 428.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.6588, allocations: 0.6064 MB / 429.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.6592, allocations: 183.3 kB / 429.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.6594, allocations: 10.41 kB / 429.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.66, allocations: 25.66 kB / 429.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.6601, allocations: 31.05 kB / 429.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.6602, allocations: 7.281 kB / 429.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009671/0.6612, allocations: 0.515 MB / 430 MB, free: 11.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6612, allocations: 0 / 430 MB, free: 11.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001227/0.6624, allocations: 209.8 kB / 430.2 MB, free: 11.95 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.002185/0.6646, allocations: 1.862 MB / 432 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.6657, allocations: 410.3 kB / 432.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6658, allocations: 3.281 kB / 432.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.6662, allocations: 214.3 kB / 432.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.6679, allocations: 217 kB / 432.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.6717, allocations: 1.23 MB / 434.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006717/0.6724, allocations: 0.9794 MB / 435.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.673, allocations: 314.4 kB / 435.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.673, allocations: 0 / 435.4 MB, free: 8.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.252/3.925, allocations: 18.65 MB / 454 MB, free: 8.355 MB / 346.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