Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.614e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2554, allocations: 38.78 MB / 263.9 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4123, allocations: 87.54 MB / 351.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.4127, allocations: 79.95 kB / 351.5 MB, free: 2.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3422/0.7549, allocations: 26.28 MB / 377.8 MB, free: 84.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.7549, allocations: 2.438 kB / 377.8 MB, free: 84.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.393e-05/0.7551, allocations: 19.78 kB / 377.8 MB, free: 84.22 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.003079/0.7581, allocations: 1.106 MB / 378.9 MB, free: 83.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.7582, allocations: 11.88 kB / 378.9 MB, free: 83.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003762/0.7586, allocations: 148.2 kB / 379 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.7595, allocations: 170.2 kB / 379.2 MB, free: 83.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/0.7619, allocations: 0.7639 MB / 380 MB, free: 83.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.762, allocations: 75.72 kB / 380 MB, free: 83.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.7623, allocations: 97.88 kB / 380.1 MB, free: 83.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.7647, allocations: 0.8622 MB / 381 MB, free: 83.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-05/0.7648, allocations: 9.938 kB / 381 MB, free: 83.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.7649, allocations: 40.25 kB / 381.1 MB, free: 83.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.765, allocations: 23.03 kB / 381.1 MB, free: 83.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.7668, allocations: 0.5597 MB / 381.6 MB, free: 83.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008283/0.7751, allocations: 3.945 MB / 385.6 MB, free: 80.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.7759, allocations: 327.6 kB / 385.9 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.7762, allocations: 135.4 kB / 386 MB, free: 80.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.7762, allocations: 4.062 kB / 386 MB, free: 80.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.7763, allocations: 34.78 kB / 386.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.915e-06/0.7763, allocations: 4 kB / 386.1 MB, free: 80.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002476/0.7788, allocations: 0.9537 MB / 387 MB, free: 79.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.7789, allocations: 81.02 kB / 387.1 MB, free: 79.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7803, allocations: 0.6885 MB / 387.8 MB, free: 79.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.7804, allocations: 29.7 kB / 387.8 MB, free: 79.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.7808, allocations: 0.575 MB / 388.4 MB, free: 78.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.7809, allocations: 130.7 kB / 388.5 MB, free: 78.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.781, allocations: 15.94 kB / 388.5 MB, free: 78.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.7811, allocations: 337.5 kB / 388.9 MB, free: 78.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.7814, allocations: 125.2 kB / 389 MB, free: 78.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.7819, allocations: 431.9 kB / 389.4 MB, free: 77.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.7824, allocations: 204.5 kB / 389.6 MB, free: 77.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.7824, 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.001346/0.7838, allocations: 0.5689 MB / 390.2 MB, free: 77.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.7839, allocations: 10.56 kB / 390.2 MB, free: 77.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.7839, allocations: 11.5 kB / 390.2 MB, free: 77.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.7841, allocations: 39.11 kB / 390.3 MB, free: 77.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.7851, allocations: 157 kB / 390.4 MB, free: 77.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.7862, allocations: 1.288 MB / 391.7 MB, free: 75.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.7873, allocations: 40.41 kB / 391.7 MB, free: 75.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.7874, allocations: 35.69 kB / 391.8 MB, free: 75.92 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.0001797/0.7876, allocations: 160.1 kB / 391.9 MB, free: 75.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.7878, allocations: 83.59 kB / 392 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/0.7888, allocations: 346.2 kB / 392.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7888, allocations: 3.406 kB / 392.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7888, allocations: 6.609 kB / 392.4 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7889, allocations: 0 / 392.4 MB, free: 75.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.7915, allocations: 1.21 MB / 393.6 MB, free: 74.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.7916, allocations: 3.281 kB / 393.6 MB, free: 74.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.7922, allocations: 84.69 kB / 393.6 MB, free: 74.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.7924, allocations: 18.45 kB / 393.7 MB, free: 74.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.7925, allocations: 15.14 kB / 393.7 MB, free: 74.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009019/0.7934, allocations: 1.272 MB / 395 MB, free: 73.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7934, allocations: 3.75 kB / 395 MB, free: 73.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.7946, allocations: 0.6671 MB / 395.6 MB, free: 73.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004928/0.7952, allocations: 189.3 kB / 395.8 MB, free: 72.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7953, allocations: 7.906 kB / 395.8 MB, free: 72.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.7961, allocations: 26.53 kB / 395.8 MB, free: 72.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.7962, allocations: 41.91 kB / 395.9 MB, free: 72.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.7963, allocations: 13.88 kB / 395.9 MB, free: 72.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.7973, allocations: 0.5173 MB / 396.4 MB, free: 72.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.7973, allocations: 0 / 396.4 MB, free: 72.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001395/0.7987, allocations: 227.3 kB / 396.6 MB, free: 72.27 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.00196/0.8007, allocations: 1.881 MB / 398.5 MB, free: 70.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.8019, allocations: 467.5 kB / 399 MB, free: 69.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.802, allocations: 0 / 399 MB, free: 69.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.8025, allocations: 237.6 kB / 399.2 MB, free: 69.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.8043, allocations: 199.3 kB / 399.4 MB, free: 69.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.8089, allocations: 1.448 MB / 400.8 MB, free: 68.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.8094, allocations: 1.017 MB / 401.9 MB, free: 67.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.8101, allocations: 366.8 kB / 402.2 MB, free: 66.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8101, allocations: 0 / 402.2 MB, free: 66.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.281/4.091, allocations: 20.43 MB / 422.6 MB, free: 48.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat