Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DC_CompareCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.936e-05, allocations: 5.562 kB / 292.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 50.42 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.593, allocations: 111.9 MB / 454.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5933, allocations: 78.89 kB / 454.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2939/0.8872, allocations: 70.73 MB / 0.5131 GB, free: 11.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8873, allocations: 4 kB / 0.5131 GB, free: 11.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000249/0.8876, allocations: 60 kB / 0.5131 GB, free: 11.35 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.008089/0.8957, allocations: 2.412 MB / 0.5155 GB, free: 8.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.8957, allocations: 8.031 kB / 0.5155 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001115/0.8969, allocations: 363 kB / 0.5158 GB, free: 8.508 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002761/0.8997, allocations: 479.7 kB / 0.5163 GB, free: 8.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/0.9064, allocations: 1.876 MB / 0.5181 GB, free: 6.105 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.9066, allocations: 193.2 kB / 0.5183 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006189/0.9073, allocations: 259.9 kB / 0.5186 GB, free: 5.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.9141, allocations: 2.339 MB / 0.5208 GB, free: 3.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/0.9143, allocations: 11.89 kB / 0.5208 GB, free: 3.188 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003549/0.9147, allocations: 108 kB / 0.521 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.9147, allocations: 64 kB / 0.521 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005109/0.9199, allocations: 1.513 MB / 0.5225 GB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.256, allocations: 10.72 MB / 0.533 GB, free: 97.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/1.258, allocations: 0.9251 MB / 0.5339 GB, free: 97.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/1.258, allocations: 344.1 kB / 0.5342 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.126e-05/1.259, allocations: 12.8 kB / 0.5342 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.259, allocations: 46.95 kB / 0.5343 GB, free: 97.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=83): time 3.897e-06/1.259, allocations: 0 / 0.5343 GB, free: 97.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.006332/1.265, allocations: 2.24 MB / 0.5364 GB, free: 96.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.265, allocations: 171.7 kB / 0.5366 GB, free: 96.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/1.27, allocations: 1.811 MB / 0.5384 GB, free: 95.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/1.27, allocations: 43.83 kB / 0.5384 GB, free: 95.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/1.271, allocations: 1.474 MB / 0.5399 GB, free: 95.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/1.272, allocations: 338.8 kB / 0.5402 GB, free: 95.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.272, allocations: 35.81 kB / 0.5402 GB, free: 95.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/1.272, allocations: 376.8 kB / 0.5406 GB, free: 94.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009266/1.273, allocations: 331.8 kB / 0.5409 GB, free: 94.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.274, allocations: 1.198 MB / 0.5421 GB, free: 93.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.276, allocations: 0.557 MB / 0.5426 GB, free: 93.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.597e-05/1.276, allocations: 9.562 kB / 0.5426 GB, free: 93.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004978/1.281, allocations: 1.71 MB / 0.5443 GB, free: 93.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002671/1.284, allocations: 12.47 MB / 0.5565 GB, free: 80.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/1.284, allocations: 31.19 kB / 0.5565 GB, free: 80.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.285, allocations: 169.2 kB / 0.5567 GB, free: 80.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/1.288, allocations: 424.1 kB / 0.5571 GB, free: 80.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/1.292, allocations: 5.53 MB / 0.5625 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/1.295, allocations: 102.9 kB / 0.5626 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/1.296, allocations: 97.14 kB / 0.5626 GB, free: 75.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.296, allocations: 3.594 kB / 0.5627 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004037/1.3, allocations: 1.477 MB / 0.5641 GB, free: 74.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.527e-05/1.3, allocations: 31.91 kB / 0.5641 GB, free: 74.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007491/1.301, allocations: 170.4 kB / 0.5643 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/1.303, allocations: 411.3 kB / 0.5647 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/1.307, allocations: 5.538 MB / 0.5701 GB, free: 69.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/1.31, allocations: 82.77 kB / 0.5702 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/1.31, allocations: 101 kB / 0.5703 GB, free: 69.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 222 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005499/1.311, allocations: 231.6 kB / 0.5705 GB, free: 69.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/1.312, allocations: 229.8 kB / 0.5707 GB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/1.314, allocations: 0.8803 MB / 0.5716 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.314, allocations: 7.812 kB / 0.5716 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.314, allocations: 3.906 kB / 0.5716 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.314, allocations: 3.656 kB / 0.5716 GB, free: 69.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009615/1.324, allocations: 3.042 MB / 0.5745 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.324, allocations: 3.875 kB / 0.5745 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/1.326, allocations: 168.3 kB / 0.5747 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/1.327, allocations: 137.5 kB / 0.5748 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.327, allocations: 23.5 kB / 0.5749 GB, free: 68.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006035/1.333, allocations: 5.353 MB / 0.5801 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.358e-05/1.333, allocations: 5.844 kB / 0.5801 GB, free: 63.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/1.338, allocations: 1.891 MB / 0.5819 GB, free: 62.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/1.34, allocations: 372.5 kB / 0.5823 GB, free: 62.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009387/1.341, allocations: 24.98 kB / 0.5823 GB, free: 62.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.344, allocations: 64.45 kB / 0.5824 GB, free: 62.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/1.345, allocations: 81.47 kB / 0.5825 GB, free: 62.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.345, allocations: 35 kB / 0.5825 GB, free: 62.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004911/1.35, allocations: 1.334 MB / 0.5838 GB, free: 62.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.233e-06/1.35, allocations: 3.25 kB / 0.5838 GB, free: 62.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008661/1.358, allocations: 0.9986 MB / 0.5848 GB, free: 62.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcse.inertiaRotor.phi,dcse.inertiaRotor.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006771/1.365, allocations: 4.335 MB / 0.589 GB, free: 58.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007173/1.372, allocations: 2.566 MB / 0.5915 GB, free: 57.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.372, allocations: 7.938 kB / 0.5915 GB, free: 57.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.374, allocations: 0.7619 MB / 0.5923 GB, free: 57.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/1.379, allocations: 0.5508 MB / 0.5928 GB, free: 57.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.39, allocations: 3.559 MB / 0.5963 GB, free: 55.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.392, allocations: 1.626 MB / 0.5979 GB, free: 55.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003494/1.395, allocations: 406.8 kB / 0.5983 GB, free: 55.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.397, allocations: 1.028 MB / 0.5993 GB, free: 54.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.397, allocations: 4 kB / 0.5993 GB, free: 54.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.526, allocations: 54.13 MB / 0.6521 GB, free: 28.18 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002368/1.526, allocations: 201.2 kB / 0.6523 GB, free: 27.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.961/6.487, allocations: 0 / 0.6523 GB, free: 27.95 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat does not exist to compare? outputFormat=mat