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.739/1.739, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.361e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 38.76 MB / 263.8 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4055, allocations: 87.53 MB / 351.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/0.4059, allocations: 83.94 kB / 351.4 MB, free: 2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3237/0.7297, allocations: 26.29 MB / 377.7 MB, free: 84.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7297, allocations: 0 / 377.7 MB, free: 84.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.76e-05/0.7298, allocations: 19.62 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.00231/0.7321, allocations: 1.096 MB / 378.9 MB, free: 83.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7322, allocations: 7.719 kB / 378.9 MB, free: 83.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.7324, allocations: 150.9 kB / 379 MB, free: 83.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.7332, allocations: 174 kB / 379.2 MB, free: 83.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.7352, allocations: 0.7568 MB / 379.9 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.7353, allocations: 79.19 kB / 380 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.7355, allocations: 99.95 kB / 380.1 MB, free: 83.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.7375, allocations: 0.8763 MB / 381 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.7376, allocations: 5.594 kB / 381 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7377, allocations: 38.84 kB / 381 MB, free: 83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.7378, allocations: 27.59 kB / 381.1 MB, free: 82.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.7393, allocations: 0.5726 MB / 381.6 MB, free: 82.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006639/0.7459, allocations: 3.953 MB / 385.6 MB, free: 80.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.7466, allocations: 329.8 kB / 385.9 MB, free: 80.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.7469, allocations: 129.8 kB / 386 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.7469, allocations: 3.188 kB / 386 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.747, allocations: 34.84 kB / 386.1 MB, free: 80.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.747, allocations: 0 / 386.1 MB, free: 80.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002105/0.7491, allocations: 0.9572 MB / 387 MB, free: 79.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7492, allocations: 81.05 kB / 387.1 MB, free: 79.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7504, allocations: 0.6814 MB / 387.8 MB, free: 79.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.7504, allocations: 33.67 kB / 387.8 MB, free: 78.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.7508, allocations: 0.5728 MB / 388.4 MB, free: 78.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.7509, allocations: 133.5 kB / 388.5 MB, free: 78.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.7509, allocations: 11.25 kB / 388.5 MB, free: 78.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.805e-05/0.751, allocations: 347.8 kB / 388.9 MB, free: 78.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.7513, allocations: 124.6 kB / 389 MB, free: 78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.7518, allocations: 437.4 kB / 389.4 MB, free: 77.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.7523, allocations: 201.3 kB / 389.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7523, allocations: 3.906 kB / 389.6 MB, free: 77.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001246/0.7536, allocations: 0.5974 MB / 390.2 MB, free: 77.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.7536, allocations: 12.97 kB / 390.2 MB, free: 77.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.7536, allocations: 8.5 kB / 390.2 MB, free: 77.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.7538, allocations: 42.3 kB / 390.3 MB, free: 77.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009438/0.7548, allocations: 169.7 kB / 390.4 MB, free: 77.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009344/0.7557, allocations: 1.281 MB / 391.7 MB, free: 75.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009276/0.7567, allocations: 39.28 kB / 391.8 MB, free: 75.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.7568, allocations: 32.62 kB / 391.8 MB, free: 75.82 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.0001497/0.7569, allocations: 158.6 kB / 392 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.7571, allocations: 83.19 kB / 392 MB, free: 75.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.758, allocations: 355.8 kB / 392.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.758, allocations: 7.5 kB / 392.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.758, allocations: 0 / 392.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.758, allocations: 0 / 392.4 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.7603, allocations: 1.217 MB / 393.6 MB, free: 74.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.7603, allocations: 3.719 kB / 393.6 MB, free: 74.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.7609, allocations: 80.78 kB / 393.7 MB, free: 74.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.7611, allocations: 26.42 kB / 393.7 MB, free: 74.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.7611, allocations: 11.97 kB / 393.7 MB, free: 74.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008444/0.762, allocations: 1.274 MB / 395 MB, free: 73.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.762, allocations: 0 / 395 MB, free: 73.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.7631, allocations: 0.667 MB / 395.7 MB, free: 72.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.7635, allocations: 191.6 kB / 395.9 MB, free: 72.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.7636, allocations: 9.891 kB / 395.9 MB, free: 72.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.7643, allocations: 29.31 kB / 395.9 MB, free: 72.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.7644, allocations: 31.06 kB / 395.9 MB, free: 72.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.7645, allocations: 13.47 kB / 395.9 MB, free: 72.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009604/0.7654, allocations: 0.5216 MB / 396.5 MB, free: 72.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7654, allocations: 0 / 396.5 MB, free: 72.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001183/0.7666, allocations: 224 kB / 396.7 MB, free: 72.01 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.001742/0.7684, allocations: 1.878 MB / 398.6 MB, free: 70.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.7695, allocations: 488.5 kB / 399 MB, free: 69.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.7695, allocations: 0 / 399 MB, free: 69.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.7699, allocations: 254.2 kB / 399.3 MB, free: 69.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.7715, allocations: 189.5 kB / 399.5 MB, free: 69.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.7752, allocations: 1.455 MB / 400.9 MB, free: 67.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.7757, allocations: 1.012 MB / 401.9 MB, free: 66.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.7763, allocations: 369.8 kB / 402.3 MB, free: 66.66 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7763, allocations: 0 / 402.3 MB, free: 66.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.744/3.521, allocations: 20.49 MB / 422.8 MB, free: 47.71 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