Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.132e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.4852, allocations: 92.44 MB / 386.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4856, allocations: 87.94 kB / 386.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2097/0.6953, allocations: 27.68 MB / 414.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6954, allocations: 0 / 414.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.6955, allocations: 23.98 kB / 414.5 MB, free: 9.391 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004129/0.6997, allocations: 1.118 MB / 415.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.6998, allocations: 8.031 kB / 415.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.7014, allocations: 186.4 kB / 415.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/0.705, allocations: 0.8009 MB / 416.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.7051, allocations: 35.94 kB / 416.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.7054, allocations: 59.91 kB / 416.7 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002543/0.708, allocations: 0.5312 MB / 417.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.711, allocations: 0.7552 MB / 417.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.621e-05/0.7111, allocations: 0 / 417.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.7113, allocations: 3.938 kB / 418 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/0.7114, allocations: 24 kB / 418 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0118/0.7232, allocations: 3.734 MB / 421.7 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.7246, allocations: 415.9 kB / 422.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.726, allocations: 232.6 kB / 422.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/0.7261, allocations: 7.984 kB / 422.3 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.7262, allocations: 38.56 kB / 422.4 MB, free: 1.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.648e-06/0.7262, allocations: 4 kB / 422.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.2716/0.9979, allocations: 1.096 MB / 423.5 MB, free: 97.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.998, allocations: 86.64 kB / 423.6 MB, free: 96.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.9995, allocations: 0.5716 MB / 424.1 MB, free: 96.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.9996, allocations: 26.2 kB / 424.2 MB, free: 96.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000498/1, allocations: 0.5654 MB / 424.7 MB, free: 96.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/1, allocations: 161.1 kB / 424.9 MB, free: 96.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/1, allocations: 0.5312 kB / 424.9 MB, free: 96.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/1.001, allocations: 385.8 kB / 425.3 MB, free: 96.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/1.001, allocations: 136.8 kB / 425.4 MB, free: 96.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005858/1.002, allocations: 422.7 kB / 425.8 MB, free: 95.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/1.002, allocations: 217.5 kB / 426 MB, free: 95.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.002, allocations: 2.938 kB / 426 MB, free: 95.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001752/1.004, allocations: 0.6684 MB / 426.7 MB, free: 95.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/1.004, allocations: 10.81 kB / 426.7 MB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.004, allocations: 8.906 kB / 426.7 MB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/1.004, allocations: 92.25 kB / 426.8 MB, free: 95.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.005, allocations: 160.9 kB / 427 MB, free: 95.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/1.008, allocations: 2.873 MB / 429.8 MB, free: 93.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.009, allocations: 30.94 kB / 429.9 MB, free: 93.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/1.009, allocations: 35.59 kB / 429.9 MB, free: 93.4 MB / 362.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 (85): * Single equations (assignments): 83 * 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.000182/1.01, allocations: 129.2 kB / 430 MB, free: 93.3 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001138/1.011, allocations: 427.2 kB / 430.4 MB, free: 93.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/1.011, allocations: 81.59 kB / 430.5 MB, free: 93.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/1.012, allocations: 443.8 kB / 431 MB, free: 93.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/1.012, allocations: 5.719 kB / 431 MB, free: 93.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.012, allocations: 1.438 kB / 431 MB, free: 93.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.012, allocations: 7.234 kB / 431 MB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/1.015, allocations: 1.265 MB / 432.2 MB, free: 92.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.015, allocations: 9.516 kB / 432.2 MB, free: 92.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/1.016, allocations: 71.56 kB / 432.3 MB, free: 92.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/1.016, allocations: 84.84 kB / 432.4 MB, free: 92.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/1.016, allocations: 5.312 kB / 432.4 MB, free: 92.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/1.019, allocations: 2.868 MB / 435.3 MB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.019, allocations: 3.188 kB / 435.3 MB, free: 90.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/1.02, allocations: 0.801 MB / 436.1 MB, free: 89.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/1.021, allocations: 190.4 kB / 436.3 MB, free: 89.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.021, allocations: 4.125 kB / 436.3 MB, free: 89.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.022, allocations: 25.2 kB / 436.3 MB, free: 89.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.022, allocations: 39.73 kB / 436.3 MB, free: 89.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/1.022, allocations: 14.03 kB / 436.3 MB, free: 89.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008369/1.023, allocations: 439.7 kB / 436.8 MB, free: 89.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.023, allocations: 0 / 436.8 MB, free: 89.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001477/1.024, allocations: 193.4 kB / 437 MB, free: 89.62 MB / 362.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 (39): * Single equations (assignments): 37 * 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.002446/1.027, allocations: 1.992 MB / 439 MB, free: 88.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/1.028, allocations: 0.6349 MB / 439.6 MB, free: 88.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.028, allocations: 0 / 439.6 MB, free: 88.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/1.029, allocations: 412.6 kB / 440 MB, free: 87.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.031, allocations: 176.6 kB / 440.2 MB, free: 87.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/1.035, allocations: 1.365 MB / 441.5 MB, free: 87.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/1.036, allocations: 1.028 MB / 442.6 MB, free: 86.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006996/1.036, allocations: 94.27 kB / 442.7 MB, free: 86.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/1.037, allocations: 373.7 kB / 443 MB, free: 86.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.037, allocations: 4 kB / 443 MB, free: 86.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/1.11, allocations: 16.27 MB / 459.3 MB, free: 85.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.11, allocations: 148.8 kB / 459.4 MB, free: 85.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/4.304, allocations: 0 / 459.4 MB, free: 85.12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat