Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.653e-05, allocations: 7.984 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2981, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4748, allocations: 92.02 MB / 386.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.4751, allocations: 79.95 kB / 386.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1105/0.5856, allocations: 25.78 MB / 412.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5857, allocations: 0 / 412.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.695e-05/0.5858, allocations: 24 kB / 412.1 MB, free: 11.75 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.004381/0.5902, allocations: 1.095 MB / 413.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/0.5903, allocations: 12.02 kB / 413.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5917, allocations: 182.3 kB / 413.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.5951, allocations: 0.7652 MB / 414.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.5953, allocations: 28 kB / 414.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.5956, allocations: 60 kB / 414.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002405/0.598, allocations: 0.5194 MB / 414.8 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.6008, allocations: 0.7318 MB / 415.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.6009, allocations: 7.922 kB / 415.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.6011, allocations: 0 / 415.5 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.6012, allocations: 24 kB / 415.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.6125, allocations: 3.77 MB / 419.3 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.6135, allocations: 312.2 kB / 419.6 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.6139, allocations: 121.4 kB / 419.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.614, allocations: 8.219 kB / 419.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.6141, allocations: 38.84 kB / 419.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 5.42e-06/0.6141, allocations: 0 / 419.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003288/0.6174, allocations: 0.8783 MB / 420.7 MB, free: 2.762 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.6175, allocations: 81.11 kB / 420.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.6193, allocations: 0.574 MB / 421.3 MB, free: 2.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.6194, allocations: 25.7 kB / 421.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/0.6202, allocations: 0.5716 MB / 421.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.6204, allocations: 134.1 kB / 422.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.6205, allocations: 0 / 422.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003401/0.6209, allocations: 378.8 kB / 422.4 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6214, allocations: 113.6 kB / 422.5 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.6222, allocations: 420.3 kB / 422.9 MB, free: 304 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.6229, allocations: 187.6 kB / 423.1 MB, free: 116 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.6229, allocations: 4 kB / 423.1 MB, free: 112 kB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.3004/0.9233, allocations: 0.5474 MB / 423.7 MB, free: 96.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.9234, allocations: 10.64 kB / 423.7 MB, free: 96.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.9234, allocations: 10.38 kB / 423.7 MB, free: 96.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.9237, allocations: 37.88 kB / 423.7 MB, free: 96.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9248, allocations: 162.9 kB / 423.9 MB, free: 96.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.926, allocations: 1.237 MB / 425.1 MB, free: 95.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/0.927, allocations: 27.86 kB / 425.2 MB, free: 95.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.9271, allocations: 33.41 kB / 425.2 MB, free: 95.54 MB / 362.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.0001687/0.9272, allocations: 135.6 kB / 425.3 MB, free: 95.43 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007296/0.928, allocations: 306.7 kB / 425.6 MB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.9281, allocations: 75.72 kB / 425.7 MB, free: 95.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/0.929, allocations: 309.6 kB / 426 MB, free: 95.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.929, allocations: 3.938 kB / 426 MB, free: 95.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.929, allocations: 4.031 kB / 426 MB, free: 95.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.929, allocations: 7.75 kB / 426 MB, free: 95.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.9313, allocations: 1.057 MB / 427.1 MB, free: 94.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.9313, allocations: 2.938 kB / 427.1 MB, free: 94.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.932, allocations: 78.58 kB / 427.1 MB, free: 94.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.9321, allocations: 28.61 kB / 427.2 MB, free: 94.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.9322, allocations: 2.688 kB / 427.2 MB, free: 94.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/0.9331, allocations: 1.224 MB / 428.4 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9331, allocations: 3.594 kB / 428.4 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.9343, allocations: 0.6356 MB / 429 MB, free: 93.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.9347, allocations: 177.8 kB / 429.2 MB, free: 93.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.9348, allocations: 3.469 kB / 429.2 MB, free: 93.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.9355, allocations: 24.97 kB / 429.2 MB, free: 93.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.9356, allocations: 33.89 kB / 429.3 MB, free: 93.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.9356, allocations: 13.91 kB / 429.3 MB, free: 93.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00085/0.9365, allocations: 434.5 kB / 429.7 MB, free: 93.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9365, allocations: 1.625 kB / 429.7 MB, free: 93.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001297/0.9378, allocations: 175.4 kB / 429.9 MB, free: 93.22 MB / 362.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.00182/0.9397, allocations: 1.814 MB / 431.7 MB, free: 91.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.9409, allocations: 441.5 kB / 432.1 MB, free: 91.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.9409, allocations: 0 / 432.1 MB, free: 91.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004392/0.9413, allocations: 234.1 kB / 432.4 MB, free: 91.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.9428, allocations: 168.5 kB / 432.5 MB, free: 91.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.947, allocations: 1.357 MB / 433.9 MB, free: 91.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.9478, allocations: 1.016 MB / 434.9 MB, free: 90.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007432/0.9485, allocations: 97.88 kB / 435 MB, free: 90.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/0.9492, allocations: 359.9 kB / 435.3 MB, free: 90.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.9492, allocations: 0 / 435.3 MB, free: 90.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07817/1.027, allocations: 15.04 MB / 450.4 MB, free: 89.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.028, allocations: 152.9 kB / 450.5 MB, free: 89.16 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/4.079, allocations: 0 / 450.5 MB, free: 89.16 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat