Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.99e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2987, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4552, allocations: 87.93 MB / 382.2 MB, free: 9.871 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4556, allocations: 83.95 kB / 382.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09873/0.5543, allocations: 22.61 MB / 404.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.5544, allocations: 0 / 404.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.33e-05/0.5544, allocations: 16 kB / 404.9 MB, free: 3.004 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002405/0.5568, allocations: 0.9778 MB / 405.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5569, allocations: 12.03 kB / 405.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008185/0.5577, allocations: 142.7 kB / 406 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.5598, allocations: 0.6836 MB / 406.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.5598, allocations: 24 kB / 406.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.56, allocations: 44 kB / 406.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/0.5613, allocations: 435.9 kB / 407.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.563, allocations: 0.6273 MB / 407.8 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.5631, allocations: 11.84 kB / 407.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.5632, allocations: 0 / 407.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.5632, allocations: 20 kB / 407.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006629/0.5698, allocations: 3.306 MB / 411.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.5704, allocations: 208.5 kB / 411.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.5707, allocations: 88.84 kB / 411.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.5707, allocations: 4 kB / 411.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5708, allocations: 30.56 kB / 411.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.356e-06/0.5708, allocations: 0 / 411.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002298/0.5731, allocations: 0.7551 MB / 412.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.5732, allocations: 85.28 kB / 412.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5743, allocations: 0.5191 MB / 412.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.5744, allocations: 29.64 kB / 412.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.5749, allocations: 0.5016 MB / 413.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.575, allocations: 94.66 kB / 413.5 MB, free: 10 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.5751, allocations: 0 / 413.5 MB, free: 10 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.5753, allocations: 382.7 kB / 413.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.5756, allocations: 97.56 kB / 413.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.5762, allocations: 374 kB / 414.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.5766, allocations: 163.8 kB / 414.4 MB, free: 8.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5766, allocations: 0 / 414.4 MB, free: 8.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001363/0.578, allocations: 0.5054 MB / 415 MB, free: 8.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.578, allocations: 8 kB / 415 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.5781, allocations: 12 kB / 415 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.5783, allocations: 29.42 kB / 415 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.5793, allocations: 151.7 kB / 415.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.5806, allocations: 1.24 MB / 416.4 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.5814, allocations: 27.94 kB / 416.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.5815, allocations: 28 kB / 416.4 MB, free: 6.73 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 (74): * Single equations (assignments): 73 * 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.000177/0.5817, allocations: 132.5 kB / 416.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006249/0.5823, allocations: 261.7 kB / 416.8 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.5825, allocations: 75.12 kB / 416.9 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007098/0.5832, allocations: 253.6 kB / 417.1 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5832, allocations: 4 kB / 417.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5832, allocations: 0 / 417.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.5832, allocations: 3.984 kB / 417.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.5852, allocations: 0.9148 MB / 418.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5852, allocations: 4 kB / 418.1 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.5857, allocations: 68.17 kB / 418.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.5859, allocations: 24.8 kB / 418.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.5859, allocations: 0 / 418.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.587, allocations: 1.221 MB / 419.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.5871, allocations: 7.938 kB / 419.4 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.5881, allocations: 0.5563 MB / 420 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003258/0.5884, allocations: 160.3 kB / 420.1 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5886, allocations: 4 kB / 420.1 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.5891, allocations: 27.86 kB / 420.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.5892, allocations: 27.91 kB / 420.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.5892, allocations: 8 kB / 420.2 MB, free: 2.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007952/0.59, allocations: 395.2 kB / 420.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5901, allocations: 0 / 420.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001037/0.5911, allocations: 152 kB / 420.7 MB, free: 2.152 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 (27): * Single equations (assignments): 26 * 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.001817/0.5929, allocations: 1.724 MB / 422.4 MB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2433/0.8363, allocations: 379 kB / 422.8 MB, free: 99.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.8363, allocations: 1.094 kB / 422.8 MB, free: 99.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.8369, allocations: 208.8 kB / 423 MB, free: 99.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8383, allocations: 152.2 kB / 423.2 MB, free: 99.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.842, allocations: 1.106 MB / 424.3 MB, free: 99.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.8426, allocations: 0.9588 MB / 425.2 MB, free: 98.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000612/0.8432, allocations: 90.44 kB / 425.3 MB, free: 98.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.8437, allocations: 301.4 kB / 425.6 MB, free: 98.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.8437, allocations: 0 / 425.6 MB, free: 98.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09689/0.9406, allocations: 13.17 MB / 438.8 MB, free: 97.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.9409, allocations: 147.8 kB / 438.9 MB, free: 97.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.873, allocations: 1.641 kB / 438.9 MB, free: 97.71 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat