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 1.865/1.865, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.114e-05, allocations: 7.984 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09785, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.5743, allocations: 93.11 MB / 393.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5747, allocations: 78.56 kB / 393.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.6939, allocations: 28.08 MB / 421.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6939, allocations: 0 / 421.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.585e-05/0.694, allocations: 28.14 kB / 421.3 MB, free: 3.328 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002528/0.6965, allocations: 1.105 MB / 422.4 MB, free: 2.559 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6966, allocations: 11.61 kB / 422.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.6969, allocations: 152.4 kB / 422.5 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009774/0.6979, allocations: 190.6 kB / 422.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.7001, allocations: 0.7929 MB / 423.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.7003, allocations: 72.31 kB / 423.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.7005, allocations: 104.5 kB / 423.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.7027, allocations: 0.8879 MB / 424.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.7028, allocations: 7 kB / 424.6 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.7029, allocations: 43.44 kB / 424.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.7029, allocations: 22.91 kB / 424.6 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.7045, allocations: 0.5883 MB / 425.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00783/0.7124, allocations: 3.919 MB / 429.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.7133, allocations: 428 kB / 429.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.7141, allocations: 248.4 kB / 429.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.7141, allocations: 11.91 kB / 429.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.7142, allocations: 41.64 kB / 429.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 2.855e-06/0.7142, allocations: 0 / 429.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.003544/0.7178, allocations: 1.203 MB / 431.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.7179, allocations: 81.39 kB / 431.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.7193, allocations: 0.6875 MB / 431.8 MB, free: 14.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.7195, allocations: 32.48 kB / 431.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000517/0.72, allocations: 0.5538 MB / 432.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.7203, allocations: 164.5 kB / 432.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.7203, allocations: 16.12 kB / 432.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7205, allocations: 338.6 kB / 432.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.7209, allocations: 151.3 kB / 433.1 MB, free: 13.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.7216, allocations: 442.8 kB / 433.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.7222, allocations: 237.5 kB / 433.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7222, allocations: 0 / 433.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001996/0.7242, allocations: 0.7594 MB / 434.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7243, allocations: 11.69 kB / 434.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.7243, allocations: 7.75 kB / 434.5 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004668/0.7248, allocations: 101.5 kB / 434.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009998/0.7258, allocations: 159.8 kB / 434.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.7298, allocations: 2.995 MB / 437.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.731, allocations: 28.78 kB / 437.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.617e-05/0.7311, allocations: 43.05 kB / 437.8 MB, free: 9.711 MB / 330.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.0002279/0.7313, allocations: 153.4 kB / 438 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.7316, allocations: 90.92 kB / 438.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.7331, allocations: 495.1 kB / 438.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.7331, allocations: 4 kB / 438.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7331, allocations: 0 / 438.6 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7331, allocations: 7.984 kB / 438.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003709/0.7369, allocations: 1.412 MB / 440 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.7369, allocations: 4 kB / 440 MB, free: 8.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.7376, allocations: 83.73 kB / 440.1 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/0.738, allocations: 87.33 kB / 440.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.7381, allocations: 7.688 kB / 440.2 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003672/0.7418, allocations: 2.97 MB / 443.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.7418, allocations: 4 kB / 443.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.7439, allocations: 0.8523 MB / 444 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.7445, allocations: 200 kB / 444.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.7447, allocations: 13.62 kB / 444.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/0.7455, allocations: 26.36 kB / 444.2 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7457, allocations: 42.52 kB / 444.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.7457, allocations: 19.36 kB / 444.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.7469, allocations: 0.5233 MB / 444.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7469, allocations: 0 / 444.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001538/0.7485, allocations: 242.4 kB / 445 MB, free: 3.285 MB / 330.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.003102/0.7516, allocations: 2.088 MB / 447.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.7534, allocations: 0.6767 MB / 447.8 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.7535, allocations: 0 / 447.8 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.7546, allocations: 447.3 kB / 448.2 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.7566, allocations: 207.2 kB / 448.4 MB, free: 92 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.7618, allocations: 1.417 MB / 449.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/0.7627, allocations: 1.028 MB / 450.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008209/0.7636, allocations: 107.3 kB / 451 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007149/0.7643, allocations: 375.3 kB / 451.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of SimCode: time 5.55e-06/0.7644, allocations: 4 kB / 451.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06907/0.8334, allocations: 20.66 MB / 472 MB, free: 8.461 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/0.8339, allocations: 185.7 kB / 472.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/4.216, allocations: 0 / 472.2 MB, free: 8.23 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