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 1.882/1.882, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.682e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09376, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5347, allocations: 92.68 MB / 392.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.5351, allocations: 81.88 kB / 392.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1201/0.6553, allocations: 26.16 MB / 418.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.6554, allocations: 0 / 418.9 MB, free: 4.133 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.906e-05/0.6555, allocations: 27.16 kB / 418.9 MB, free: 4.125 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.003078/0.6586, allocations: 1.1 MB / 420 MB, free: 3.355 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6586, allocations: 11.72 kB / 420.1 MB, free: 3.355 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003625/0.659, allocations: 150.3 kB / 420.2 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.6599, allocations: 171.1 kB / 420.4 MB, free: 3.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.6623, allocations: 0.7688 MB / 421.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.6624, allocations: 73 kB / 421.2 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.6627, allocations: 92.44 kB / 421.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.6651, allocations: 0.8691 MB / 422.2 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.6652, allocations: 3.875 kB / 422.2 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.6654, allocations: 38.31 kB / 422.2 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.6654, allocations: 26.34 kB / 422.2 MB, free: 2.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.6672, allocations: 0.5527 MB / 422.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.6752, allocations: 3.946 MB / 426.7 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.676, allocations: 321.8 kB / 427 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.6763, allocations: 129 kB / 427.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.6764, allocations: 8.094 kB / 427.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.6764, allocations: 42.66 kB / 427.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.456e-06/0.6764, allocations: 0 / 427.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002605/0.679, allocations: 0.9506 MB / 428.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.6792, allocations: 80.98 kB / 428.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.6807, allocations: 0.6902 MB / 428.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.6808, allocations: 29.64 kB / 429 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/0.6814, allocations: 0.5696 MB / 429.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.6815, allocations: 130.8 kB / 429.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.6816, allocations: 17.06 kB / 429.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.6818, allocations: 327.3 kB / 430 MB, free: 14.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.6821, allocations: 128 kB / 430.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005629/0.6827, allocations: 439.4 kB / 430.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.6832, allocations: 204 kB / 430.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.6832, allocations: 3.875 kB / 430.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001587/0.6848, allocations: 0.6183 MB / 431.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.6849, allocations: 9.438 kB / 431.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.6849, allocations: 15.5 kB / 431.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.6852, allocations: 34.66 kB / 431.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.6862, allocations: 164.5 kB / 431.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.6876, allocations: 1.291 MB / 432.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6888, allocations: 40.86 kB / 432.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.682e-05/0.6889, allocations: 35.78 kB / 433 MB, free: 12.29 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.0002303/0.6892, allocations: 159 kB / 433.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.6894, allocations: 81.38 kB / 433.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009723/0.6904, allocations: 348.2 kB / 433.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.6904, allocations: 6.406 kB / 433.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6904, allocations: 0 / 433.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6904, allocations: 0 / 433.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.6931, allocations: 1.206 MB / 434.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6932, allocations: 3.875 kB / 434.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.6939, allocations: 81.73 kB / 434.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.6941, allocations: 21.61 kB / 434.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.6941, allocations: 11.3 kB / 434.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.6954, allocations: 1.278 MB / 436.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6954, allocations: 0 / 436.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.6968, allocations: 0.6643 MB / 436.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.6973, allocations: 195.9 kB / 437 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.6975, allocations: 11.36 kB / 437 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.6982, allocations: 22.92 kB / 437 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.6984, allocations: 41.97 kB / 437.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.6984, allocations: 10.41 kB / 437.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.6996, allocations: 0.5183 MB / 437.6 MB, free: 9.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6996, allocations: 0 / 437.6 MB, free: 9.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001516/0.7011, allocations: 226.2 kB / 437.8 MB, free: 9.348 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.002509/0.7037, allocations: 1.895 MB / 439.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.7051, allocations: 454.9 kB / 440.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7051, allocations: 0 / 440.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.7057, allocations: 240.5 kB / 440.4 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7075, allocations: 196.7 kB / 440.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/0.7127, allocations: 1.405 MB / 442 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.7136, allocations: 1.02 MB / 443 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008389/0.7145, allocations: 98.95 kB / 443.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/0.7152, allocations: 364.4 kB / 443.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7152, allocations: 4 kB / 443.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07944/0.7946, allocations: 19.28 MB / 462.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.795, allocations: 176.4 kB / 462.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/3.984, allocations: 0 / 462.9 MB, free: 0.8047 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