Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 225.8 MB / 239.3 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.232e-05, allocations: 4 kB / 292.8 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 50.4 MB / 343.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5525, allocations: 98.1 MB / 441.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5529, allocations: 81.77 kB / 441.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1081/0.6609, allocations: 26.26 MB / 467.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.661, allocations: 3.984 kB / 467.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.723e-05/0.6611, allocations: 20 kB / 467.6 MB, free: 1.336 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003106/0.6642, allocations: 1.096 MB / 468.7 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6643, allocations: 12.03 kB / 468.7 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003574/0.6647, allocations: 149.9 kB / 468.9 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009461/0.6656, allocations: 170.5 kB / 469 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.6681, allocations: 0.7652 MB / 469.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.411e-05/0.6682, allocations: 76.92 kB / 469.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.6684, allocations: 95.56 kB / 470 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.6707, allocations: 0.8697 MB / 470.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.957e-05/0.6708, allocations: 3.906 kB / 470.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.671, allocations: 39.06 kB / 470.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.671, allocations: 24 kB / 470.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6727, allocations: 0.56 MB / 471.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008219/0.681, allocations: 3.944 MB / 475.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.6817, allocations: 330.2 kB / 475.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.682, allocations: 126.4 kB / 475.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.6821, allocations: 8.266 kB / 475.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.6821, allocations: 38.16 kB / 475.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.6821, allocations: 4 kB / 475.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002431/0.6846, allocations: 0.9447 MB / 476.9 MB, free: 9.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.6847, allocations: 91.75 kB / 476.9 MB, free: 9.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6862, allocations: 0.6787 MB / 477.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.6863, allocations: 32.83 kB / 477.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.6868, allocations: 0.562 MB / 478.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.687, allocations: 134.7 kB / 478.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.687, allocations: 15.44 kB / 478.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6872, allocations: 331.6 kB / 478.7 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.6876, allocations: 127.3 kB / 478.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.6882, allocations: 426.5 kB / 479.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.6887, allocations: 210.4 kB / 479.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6887, allocations: 3.938 kB / 479.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001607/0.6904, allocations: 0.6251 MB / 480.1 MB, free: 6.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.6904, allocations: 14.81 kB / 480.1 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.6904, allocations: 8 kB / 480.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.6907, allocations: 36.7 kB / 480.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6917, allocations: 167.3 kB / 480.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.693, allocations: 1.287 MB / 481.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009692/0.694, allocations: 37.83 kB / 481.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.6941, allocations: 35.31 kB / 481.6 MB, free: 5.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0001964/0.6943, allocations: 158.4 kB / 481.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.6945, allocations: 82.97 kB / 481.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000934/0.6954, allocations: 340.8 kB / 482.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.6955, allocations: 4 kB / 482.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6955, allocations: 0 / 482.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6955, allocations: 3.984 kB / 482.2 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.6981, allocations: 1.213 MB / 483.4 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6982, allocations: 8 kB / 483.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007119/0.6989, allocations: 79.42 kB / 483.5 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.6991, allocations: 24.53 kB / 483.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.6991, allocations: 7.562 kB / 483.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.7002, allocations: 1.274 MB / 484.8 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.7003, allocations: 7.984 kB / 484.8 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.7015, allocations: 0.6698 MB / 485.5 MB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.702, allocations: 188.5 kB / 485.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7021, allocations: 11.06 kB / 485.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.7028, allocations: 32.09 kB / 485.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7029, allocations: 31.95 kB / 485.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.703, allocations: 10.06 kB / 485.8 MB, free: 1.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001119/0.7041, allocations: 0.5142 MB / 486.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.7041, allocations: 4 kB / 486.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001263/0.7054, allocations: 222.2 kB / 486.5 MB, free: 0.9023 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.002294/0.7077, allocations: 1.894 MB / 488.4 MB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.7089, allocations: 460.2 kB / 488.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.709, allocations: 4 kB / 488.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.7094, allocations: 242.4 kB / 489.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.7111, allocations: 195.2 kB / 489.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.7154, allocations: 1.407 MB / 490.7 MB, free: 12.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.7162, allocations: 1.016 MB / 491.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000682/0.7169, allocations: 98.97 kB / 491.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.7175, allocations: 367.3 kB / 492.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7176, allocations: 0 / 492.2 MB, free: 11.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06563/0.7832, allocations: 19.29 MB / 0.4995 GB, free: 8.109 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004785/0.7838, allocations: 196.1 kB / 0.4996 GB, free: 7.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/3.915, allocations: 0 / 0.4996 GB, free: 7.879 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat