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.631/1.631, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.925e-05, allocations: 4 kB / 225.1 MB, free: 2.121 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2582, allocations: 38.76 MB / 263.9 MB, free: 9.773 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.4298, allocations: 87.54 MB / 351.4 MB, free: 2.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4302, allocations: 79.95 kB / 351.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3782/0.8084, allocations: 26.29 MB / 377.8 MB, free: 84.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.8085, allocations: 0 / 377.8 MB, free: 84.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001332/0.8086, allocations: 19.47 kB / 377.8 MB, free: 84.18 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.003973/0.8126, allocations: 1.098 MB / 378.9 MB, free: 83.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.8127, allocations: 11.88 kB / 378.9 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005524/0.8133, allocations: 143.7 kB / 379 MB, free: 83.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.8147, allocations: 179.3 kB / 379.2 MB, free: 83.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.8181, allocations: 0.7595 MB / 380 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.8183, allocations: 72.97 kB / 380 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004248/0.8188, allocations: 106.6 kB / 380.1 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.8228, allocations: 0.871 MB / 381 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/0.823, allocations: 7.938 kB / 381 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.8234, allocations: 43.34 kB / 381.1 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.8234, allocations: 27.69 kB / 381.1 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002983/0.8264, allocations: 0.5689 MB / 381.7 MB, free: 82.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009877/0.8364, allocations: 3.951 MB / 385.6 MB, free: 80.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.8371, allocations: 329.6 kB / 385.9 MB, free: 80.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.8375, allocations: 130.3 kB / 386.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.8375, allocations: 3.5 kB / 386.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.8376, allocations: 34.56 kB / 386.1 MB, free: 80.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.146e-06/0.8376, allocations: 0 / 386.1 MB, free: 80.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002492/0.8401, allocations: 0.9578 MB / 387 MB, free: 79.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.8402, allocations: 80.08 kB / 387.1 MB, free: 79.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.8416, allocations: 0.6807 MB / 387.8 MB, free: 79.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.8417, allocations: 33.64 kB / 387.8 MB, free: 79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.8421, allocations: 0.5619 MB / 388.4 MB, free: 78.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.8423, allocations: 130.6 kB / 388.5 MB, free: 78.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.8423, allocations: 15.94 kB / 388.5 MB, free: 78.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.8424, allocations: 336.2 kB / 388.9 MB, free: 78.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.8428, allocations: 128.8 kB / 389 MB, free: 78.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.8433, allocations: 435.9 kB / 389.4 MB, free: 77.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.8438, allocations: 214.7 kB / 389.6 MB, free: 77.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.8438, allocations: 3.969 kB / 389.6 MB, free: 77.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001531/0.8453, allocations: 0.6457 MB / 390.3 MB, free: 77.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.8454, allocations: 11.69 kB / 390.3 MB, free: 77.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.8454, allocations: 11.06 kB / 390.3 MB, free: 77.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.8457, allocations: 32.2 kB / 390.3 MB, free: 77.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009865/0.8467, allocations: 174 kB / 390.5 MB, free: 77.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.8478, allocations: 1.282 MB / 391.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.8488, allocations: 37.27 kB / 391.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/0.8489, allocations: 37.66 kB / 391.9 MB, free: 75.86 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.0001696/0.8491, allocations: 154.7 kB / 392 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8493, allocations: 84.66 kB / 392.1 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009079/0.8502, allocations: 350.5 kB / 392.4 MB, free: 75.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.8503, allocations: 3.812 kB / 392.4 MB, free: 75.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8503, allocations: 0 / 392.4 MB, free: 75.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8503, allocations: 3.562 kB / 392.4 MB, free: 75.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.853, allocations: 1.229 MB / 393.7 MB, free: 74.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.853, allocations: 3.25 kB / 393.7 MB, free: 74.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/0.8537, allocations: 79.27 kB / 393.8 MB, free: 74.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.8539, allocations: 30.94 kB / 393.8 MB, free: 74.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.8539, allocations: 7.531 kB / 393.8 MB, free: 74.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008914/0.8548, allocations: 1.269 MB / 395.1 MB, free: 73.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8549, allocations: 5.438 kB / 395.1 MB, free: 73.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.8561, allocations: 0.6723 MB / 395.7 MB, free: 72.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004925/0.8566, allocations: 186.6 kB / 395.9 MB, free: 72.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.8568, allocations: 9.438 kB / 395.9 MB, free: 72.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.8576, allocations: 28.48 kB / 396 MB, free: 72.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8577, allocations: 27.88 kB / 396 MB, free: 72.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.8577, allocations: 16.31 kB / 396 MB, free: 72.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.8588, allocations: 0.5186 MB / 396.5 MB, free: 72.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.8588, allocations: 0 / 396.5 MB, free: 72.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001332/0.8602, allocations: 223.7 kB / 396.7 MB, free: 72.09 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.001883/0.8621, allocations: 1.88 MB / 398.6 MB, free: 70.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.8633, allocations: 491.9 kB / 399.1 MB, free: 69.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.8634, allocations: 0 / 399.1 MB, free: 69.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.8639, allocations: 250.7 kB / 399.3 MB, free: 69.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.8655, allocations: 188.4 kB / 399.5 MB, free: 69.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.8699, allocations: 1.411 MB / 400.9 MB, free: 68.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.8704, allocations: 1.016 MB / 402 MB, free: 67.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007146/0.8711, allocations: 106.2 kB / 402.1 MB, free: 67.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.8718, allocations: 360.4 kB / 402.4 MB, free: 66.71 MB / 314.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8718, allocations: 0 / 402.4 MB, free: 66.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0602/0.932, allocations: 19.35 MB / 421.8 MB, free: 48.92 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/0.9323, allocations: 185.4 kB / 421.9 MB, free: 48.69 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.362/4.294, allocations: 3.938 kB / 421.9 MB, free: 48.69 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