Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.182e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.4102, allocations: 83.48 MB / 347.4 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.4105, allocations: 83.95 kB / 347.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3527/0.7633, allocations: 23.01 MB / 370.4 MB, free: 82.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.7634, allocations: 0.8438 kB / 370.4 MB, free: 82.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001304/0.7635, allocations: 28.17 kB / 370.5 MB, free: 82.84 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.004313/0.7679, allocations: 0.9653 MB / 371.4 MB, free: 82.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.794e-05/0.768, allocations: 11.16 kB / 371.5 MB, free: 82.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005129/0.7685, allocations: 129.8 kB / 371.6 MB, free: 82.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.7699, allocations: 147.3 kB / 371.7 MB, free: 82.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.773, allocations: 0.6799 MB / 372.4 MB, free: 81.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.7732, allocations: 62.89 kB / 372.5 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.7734, allocations: 83.14 kB / 372.5 MB, free: 81.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.7762, allocations: 0.7276 MB / 373.3 MB, free: 81.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.7763, allocations: 7.125 kB / 373.3 MB, free: 81.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.7765, allocations: 36.06 kB / 373.3 MB, free: 81.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.7766, allocations: 19.94 kB / 373.3 MB, free: 81.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.7786, allocations: 466.1 kB / 373.8 MB, free: 81.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/0.7882, allocations: 3.465 MB / 377.3 MB, free: 80.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.7891, allocations: 207.1 kB / 377.5 MB, free: 80.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.7895, allocations: 92.89 kB / 377.5 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.7895, allocations: 0 / 377.5 MB, free: 80.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.7896, allocations: 42.25 kB / 377.6 MB, free: 80.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 4.288e-06/0.7896, allocations: 0 / 377.6 MB, free: 80.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.00287/0.7925, allocations: 0.8058 MB / 378.4 MB, free: 79.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.7926, allocations: 80.66 kB / 378.5 MB, free: 79.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.7943, allocations: 0.6183 MB / 379.1 MB, free: 79.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.7944, allocations: 32.73 kB / 379.1 MB, free: 79.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.795, allocations: 0.4918 MB / 379.6 MB, free: 79.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.7951, allocations: 105.1 kB / 379.7 MB, free: 79.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.7952, allocations: 11.59 kB / 379.7 MB, free: 79.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7954, allocations: 380.5 kB / 380.1 MB, free: 78.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.7959, allocations: 105.9 kB / 380.2 MB, free: 78.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/0.7965, allocations: 395.9 kB / 380.6 MB, free: 78.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.7971, allocations: 182.9 kB / 380.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.7971, allocations: 3.828 kB / 380.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001987/0.7992, allocations: 0.5511 MB / 381.3 MB, free: 78.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.7992, allocations: 11.56 kB / 381.3 MB, free: 78.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.7993, allocations: 7.844 kB / 381.3 MB, free: 78.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.7996, allocations: 31.62 kB / 381.4 MB, free: 78.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.8008, allocations: 145 kB / 381.5 MB, free: 78.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.8023, allocations: 1.292 MB / 382.8 MB, free: 77.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.8038, allocations: 40.7 kB / 382.8 MB, free: 77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.8039, allocations: 33.34 kB / 382.9 MB, free: 77 MB / 314.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.000219/0.8041, allocations: 143.8 kB / 383 MB, free: 76.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.8044, allocations: 74.05 kB / 383.1 MB, free: 76.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.8055, allocations: 290 kB / 383.4 MB, free: 76.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.8055, allocations: 7.844 kB / 383.4 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.8055, allocations: 0 / 383.4 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.8056, allocations: 3.75 kB / 383.4 MB, free: 76.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.8087, allocations: 1.047 MB / 384.4 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8088, allocations: 3.938 kB / 384.4 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007616/0.8096, allocations: 63.17 kB / 384.5 MB, free: 76.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.8098, allocations: 19.62 kB / 384.5 MB, free: 76.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.52e-05/0.8099, allocations: 7.75 kB / 384.5 MB, free: 76.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.8112, allocations: 1.277 MB / 385.8 MB, free: 74.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8113, allocations: 0 / 385.8 MB, free: 74.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.8127, allocations: 0.5896 MB / 386.4 MB, free: 74.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.8133, allocations: 172.6 kB / 386.6 MB, free: 74.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.8135, allocations: 7.875 kB / 386.6 MB, free: 74.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.8144, allocations: 23.36 kB / 386.6 MB, free: 74.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.8145, allocations: 28.97 kB / 386.6 MB, free: 74.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.8145, allocations: 14.62 kB / 386.6 MB, free: 74.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008762/0.8154, allocations: 471.8 kB / 387.1 MB, free: 74.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8154, allocations: 0 / 387.1 MB, free: 74.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00119/0.8166, allocations: 199 kB / 387.3 MB, free: 74.04 MB / 314.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.001632/0.8183, allocations: 1.779 MB / 389.1 MB, free: 72.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.8193, allocations: 401.2 kB / 389.5 MB, free: 72.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8193, allocations: 0 / 389.5 MB, free: 72.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.8197, allocations: 213.5 kB / 389.7 MB, free: 72.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.8212, allocations: 168.3 kB / 389.8 MB, free: 72.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.8246, allocations: 1.156 MB / 391 MB, free: 71.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.8251, allocations: 0.9559 MB / 391.9 MB, free: 70.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006167/0.8258, allocations: 97.7 kB / 392 MB, free: 70.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.8263, allocations: 303.6 kB / 392.3 MB, free: 70.54 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8263, allocations: 0 / 392.3 MB, free: 70.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05952/0.8858, allocations: 16.86 MB / 409.2 MB, free: 60.79 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.8861, allocations: 196 kB / 409.4 MB, free: 60.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/4.052, allocations: 0 / 409.4 MB, free: 60.55 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat