Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.028e-05, allocations: 3.984 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09126, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4781/0.5694, allocations: 88.61 MB / 388.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5697, allocations: 78.88 kB / 388.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08513/0.6549, allocations: 22.93 MB / 411.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6549, allocations: 0 / 411.6 MB, free: 6.648 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.568e-05/0.655, allocations: 19.38 kB / 411.6 MB, free: 6.648 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001913/0.6569, allocations: 0.9808 MB / 412.6 MB, free: 5.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.657, allocations: 11.67 kB / 412.6 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.6572, allocations: 123 kB / 412.7 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006808/0.6579, allocations: 148.5 kB / 412.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.6596, allocations: 0.6795 MB / 413.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.6597, allocations: 59.22 kB / 413.6 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.6598, allocations: 75 kB / 413.7 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.6614, allocations: 0.7295 MB / 414.4 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.6615, allocations: 11.81 kB / 414.4 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.6616, allocations: 28 kB / 414.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6616, allocations: 23.31 kB / 414.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6628, allocations: 473 kB / 414.9 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005228/0.668, allocations: 3.454 MB / 418.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.6686, allocations: 202.1 kB / 418.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.6688, allocations: 103.7 kB / 418.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.6688, allocations: 3.875 kB / 418.7 MB, free: 2.887 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.6689, allocations: 34.5 kB / 418.7 MB, free: 2.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/0.6689, allocations: 0 / 418.7 MB, free: 2.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001647/0.6705, allocations: 0.8117 MB / 419.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.6706, allocations: 88.92 kB / 419.6 MB, free: 2.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.6723, allocations: 0.6204 MB / 420.3 MB, free: 2.074 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.6724, allocations: 29.2 kB / 420.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.6729, allocations: 0.4951 MB / 420.8 MB, free: 1.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6731, allocations: 100.3 kB / 420.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.6732, allocations: 14.56 kB / 420.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.6734, allocations: 373.4 kB / 421.3 MB, free: 1.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.6739, allocations: 111.7 kB / 421.4 MB, free: 1.328 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.6746, allocations: 392.5 kB / 421.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.6754, allocations: 189 kB / 421.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.6754, allocations: 0 / 421.9 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001986/0.6774, allocations: 0.5488 MB / 422.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.6775, allocations: 17.53 kB / 422.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.6775, allocations: 7.781 kB / 422.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.6778, allocations: 32.11 kB / 422.5 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.6792, allocations: 150 kB / 422.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6808, allocations: 1.283 MB / 424 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.6823, allocations: 41.14 kB / 424 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.6824, allocations: 31.16 kB / 424 MB, free: 15.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002296/0.6826, allocations: 148.7 kB / 424.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.6828, allocations: 70.03 kB / 424.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.6839, allocations: 284.8 kB / 424.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.6839, allocations: 3.844 kB / 424.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.684, allocations: 0 / 424.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.684, allocations: 3.984 kB / 424.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.6871, allocations: 1.054 MB / 425.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6871, allocations: 4.219 kB / 425.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.6879, allocations: 57.97 kB / 425.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.6881, allocations: 28.19 kB / 425.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.6882, allocations: 7.312 kB / 425.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.6899, allocations: 1.26 MB / 426.9 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.6899, allocations: 7.859 kB / 427 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.6914, allocations: 0.578 MB / 427.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6919, allocations: 179.4 kB / 427.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.6921, allocations: 7.25 kB / 427.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/0.693, allocations: 27.08 kB / 427.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.6932, allocations: 27 kB / 427.8 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.6932, allocations: 11.69 kB / 427.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00129/0.6945, allocations: 472.6 kB / 428.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.6945, allocations: 0 / 428.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001623/0.6962, allocations: 199.8 kB / 428.4 MB, free: 12.53 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.002822/0.699, allocations: 1.805 MB / 430.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.7005, allocations: 396.8 kB / 430.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.7006, allocations: 0 / 430.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008247/0.7014, allocations: 214.2 kB / 430.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7036, allocations: 165.7 kB / 431 MB, free: 10.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.7088, allocations: 1.159 MB / 432.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/0.7099, allocations: 0.957 MB / 433.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009967/0.7109, allocations: 96.08 kB / 433.2 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/0.7114, allocations: 300.6 kB / 433.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7114, allocations: 0 / 433.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.7648, allocations: 16.87 MB / 450.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/0.7651, allocations: 180.3 kB / 450.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.963/3.728, allocations: 0 / 450.5 MB, free: 11.23 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat