Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.341e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09293, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4221/0.515, allocations: 92.68 MB / 392.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5154, allocations: 80.58 kB / 392.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1037/0.6191, allocations: 26.17 MB / 418.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.6191, allocations: 0 / 418.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.785e-05/0.6192, allocations: 27.31 kB / 418.9 MB, free: 4.566 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.002681/0.6219, allocations: 1.103 MB / 420 MB, free: 3.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.622, allocations: 11.38 kB / 420 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/0.6223, allocations: 149.1 kB / 420.2 MB, free: 3.734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/0.6233, allocations: 169.9 kB / 420.3 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.6257, allocations: 0.7722 MB / 421.1 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.6258, allocations: 70.28 kB / 421.2 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.6261, allocations: 94.34 kB / 421.3 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.6283, allocations: 0.8738 MB / 422.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.6284, allocations: 3.812 kB / 422.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.6285, allocations: 40.88 kB / 422.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.6286, allocations: 23.06 kB / 422.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6302, allocations: 0.5729 MB / 422.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007602/0.6378, allocations: 3.945 MB / 426.7 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.6385, allocations: 329.7 kB / 427.1 MB, free: 384 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.6388, allocations: 134.8 kB / 427.2 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.6389, allocations: 8.094 kB / 427.2 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.6389, allocations: 38.78 kB / 427.2 MB, free: 320 kB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/0.6389, allocations: 0 / 427.2 MB, free: 320 kB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002441/0.6414, allocations: 0.9585 MB / 428.2 MB, free: 15.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.6415, allocations: 84.05 kB / 428.3 MB, free: 15.69 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.6428, allocations: 0.6821 MB / 429 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.465e-05/0.6429, allocations: 31.45 kB / 429 MB, free: 15.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.6434, allocations: 0.5687 MB / 429.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001628/0.6436, allocations: 137.7 kB / 429.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.6437, allocations: 14.72 kB / 429.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6438, allocations: 328.7 kB / 430 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.6442, allocations: 128.1 kB / 430.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.6448, allocations: 431.3 kB / 430.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.6453, allocations: 211.9 kB / 430.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.6453, allocations: 3.188 kB / 430.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001597/0.6469, allocations: 0.6545 MB / 431.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.647, allocations: 7.5 kB / 431.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.647, allocations: 14.28 kB / 431.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.6472, allocations: 30.52 kB / 431.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.6483, allocations: 163.6 kB / 431.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.6496, allocations: 1.291 MB / 432.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.6507, allocations: 39.36 kB / 433 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.6508, allocations: 33.78 kB / 433 MB, free: 12.71 MB / 330.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.0002058/0.651, allocations: 160.9 kB / 433.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6512, allocations: 77.62 kB / 433.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009955/0.6522, allocations: 348 kB / 433.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6523, allocations: 3.875 kB / 433.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6523, allocations: 0 / 433.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6523, allocations: 3.984 kB / 433.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.6551, allocations: 1.215 MB / 434.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6551, allocations: 224 / 434.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.6558, allocations: 80.12 kB / 434.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/0.656, allocations: 20.44 kB / 434.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.656, allocations: 11.5 kB / 434.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.6572, allocations: 1.275 MB / 436.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6572, allocations: 7.859 kB / 436.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.6585, allocations: 0.6675 MB / 436.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.6589, allocations: 190.6 kB / 437 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.6591, allocations: 9.906 kB / 437.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.6598, allocations: 39.22 kB / 437.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6599, allocations: 26.36 kB / 437.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.66, allocations: 14.94 kB / 437.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.661, allocations: 0.5224 MB / 437.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.661, allocations: 0 / 437.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001265/0.6623, allocations: 227 kB / 437.9 MB, free: 9.688 MB / 330.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.002359/0.6647, allocations: 1.882 MB / 439.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.666, allocations: 475.5 kB / 440.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.666, allocations: 0 / 440.2 MB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.6665, allocations: 250.1 kB / 440.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.6682, allocations: 205.1 kB / 440.7 MB, free: 7.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/0.6726, allocations: 1.398 MB / 442.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007845/0.6735, allocations: 1.012 MB / 443.1 MB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000793/0.6743, allocations: 110.9 kB / 443.2 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/0.675, allocations: 368.1 kB / 443.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.675, allocations: 3.938 kB / 443.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06457/0.7396, allocations: 19.32 MB / 462.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/0.74, allocations: 181.7 kB / 463.1 MB, free: 1.066 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/4.261, allocations: 3.938 kB / 463.1 MB, free: 1.062 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat