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 1.789/1.789, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.825e-05, allocations: 0 / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09549/0.09557, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6182, allocations: 89.14 MB / 389.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.6186, allocations: 84.19 kB / 389.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09431/0.7129, allocations: 23.78 MB / 413 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7129, allocations: 0 / 413 MB, free: 5.977 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.061e-05/0.713, allocations: 22.78 kB / 413 MB, free: 5.973 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.00215/0.7152, allocations: 1.013 MB / 414 MB, free: 5.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7152, allocations: 7.75 kB / 414 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.7155, allocations: 134.9 kB / 414.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007244/0.7162, allocations: 152 kB / 414.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.718, allocations: 0.6813 MB / 415 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.7181, allocations: 61.91 kB / 415.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.7183, allocations: 83.44 kB / 415.1 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.7201, allocations: 0.7719 MB / 415.9 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.7202, allocations: 3.906 kB / 415.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7203, allocations: 36.75 kB / 416 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.7203, allocations: 27.23 kB / 416 MB, free: 4.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.7216, allocations: 484.1 kB / 416.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.7274, allocations: 3.505 MB / 420 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.728, allocations: 222.5 kB / 420.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.7282, allocations: 94.3 kB / 420.3 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.7283, allocations: 3.938 kB / 420.3 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.7283, allocations: 41.84 kB / 420.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.805e-06/0.7283, allocations: 0 / 420.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001871/0.7302, allocations: 0.8367 MB / 421.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.7303, allocations: 84.98 kB / 421.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7314, allocations: 0.6823 MB / 421.9 MB, free: 1.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.7315, allocations: 28.95 kB / 421.9 MB, free: 1.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.7318, allocations: 0.5006 MB / 422.4 MB, free: 1.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.7319, allocations: 108.4 kB / 422.5 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.732, allocations: 10.94 kB / 422.6 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.732, allocations: 332.2 kB / 422.9 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.7323, allocations: 109 kB / 423 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.7327, allocations: 401.9 kB / 423.4 MB, free: 232 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.7331, allocations: 180.2 kB / 423.6 MB, free: 192 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.7332, allocations: 0 / 423.6 MB, free: 192 kB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001224/0.7344, allocations: 0.5595 MB / 424.1 MB, free: 8 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7344, allocations: 12.44 kB / 424.1 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.7345, allocations: 7.75 kB / 424.1 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.7347, allocations: 43.19 kB / 424.2 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008546/0.7356, allocations: 155.4 kB / 424.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.7368, allocations: 1.282 MB / 425.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/0.7378, allocations: 49.47 kB / 425.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.122e-05/0.7378, allocations: 30 kB / 425.7 MB, free: 14.65 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.0001713/0.738, allocations: 150.3 kB / 425.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.7382, allocations: 85.19 kB / 425.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007816/0.739, allocations: 300.1 kB / 426.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.739, allocations: 7.797 kB / 426.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.739, allocations: 3.953 kB / 426.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.739, allocations: 3.938 kB / 426.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.7411, allocations: 1.065 MB / 427.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.7411, allocations: 3.969 kB / 427.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.7417, allocations: 69.02 kB / 427.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.7419, allocations: 17.83 kB / 427.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.7419, allocations: 13.8 kB / 427.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.7431, allocations: 1.268 MB / 428.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.7431, allocations: 7.703 kB / 428.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.7442, allocations: 0.6034 MB / 429.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.7446, allocations: 179.7 kB / 429.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.7447, allocations: 7.031 kB / 429.5 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.7454, allocations: 35.03 kB / 429.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7455, allocations: 25.27 kB / 429.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.7455, allocations: 9.625 kB / 429.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009315/0.7465, allocations: 0.5148 MB / 430 MB, free: 11.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7465, allocations: 0 / 430 MB, free: 11.78 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001067/0.7476, allocations: 208.2 kB / 430.2 MB, free: 11.77 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.002002/0.7496, allocations: 1.873 MB / 432.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.7506, allocations: 408.9 kB / 432.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7506, allocations: 0 / 432.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004151/0.751, allocations: 213.7 kB / 432.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.7527, allocations: 207.7 kB / 432.9 MB, free: 9.977 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.7561, allocations: 1.197 MB / 434.1 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/0.7568, allocations: 0.9727 MB / 435.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006669/0.7575, allocations: 95.72 kB / 435.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.758, allocations: 321.3 kB / 435.5 MB, free: 8.371 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.758, allocations: 0 / 435.5 MB, free: 8.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06597/0.824, allocations: 19.34 MB / 454.8 MB, free: 6.949 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.8244, allocations: 190.7 kB / 455 MB, free: 6.723 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/4.193, allocations: 0 / 455 MB, free: 6.723 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