Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.863e-05, allocations: 1.562 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 50.4 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6359, allocations: 95.19 MB / 438.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.6363, allocations: 81.89 kB / 438.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09961/0.7359, allocations: 23.9 MB / 462.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.34e-06/0.736, allocations: 0 / 462.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.353e-05/0.736, allocations: 19.94 kB / 462.3 MB, free: 11.02 MB / 378.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.002425/0.7385, allocations: 1.016 MB / 463.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7385, allocations: 8.031 kB / 463.4 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002285/0.7388, allocations: 135.1 kB / 463.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.7395, allocations: 150.6 kB / 463.7 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.7414, allocations: 0.6755 MB / 464.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.7415, allocations: 63.33 kB / 464.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.7417, allocations: 85.31 kB / 464.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.7437, allocations: 0.7664 MB / 465.2 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/0.7438, allocations: 11.84 kB / 465.3 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.7439, allocations: 32 kB / 465.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.7439, allocations: 20 kB / 465.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.7454, allocations: 495.9 kB / 465.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00719/0.7526, allocations: 3.651 MB / 469.4 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.7533, allocations: 210.8 kB / 469.6 MB, free: 3.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.7536, allocations: 105.3 kB / 469.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.7536, allocations: 3.938 kB / 469.7 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.7537, allocations: 38.56 kB / 469.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.006e-06/0.7537, allocations: 0 / 469.8 MB, free: 3.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002259/0.756, allocations: 0.8422 MB / 470.6 MB, free: 2.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.7561, allocations: 77.11 kB / 470.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.7575, allocations: 0.6879 MB / 471.4 MB, free: 1.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.7576, allocations: 29.7 kB / 471.4 MB, free: 1.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/0.7581, allocations: 0.5022 MB / 471.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.7582, allocations: 106.5 kB / 472 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.7583, allocations: 16 kB / 472 MB, free: 1.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7584, allocations: 326 kB / 472.4 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.7588, allocations: 109.6 kB / 472.5 MB, free: 0.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.7593, allocations: 398 kB / 472.9 MB, free: 308 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.7598, allocations: 184.1 kB / 473 MB, free: 124 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7598, allocations: 0 / 473 MB, free: 124 kB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001491/0.7613, allocations: 0.5637 MB / 473.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.7614, allocations: 11.95 kB / 473.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.7614, allocations: 12.81 kB / 473.6 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.7616, allocations: 36.84 kB / 473.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009248/0.7626, allocations: 147.8 kB / 473.8 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.7639, allocations: 1.292 MB / 475.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009899/0.7649, allocations: 43.89 kB / 475.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.765, allocations: 28 kB / 475.2 MB, free: 13.85 MB / 394.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.000189/0.7652, allocations: 153.8 kB / 475.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.7654, allocations: 90.84 kB / 475.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/0.7663, allocations: 302.9 kB / 475.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.7663, allocations: 4 kB / 475.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7663, allocations: 0 / 475.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.7663, allocations: 3.984 kB / 475.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.7687, allocations: 1.063 MB / 476.8 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7687, allocations: 4 kB / 476.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.7693, allocations: 60.19 kB / 476.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000144/0.7695, allocations: 28.78 kB / 476.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.7695, allocations: 8 kB / 476.9 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.7707, allocations: 1.272 MB / 478.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7707, allocations: 0 / 478.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.7719, allocations: 0.6111 MB / 478.8 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.7723, allocations: 184.1 kB / 478.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.7725, allocations: 8 kB / 478.9 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.7731, allocations: 23.98 kB / 479 MB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.7732, allocations: 31.91 kB / 479 MB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.7733, allocations: 19.92 kB / 479 MB, free: 9.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.7744, allocations: 0.5148 MB / 479.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7744, allocations: 0 / 479.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001192/0.7756, allocations: 207.9 kB / 479.7 MB, free: 8.941 MB / 394.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.002117/0.7778, allocations: 1.874 MB / 481.6 MB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.7789, allocations: 406.3 kB / 482 MB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7789, allocations: 0 / 482 MB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004518/0.7794, allocations: 215.8 kB / 482.2 MB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.7812, allocations: 218.1 kB / 482.4 MB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.785, allocations: 1.201 MB / 483.6 MB, free: 4.898 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.7857, allocations: 0.9687 MB / 484.6 MB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007012/0.7865, allocations: 98.67 kB / 484.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.7871, allocations: 315.3 kB / 485 MB, free: 3.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7871, allocations: 0 / 485 MB, free: 3.492 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/0.8624, allocations: 19.35 MB / 0.4925 GB, free: 428 kB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/0.8628, allocations: 195.4 kB / 0.4927 GB, free: 192 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/3.952, allocations: 0 / 0.4927 GB, free: 192 kB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat