Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.445e-05/3.452e-05, allocations: 7.797 kB / 292.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 50.4 MB / 342.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.5898, allocations: 94.59 MB / 437.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5902, allocations: 84.02 kB / 437.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1059/0.6961, allocations: 23.06 MB / 460.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6961, allocations: 4 kB / 460.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.69e-05/0.6962, allocations: 19.98 kB / 460.4 MB, free: 11.99 MB / 378.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.002862/0.6991, allocations: 0.9673 MB / 461.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.6992, allocations: 8.031 kB / 461.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003857/0.6996, allocations: 132.5 kB / 461.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.7005, allocations: 139.4 kB / 461.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.7027, allocations: 0.6816 MB / 462.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.7029, allocations: 61.19 kB / 462.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.7031, allocations: 91 kB / 462.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.7053, allocations: 0.7217 MB / 463.2 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.739e-05/0.7054, allocations: 7.844 kB / 463.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.7055, allocations: 31.69 kB / 463.2 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.7055, allocations: 24 kB / 463.3 MB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.7072, allocations: 469.2 kB / 463.7 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00765/0.7148, allocations: 3.453 MB / 467.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.7156, allocations: 210.6 kB / 467.4 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.7159, allocations: 96.8 kB / 467.5 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.7159, allocations: 4.438 kB / 467.5 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.716, allocations: 34.56 kB / 467.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.126e-06/0.716, allocations: 4 kB / 467.5 MB, free: 5.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002296/0.7183, allocations: 0.8106 MB / 468.3 MB, free: 4.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.7184, allocations: 85.34 kB / 468.4 MB, free: 4.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.7198, allocations: 0.6131 MB / 469 MB, free: 3.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/0.7199, allocations: 29.7 kB / 469 MB, free: 3.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.7204, allocations: 0.502 MB / 469.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.7206, allocations: 98.64 kB / 469.6 MB, free: 3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.7206, allocations: 12 kB / 469.7 MB, free: 2.988 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.7208, allocations: 382.8 kB / 470 MB, free: 2.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.7212, allocations: 101.6 kB / 470.1 MB, free: 2.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.7219, allocations: 402 kB / 470.5 MB, free: 1.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.7224, allocations: 172.3 kB / 470.7 MB, free: 1.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.7224, allocations: 8 kB / 470.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001557/0.724, allocations: 0.5487 MB / 471.2 MB, free: 1.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.7241, allocations: 8 kB / 471.3 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.7241, allocations: 20.03 kB / 471.3 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.7243, allocations: 36.84 kB / 471.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/0.7253, allocations: 143.7 kB / 471.5 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.7267, allocations: 1.292 MB / 472.7 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/0.7277, allocations: 43.89 kB / 472.8 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7278, allocations: 28 kB / 472.8 MB, free: 15.54 MB / 394.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.000191/0.728, allocations: 144.9 kB / 473 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.7283, allocations: 75.14 kB / 473 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008944/0.7292, allocations: 285.5 kB / 473.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.7292, allocations: 0 / 473.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.7292, allocations: 7.984 kB / 473.3 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.7293, allocations: 0 / 473.3 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.7319, allocations: 1.042 MB / 474.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.732, allocations: 7.953 kB / 474.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.7325, allocations: 64.12 kB / 474.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.7327, allocations: 24.84 kB / 474.5 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.7328, allocations: 8 kB / 474.5 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.734, allocations: 1.264 MB / 475.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.734, allocations: 8.016 kB / 475.7 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.7353, allocations: 0.5944 MB / 476.3 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.7358, allocations: 164.2 kB / 476.5 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.736, allocations: 12 kB / 476.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/0.7366, allocations: 19.98 kB / 476.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.7368, allocations: 35.86 kB / 476.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.7368, allocations: 12 kB / 476.6 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.7379, allocations: 475.2 kB / 477 MB, free: 10.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7379, allocations: 0 / 477 MB, free: 10.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001288/0.7392, allocations: 188 kB / 477.2 MB, free: 10.81 MB / 394.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.002163/0.7414, allocations: 1.795 MB / 479 MB, free: 8.945 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.7427, allocations: 399.8 kB / 479.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.7427, allocations: 0 / 479.4 MB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.7433, allocations: 213.6 kB / 479.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.7448, allocations: 167.5 kB / 479.8 MB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.7489, allocations: 1.154 MB / 480.9 MB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.7497, allocations: 0.9569 MB / 481.9 MB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000701/0.7504, allocations: 90.03 kB / 482 MB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006088/0.751, allocations: 303.3 kB / 482.3 MB, free: 5.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7511, allocations: 0 / 482.3 MB, free: 5.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05876/0.8098, allocations: 16.88 MB / 499.1 MB, free: 4.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.8102, allocations: 189.1 kB / 499.3 MB, free: 4.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.816, allocations: 0 / 499.3 MB, free: 4.68 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat