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.862/1.862, allocations: 171.2 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.388e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2698, allocations: 38.78 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.4933, allocations: 86.87 MB / 345.2 MB, free: 6.875 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004448/0.4938, allocations: 79.95 kB / 345.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3599/0.8538, allocations: 25.89 MB / 371.2 MB, free: 82.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8538, allocations: 0 / 371.2 MB, free: 82.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.76e-05/0.8539, allocations: 19.59 kB / 371.2 MB, free: 82.8 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.002695/0.8566, allocations: 1.109 MB / 372.3 MB, free: 82.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.8567, allocations: 9.25 kB / 372.3 MB, free: 82.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/0.8576, allocations: 174.2 kB / 372.5 MB, free: 82.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.8598, allocations: 0.758 MB / 373.3 MB, free: 81.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.8599, allocations: 31.38 kB / 373.3 MB, free: 81.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.8601, allocations: 64.41 kB / 373.3 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001562/0.8617, allocations: 0.5201 MB / 373.9 MB, free: 81.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.8636, allocations: 0.7377 MB / 374.6 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/0.8637, allocations: 3.625 kB / 374.6 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.8638, allocations: 3.156 kB / 374.6 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.8638, allocations: 21.16 kB / 374.6 MB, free: 81.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006513/0.8703, allocations: 3.765 MB / 378.4 MB, free: 80 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.8709, allocations: 308 kB / 378.7 MB, free: 79.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.8712, allocations: 125.6 kB / 378.8 MB, free: 79.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.8712, allocations: 3.844 kB / 378.8 MB, free: 79.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.8713, allocations: 39.97 kB / 378.9 MB, free: 79.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.8713, allocations: 1.969 kB / 378.9 MB, free: 79.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002031/0.8733, allocations: 0.8743 MB / 379.7 MB, free: 79.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.8734, allocations: 90.72 kB / 379.8 MB, free: 79.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009866/0.8744, allocations: 0.5693 MB / 380.4 MB, free: 79.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.8744, allocations: 29.27 kB / 380.4 MB, free: 79.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.8748, allocations: 0.5759 MB / 381 MB, free: 78.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.6e-05/0.8749, allocations: 123 kB / 381.1 MB, free: 78.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.875, allocations: 0 / 381.1 MB, free: 78.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8751, allocations: 385.8 kB / 381.5 MB, free: 78.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.8754, allocations: 110 kB / 381.6 MB, free: 78.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.8758, allocations: 413.1 kB / 382 MB, free: 78.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.8762, allocations: 201 kB / 382.2 MB, free: 78.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8762, allocations: 2.781 kB / 382.2 MB, free: 78.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00127/0.8775, allocations: 0.5586 MB / 382.8 MB, free: 77.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.8776, allocations: 10.62 kB / 382.8 MB, free: 77.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.8776, allocations: 8.562 kB / 382.8 MB, free: 77.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/0.8778, allocations: 39.03 kB / 382.8 MB, free: 77.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/0.8787, allocations: 168.5 kB / 383 MB, free: 77.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009144/0.8797, allocations: 1.242 MB / 384.2 MB, free: 76.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009137/0.8806, allocations: 31.44 kB / 384.3 MB, free: 76.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.8807, allocations: 32.19 kB / 384.3 MB, free: 76.7 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.0001459/0.8808, allocations: 133.6 kB / 384.4 MB, free: 76.58 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006254/0.8814, allocations: 295.5 kB / 384.7 MB, free: 76.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.8816, allocations: 78.45 kB / 384.8 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007473/0.8823, allocations: 309.4 kB / 385.1 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.8824, allocations: 3.781 kB / 385.1 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8824, allocations: 3.703 kB / 385.1 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.8824, allocations: 0.8125 kB / 385.1 MB, free: 76.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.8845, allocations: 1.066 MB / 386.2 MB, free: 75.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.8845, allocations: 3.906 kB / 386.2 MB, free: 75.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.8852, allocations: 74 kB / 386.2 MB, free: 75.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.8853, allocations: 28.55 kB / 386.3 MB, free: 75.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.8853, allocations: 13.64 kB / 386.3 MB, free: 75.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.8862, allocations: 1.218 MB / 387.5 MB, free: 74.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8862, allocations: 5.938 kB / 387.5 MB, free: 74.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.8872, allocations: 0.628 MB / 388.1 MB, free: 74.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.8876, allocations: 178.2 kB / 388.3 MB, free: 74.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8877, allocations: 3.75 kB / 388.3 MB, free: 74.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005826/0.8883, allocations: 27.22 kB / 388.3 MB, free: 74.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.8884, allocations: 33.06 kB / 388.4 MB, free: 74.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.8885, allocations: 7.656 kB / 388.4 MB, free: 74.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007349/0.8892, allocations: 440.2 kB / 388.8 MB, free: 73.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8892, allocations: 0 / 388.8 MB, free: 73.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001156/0.8904, allocations: 175.7 kB / 389 MB, free: 73.8 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.001572/0.892, allocations: 1.82 MB / 390.8 MB, free: 72.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.893, allocations: 442.1 kB / 391.2 MB, free: 72.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.893, allocations: 3.938 kB / 391.2 MB, free: 72.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.8934, allocations: 231.4 kB / 391.5 MB, free: 71.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.8948, allocations: 177.3 kB / 391.6 MB, free: 71.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.8986, allocations: 1.35 MB / 393 MB, free: 71.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.8992, allocations: 1.011 MB / 394 MB, free: 70.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006183/0.8999, allocations: 102.5 kB / 394.1 MB, free: 70.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/0.9004, allocations: 363 kB / 394.4 MB, free: 70.11 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9004, allocations: 0 / 394.4 MB, free: 70.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0776/0.978, allocations: 15.02 MB / 409.5 MB, free: 62.83 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.9783, allocations: 148.6 kB / 409.6 MB, free: 62.64 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.948, allocations: 0 / 409.6 MB, free: 62.64 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