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.737/1.737, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.036e-05, allocations: 0 / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2731, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.4218, allocations: 86.88 MB / 345.2 MB, free: 7 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4221, allocations: 75.95 kB / 345.3 MB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3175/0.7396, allocations: 25.88 MB / 371.2 MB, free: 82.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7397, allocations: 2.469 kB / 371.2 MB, free: 82.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.296e-05/0.7397, allocations: 20 kB / 371.2 MB, free: 82.71 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.002507/0.7423, allocations: 1.101 MB / 372.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.7423, allocations: 9.531 kB / 372.3 MB, free: 82.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.7432, allocations: 170.6 kB / 372.5 MB, free: 82.06 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.7454, allocations: 0.7695 MB / 373.2 MB, free: 81.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.7454, allocations: 30.84 kB / 373.3 MB, free: 81.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.7456, allocations: 63.03 kB / 373.3 MB, free: 81.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/0.7472, allocations: 0.517 MB / 373.8 MB, free: 81.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.749, allocations: 0.7352 MB / 374.6 MB, free: 81.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.7491, allocations: 8.781 kB / 374.6 MB, free: 81.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.7492, allocations: 0 / 374.6 MB, free: 81.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.7493, allocations: 24.5 kB / 374.6 MB, free: 81.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/0.7562, allocations: 3.759 MB / 378.4 MB, free: 79.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.7568, allocations: 316.7 kB / 378.7 MB, free: 79.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.7571, allocations: 125.9 kB / 378.8 MB, free: 79.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.7571, allocations: 5.391 kB / 378.8 MB, free: 79.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7572, allocations: 34.59 kB / 378.8 MB, free: 79.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/0.7572, allocations: 3.5 kB / 378.8 MB, free: 79.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001895/0.7591, allocations: 0.8766 MB / 379.7 MB, free: 79.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.7591, allocations: 84.16 kB / 379.8 MB, free: 79.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/0.7601, allocations: 0.5729 MB / 380.4 MB, free: 79.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.7602, allocations: 27.86 kB / 380.4 MB, free: 79.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.7605, allocations: 0.5995 MB / 381 MB, free: 78.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.7606, allocations: 126.5 kB / 381.1 MB, free: 78.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.7607, allocations: 0 / 381.1 MB, free: 78.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.7608, allocations: 337.2 kB / 381.4 MB, free: 78.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.761, allocations: 111.2 kB / 381.6 MB, free: 78.26 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.7615, allocations: 418.4 kB / 382 MB, free: 77.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.762, allocations: 190.8 kB / 382.2 MB, free: 77.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/0.7621, allocations: 3.406 kB / 382.2 MB, free: 77.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001886/0.764, allocations: 0.5131 MB / 382.7 MB, free: 77.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.764, allocations: 11.69 kB / 382.7 MB, free: 77.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.7641, allocations: 9.469 kB / 382.7 MB, free: 77.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/0.7644, allocations: 34.27 kB / 382.7 MB, free: 77.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.7657, allocations: 167.8 kB / 382.9 MB, free: 77.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.7671, allocations: 1.243 MB / 384.1 MB, free: 76.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7684, allocations: 27.77 kB / 384.2 MB, free: 76.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.7685, allocations: 31.97 kB / 384.2 MB, free: 76.58 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.0001951/0.7687, allocations: 129.5 kB / 384.3 MB, free: 76.46 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001001/0.7697, allocations: 303.7 kB / 384.6 MB, free: 76.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.77, allocations: 82.05 kB / 384.7 MB, free: 76.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.7711, allocations: 308.1 kB / 385 MB, free: 76.26 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.7711, allocations: 3.938 kB / 385 MB, free: 76.26 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7712, allocations: 0 / 385 MB, free: 76.26 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.7712, allocations: 5.203 kB / 385 MB, free: 76.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.7743, allocations: 1.062 MB / 386.1 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.7743, allocations: 3.938 kB / 386.1 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.7752, allocations: 79.75 kB / 386.1 MB, free: 75.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001698/0.7754, allocations: 30.31 kB / 386.2 MB, free: 75.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/0.7755, allocations: 7.797 kB / 386.2 MB, free: 75.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.7766, allocations: 1.223 MB / 387.4 MB, free: 74.63 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.7767, allocations: 3.938 kB / 387.4 MB, free: 74.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.778, allocations: 0.6313 MB / 388 MB, free: 74.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.7785, allocations: 177.9 kB / 388.2 MB, free: 73.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.7788, allocations: 3.812 kB / 388.2 MB, free: 73.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009621/0.7797, allocations: 21.41 kB / 388.2 MB, free: 73.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7799, allocations: 31.06 kB / 388.3 MB, free: 73.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/0.78, allocations: 15.81 kB / 388.3 MB, free: 73.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001083/0.7811, allocations: 434 kB / 388.7 MB, free: 73.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7811, allocations: 0 / 388.7 MB, free: 73.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001767/0.7829, allocations: 179.5 kB / 388.9 MB, free: 73.75 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.002099/0.785, allocations: 1.817 MB / 390.7 MB, free: 72.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.7863, allocations: 444.9 kB / 391.1 MB, free: 72.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.7863, allocations: 0 / 391.1 MB, free: 72.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.7869, allocations: 233.3 kB / 391.4 MB, free: 71.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.7883, allocations: 170.8 kB / 391.5 MB, free: 71.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.7917, allocations: 1.401 MB / 392.9 MB, free: 71.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.7922, allocations: 1.014 MB / 393.9 MB, free: 70.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/0.7928, allocations: 364.3 kB / 394.3 MB, free: 70.05 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7928, allocations: 0 / 394.3 MB, free: 70.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.606, allocations: 19.66 MB / 414 MB, free: 58.54 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