Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.211e-05, allocations: 4 kB / 292.8 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.5564, allocations: 94.56 MB / 437.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5567, allocations: 82.89 kB / 437.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09576/0.6525, allocations: 23.06 MB / 460.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6525, allocations: 0 / 460.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.11e-05/0.6526, allocations: 16 kB / 460.9 MB, free: 12.43 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002253/0.6549, allocations: 0.9708 MB / 461.9 MB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.655, allocations: 12.03 kB / 461.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002137/0.6552, allocations: 135.6 kB / 462 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.6559, allocations: 143.4 kB / 462.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.6578, allocations: 0.6842 MB / 462.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.6579, allocations: 56.62 kB / 462.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.6581, allocations: 88.83 kB / 463 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.66, allocations: 0.7245 MB / 463.7 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.6601, allocations: 11.89 kB / 463.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.6602, allocations: 32 kB / 463.7 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.6602, allocations: 16 kB / 463.8 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.6616, allocations: 467.9 kB / 464.2 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00778/0.6694, allocations: 3.445 MB / 467.7 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.6701, allocations: 206.6 kB / 467.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.6704, allocations: 92.86 kB / 467.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.6704, allocations: 4.438 kB / 468 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.6705, allocations: 42.55 kB / 468 MB, free: 5.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.966e-06/0.6705, allocations: 0 / 468 MB, free: 5.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002083/0.6726, allocations: 0.8164 MB / 468.8 MB, free: 4.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.6726, allocations: 81.34 kB / 468.9 MB, free: 4.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.6739, allocations: 0.6131 MB / 469.5 MB, free: 3.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.6739, allocations: 33.7 kB / 469.5 MB, free: 3.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/0.6744, allocations: 0.4942 MB / 470 MB, free: 3.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6745, allocations: 98.64 kB / 470.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.6746, allocations: 12 kB / 470.1 MB, free: 3.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.6748, allocations: 386.8 kB / 470.5 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.6751, allocations: 101.6 kB / 470.6 MB, free: 2.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.6757, allocations: 398 kB / 471 MB, free: 2.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.6762, allocations: 179.8 kB / 471.2 MB, free: 2.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.6762, allocations: 4 kB / 471.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001395/0.6776, allocations: 0.5486 MB / 471.7 MB, free: 1.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.6777, allocations: 13.41 kB / 471.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.6777, allocations: 8 kB / 471.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.6779, allocations: 36.84 kB / 471.8 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/0.6788, allocations: 147.7 kB / 471.9 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.6801, allocations: 1.296 MB / 473.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.681, allocations: 44.05 kB / 473.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.681, allocations: 28 kB / 473.3 MB, free: 15.75 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 (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.0001692/0.6812, allocations: 147.1 kB / 473.4 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6814, allocations: 67.16 kB / 473.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/0.6821, allocations: 289.4 kB / 473.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6822, allocations: 4 kB / 473.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6822, allocations: 4 kB / 473.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.6822, allocations: 3.938 kB / 473.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.6844, allocations: 1.047 MB / 474.8 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6844, allocations: 3.953 kB / 474.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.685, allocations: 63.89 kB / 474.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.6851, allocations: 20.86 kB / 474.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.6852, allocations: 8 kB / 474.9 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.6864, allocations: 1.272 MB / 476.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6864, allocations: 0 / 476.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.6875, allocations: 0.5905 MB / 476.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.6878, allocations: 164.3 kB / 477 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.688, allocations: 8 kB / 477 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.6886, allocations: 31.97 kB / 477 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.6887, allocations: 27.86 kB / 477 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.6887, allocations: 16 kB / 477 MB, free: 11.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009597/0.6897, allocations: 471.2 kB / 477.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6897, allocations: 0 / 477.5 MB, free: 11.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001075/0.6908, allocations: 192 kB / 477.7 MB, free: 11.02 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 (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.002047/0.6928, allocations: 1.791 MB / 479.5 MB, free: 9.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.6939, allocations: 399 kB / 479.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6939, allocations: 1 kB / 479.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.6944, allocations: 220.7 kB / 480.1 MB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6957, allocations: 166.9 kB / 480.3 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.6991, allocations: 1.154 MB / 481.4 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.6998, allocations: 0.9609 MB / 482.4 MB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005695/0.7004, allocations: 90.02 kB / 482.5 MB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/0.7009, allocations: 299.3 kB / 482.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7009, allocations: 0 / 482.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.7571, allocations: 16.88 MB / 499.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/0.7575, allocations: 185.1 kB / 499.8 MB, free: 4.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/3.742, allocations: 0 / 499.8 MB, free: 4.895 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat