Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.761e-05/4.776e-05, allocations: 7.984 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2789, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.4382, allocations: 87.55 MB / 351.4 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.4386, allocations: 79.95 kB / 351.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3658/0.8043, allocations: 26.29 MB / 377.8 MB, free: 84.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.8044, allocations: 0 / 377.8 MB, free: 84.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.272e-05/0.8045, allocations: 19.59 kB / 377.8 MB, free: 84.13 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003125/0.8076, allocations: 1.105 MB / 378.9 MB, free: 83.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.8077, allocations: 7.938 kB / 378.9 MB, free: 83.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003882/0.8081, allocations: 145.5 kB / 379.1 MB, free: 83.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009505/0.8091, allocations: 166.8 kB / 379.2 MB, free: 83.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.8114, allocations: 0.7754 MB / 380 MB, free: 83.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.8116, allocations: 74.62 kB / 380.1 MB, free: 83.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.8118, allocations: 102.3 kB / 380.2 MB, free: 83.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.8143, allocations: 0.8685 MB / 381 MB, free: 82.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/0.8144, allocations: 0 / 381 MB, free: 82.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.8145, allocations: 43.22 kB / 381.1 MB, free: 82.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.8146, allocations: 23.31 kB / 381.1 MB, free: 82.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.8163, allocations: 0.5566 MB / 381.7 MB, free: 82.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008155/0.8245, allocations: 3.954 MB / 385.6 MB, free: 80.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.8253, allocations: 323 kB / 385.9 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.8256, allocations: 124 kB / 386.1 MB, free: 80.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/0.8257, allocations: 7.812 kB / 386.1 MB, free: 80.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.8257, allocations: 38.78 kB / 386.1 MB, free: 80 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.685e-06/0.8257, allocations: 0 / 386.1 MB, free: 80 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002464/0.8282, allocations: 0.9494 MB / 387.1 MB, free: 79.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.8283, allocations: 81.05 kB / 387.1 MB, free: 79.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.8297, allocations: 0.6826 MB / 387.8 MB, free: 78.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/0.8299, allocations: 36.48 kB / 387.9 MB, free: 78.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.8303, allocations: 0.5618 MB / 388.4 MB, free: 78.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.8304, allocations: 136.4 kB / 388.5 MB, free: 78.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.8305, allocations: 15.81 kB / 388.6 MB, free: 78.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.12e-05/0.8306, allocations: 331 kB / 388.9 MB, free: 78.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.8309, allocations: 130.7 kB / 389 MB, free: 78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004671/0.8314, allocations: 425.2 kB / 389.4 MB, free: 77.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.8319, allocations: 210.9 kB / 389.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.8319, allocations: 3.875 kB / 389.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001552/0.8335, allocations: 0.6227 MB / 390.3 MB, free: 77.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.8336, allocations: 14.81 kB / 390.3 MB, free: 77.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8336, allocations: 11.97 kB / 390.3 MB, free: 77.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002159/0.8338, allocations: 39 kB / 390.3 MB, free: 77.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/0.8348, allocations: 159.5 kB / 390.5 MB, free: 77.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.8359, allocations: 1.286 MB / 391.8 MB, free: 75.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.837, allocations: 37.38 kB / 391.8 MB, free: 75.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.8371, allocations: 40.75 kB / 391.8 MB, free: 75.81 MB / 314.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.0001761/0.8373, allocations: 151.8 kB / 392 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.8376, allocations: 87.72 kB / 392.1 MB, free: 75.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009138/0.8385, allocations: 344.7 kB / 392.4 MB, free: 75.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.8385, allocations: 3.312 kB / 392.4 MB, free: 75.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8385, allocations: 0 / 392.4 MB, free: 75.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.8385, allocations: 3.375 kB / 392.4 MB, free: 75.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.8411, allocations: 1.216 MB / 393.6 MB, free: 74.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.8412, allocations: 1.938 kB / 393.6 MB, free: 74.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.8418, allocations: 86.42 kB / 393.7 MB, free: 74.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.842, allocations: 21.61 kB / 393.7 MB, free: 74.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.8421, allocations: 9.719 kB / 393.8 MB, free: 74.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/0.843, allocations: 1.27 MB / 395 MB, free: 73.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.843, allocations: 3.906 kB / 395 MB, free: 73.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.8442, allocations: 0.6678 MB / 395.7 MB, free: 72.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.8447, allocations: 181 kB / 395.9 MB, free: 72.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8449, allocations: 13.91 kB / 395.9 MB, free: 72.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.8456, allocations: 36.31 kB / 395.9 MB, free: 72.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.8458, allocations: 28.03 kB / 395.9 MB, free: 72.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.8458, allocations: 12.75 kB / 396 MB, free: 72.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.8469, allocations: 0.5204 MB / 396.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.8469, allocations: 0 / 396.5 MB, free: 72.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001411/0.8483, allocations: 216 kB / 396.7 MB, free: 72.05 MB / 314.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.001873/0.8502, allocations: 1.898 MB / 398.6 MB, free: 70.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.8514, allocations: 455.6 kB / 399 MB, free: 69.71 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8514, allocations: 4.875 kB / 399 MB, free: 69.71 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004649/0.8519, allocations: 241.4 kB / 399.3 MB, free: 69.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.8537, allocations: 202.3 kB / 399.5 MB, free: 69.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.8582, allocations: 1.406 MB / 400.9 MB, free: 68.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.8588, allocations: 1.018 MB / 401.9 MB, free: 67.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007227/0.8595, allocations: 101.1 kB / 402 MB, free: 67.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.8601, allocations: 365.4 kB / 402.4 MB, free: 66.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8602, allocations: 4 kB / 402.4 MB, free: 66.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06203/0.9222, allocations: 19.3 MB / 421.7 MB, free: 48.91 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.9225, allocations: 180 kB / 421.8 MB, free: 48.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/4.11, allocations: 0 / 421.8 MB, free: 48.68 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat