Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.512e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 50.41 MB / 342.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5827, allocations: 98.33 MB / 441 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.583, allocations: 75.45 kB / 441.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1132/0.6962, allocations: 26.25 MB / 467.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6963, allocations: 7.938 kB / 467.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.703e-05/0.6964, allocations: 23.98 kB / 467.3 MB, free: 5.93 MB / 378.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.002852/0.6993, allocations: 1.099 MB / 468.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6993, allocations: 12.03 kB / 468.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/0.6997, allocations: 144.1 kB / 468.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009322/0.7006, allocations: 178.3 kB / 468.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.703, allocations: 0.7652 MB / 469.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.7031, allocations: 70 kB / 469.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.7033, allocations: 99.98 kB / 469.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/0.7057, allocations: 0.8684 MB / 470.6 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.7058, allocations: 4 kB / 470.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.7059, allocations: 40 kB / 470.6 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.706, allocations: 27.98 kB / 470.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/0.7077, allocations: 0.5585 MB / 471.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008387/0.7161, allocations: 3.944 MB / 475.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/0.7169, allocations: 331.8 kB / 475.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.7173, allocations: 125.4 kB / 475.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.7173, allocations: 4.281 kB / 475.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.7174, allocations: 38.83 kB / 475.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 5.14e-06/0.7174, allocations: 4 kB / 475.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002415/0.7198, allocations: 0.947 MB / 476.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.7199, allocations: 89.09 kB / 476.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.7215, allocations: 0.684 MB / 477.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.344e-05/0.7215, allocations: 29.7 kB / 477.4 MB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00055/0.7221, allocations: 0.5601 MB / 477.9 MB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.7223, allocations: 142 kB / 478.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.7223, allocations: 16 kB / 478.1 MB, free: 10.67 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7225, allocations: 337.9 kB / 478.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.7229, allocations: 125.6 kB / 478.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.7235, allocations: 420.3 kB / 479 MB, free: 9.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.724, allocations: 215.5 kB / 479.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.7241, allocations: 4 kB / 479.2 MB, free: 9.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001686/0.7258, allocations: 0.618 MB / 479.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.7258, allocations: 11.98 kB / 479.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.7259, allocations: 12 kB / 479.8 MB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.7261, allocations: 37.42 kB / 479.9 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7271, allocations: 163.7 kB / 480 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.7285, allocations: 1.284 MB / 481.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.7294, allocations: 43.89 kB / 481.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.7295, allocations: 35.94 kB / 481.4 MB, free: 7.102 MB / 394.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.0001871/0.7297, allocations: 152.4 kB / 481.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.7299, allocations: 87.06 kB / 481.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/0.7309, allocations: 347.9 kB / 481.9 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7309, allocations: 4 kB / 482 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7309, allocations: 4 kB / 482 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.7309, allocations: 3.984 kB / 482 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.7337, allocations: 1.21 MB / 483.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.7337, allocations: 4 kB / 483.2 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.7344, allocations: 76.11 kB / 483.2 MB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.7346, allocations: 28.84 kB / 483.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.7346, allocations: 8 kB / 483.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.7358, allocations: 1.276 MB / 484.6 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.7358, allocations: 7.891 kB / 484.6 MB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.7372, allocations: 0.6698 MB / 485.2 MB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.7376, allocations: 192 kB / 485.4 MB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.7378, allocations: 8 kB / 485.4 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/0.7384, allocations: 23.98 kB / 485.5 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7385, allocations: 31.95 kB / 485.5 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.7386, allocations: 12 kB / 485.5 MB, free: 2.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.7397, allocations: 0.5187 MB / 486 MB, free: 2.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7397, allocations: 0 / 486 MB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001239/0.741, allocations: 224 kB / 486.2 MB, free: 1.906 MB / 394.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.002274/0.7433, allocations: 1.896 MB / 488.1 MB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.7445, allocations: 462.3 kB / 488.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7445, allocations: 2.375 kB / 488.6 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.7451, allocations: 237.6 kB / 488.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.7467, allocations: 200.2 kB / 489 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.7509, allocations: 1.401 MB / 490.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/0.7518, allocations: 1.02 MB / 491.4 MB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007267/0.7525, allocations: 103 kB / 491.5 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006865/0.7532, allocations: 363.3 kB / 491.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7532, allocations: 0 / 491.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.8165, allocations: 19.29 MB / 0.4992 GB, free: 9.02 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/0.8169, allocations: 185.2 kB / 0.4994 GB, free: 8.793 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/3.851, allocations: 4 kB / 0.4994 GB, free: 8.789 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat