Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.367e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 38.76 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.449, allocations: 88.13 MB / 346.5 MB, free: 5.613 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.4494, allocations: 75.95 kB / 346.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3381/0.7875, allocations: 28.27 MB / 374.8 MB, free: 84.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.7875, allocations: 0 / 374.8 MB, free: 84.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.171e-05/0.7876, allocations: 20.12 kB / 374.9 MB, free: 84.48 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002444/0.7901, allocations: 1.133 MB / 376 MB, free: 83.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7901, allocations: 9.531 kB / 376 MB, free: 83.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7912, allocations: 195.4 kB / 376.2 MB, free: 83.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.7934, allocations: 0.8059 MB / 377 MB, free: 83.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.7935, allocations: 32.06 kB / 377 MB, free: 83.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.7936, allocations: 62.09 kB / 377.1 MB, free: 83.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001481/0.7951, allocations: 0.5415 MB / 377.6 MB, free: 83.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.797, allocations: 0.7564 MB / 378.4 MB, free: 83.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.7971, allocations: 4.094 kB / 378.4 MB, free: 83.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.7973, allocations: 0.5625 kB / 378.4 MB, free: 83.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.7973, allocations: 25.41 kB / 378.4 MB, free: 83.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007128/0.8045, allocations: 3.78 MB / 382.2 MB, free: 81.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.8052, allocations: 412.3 kB / 382.6 MB, free: 81.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/0.8059, allocations: 239.6 kB / 382.8 MB, free: 81.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.806, allocations: 3.969 kB / 382.8 MB, free: 81.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.806, allocations: 40.78 kB / 382.9 MB, free: 81.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.066e-06/0.806, allocations: 0 / 382.9 MB, free: 81.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002756/0.8088, allocations: 1.132 MB / 384 MB, free: 80.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8088, allocations: 81.39 kB / 384.1 MB, free: 80.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.8099, allocations: 0.6009 MB / 384.7 MB, free: 80.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.8099, allocations: 25.7 kB / 384.7 MB, free: 80.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.8103, allocations: 0.5632 MB / 385.3 MB, free: 79.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.8104, allocations: 174 kB / 385.4 MB, free: 79.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.8105, allocations: 0 / 385.4 MB, free: 79.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8106, allocations: 387.3 kB / 385.8 MB, free: 79.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.811, allocations: 144.4 kB / 386 MB, free: 79.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.8114, allocations: 428.4 kB / 386.4 MB, free: 78.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.8119, allocations: 221.7 kB / 386.6 MB, free: 78.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.8119, allocations: 3.938 kB / 386.6 MB, free: 78.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001598/0.8136, allocations: 0.6767 MB / 387.3 MB, free: 78.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.8136, allocations: 8.375 kB / 387.3 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.8136, allocations: 15.78 kB / 387.3 MB, free: 78.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.8141, allocations: 87.42 kB / 387.4 MB, free: 78.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.8151, allocations: 162.7 kB / 387.5 MB, free: 78.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.8178, allocations: 2.888 MB / 390.4 MB, free: 75.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8189, allocations: 25.98 kB / 390.5 MB, free: 75.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.819, allocations: 31.56 kB / 390.5 MB, free: 75.79 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.8191, allocations: 135.5 kB / 390.6 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001/0.8202, allocations: 456 kB / 391.1 MB, free: 75.44 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8203, allocations: 79.94 kB / 391.1 MB, free: 75.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.8214, allocations: 461.5 kB / 391.6 MB, free: 75.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8214, allocations: 9.766 kB / 391.6 MB, free: 75.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8215, allocations: 0 / 391.6 MB, free: 75.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8215, allocations: 0 / 391.6 MB, free: 75.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.8242, allocations: 1.282 MB / 392.9 MB, free: 74.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.8242, allocations: 6.812 kB / 392.9 MB, free: 74.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.8248, allocations: 76.44 kB / 393 MB, free: 74.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.8252, allocations: 81.64 kB / 393 MB, free: 74.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.8253, allocations: 9.906 kB / 393.1 MB, free: 74.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.8277, allocations: 2.868 MB / 395.9 MB, free: 71.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.8278, allocations: 2.75 kB / 395.9 MB, free: 71.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.8293, allocations: 0.8293 MB / 396.8 MB, free: 71.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.8297, allocations: 190.5 kB / 396.9 MB, free: 70.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.8299, allocations: 6.984 kB / 396.9 MB, free: 70.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.8307, allocations: 27.31 kB / 397 MB, free: 70.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.8308, allocations: 43.45 kB / 397 MB, free: 70.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.8308, allocations: 14 kB / 397 MB, free: 70.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007616/0.8316, allocations: 453 kB / 397.5 MB, free: 70.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8316, allocations: 0 / 397.5 MB, free: 70.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001239/0.8329, allocations: 202.3 kB / 397.7 MB, free: 70.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002064/0.835, allocations: 2.002 MB / 399.7 MB, free: 69.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.8364, allocations: 0.6478 MB / 400.3 MB, free: 68.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8364, allocations: 0 / 400.3 MB, free: 68.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007498/0.8371, allocations: 424.3 kB / 400.7 MB, free: 68.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.8387, allocations: 190 kB / 400.9 MB, free: 68.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.8425, allocations: 1.382 MB / 402.3 MB, free: 67.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.8432, allocations: 1.032 MB / 403.3 MB, free: 66.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006974/0.8439, allocations: 106 kB / 403.4 MB, free: 66.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.8445, allocations: 381.4 kB / 403.8 MB, free: 66.57 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8445, allocations: 0 / 403.8 MB, free: 66.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/0.9112, allocations: 16.63 MB / 420.4 MB, free: 52.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.9115, allocations: 155.7 kB / 420.6 MB, free: 51.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.02, allocations: 0 / 420.6 MB, free: 51.88 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat