Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.434e-05, allocations: 12.2 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.41 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.5789, allocations: 99.7 MB / 442.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5793, allocations: 82.12 kB / 442.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.7003, allocations: 28.73 MB / 471.2 MB, free: 2.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7003, allocations: 4 kB / 471.2 MB, free: 2.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.422e-05/0.7004, allocations: 27.94 kB / 471.2 MB, free: 2.012 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002873/0.7033, allocations: 1.13 MB / 472.3 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7034, allocations: 12.03 kB / 472.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/0.7037, allocations: 152.2 kB / 472.5 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7047, allocations: 186.3 kB / 472.7 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.7071, allocations: 0.8165 MB / 473.5 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.7073, allocations: 74 kB / 473.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.7075, allocations: 96 kB / 473.7 MB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.7099, allocations: 0.8841 MB / 474.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/0.71, allocations: 11.84 kB / 474.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.7101, allocations: 47.95 kB / 474.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/0.7102, allocations: 24 kB / 474.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.712, allocations: 0.578 MB / 475.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008547/0.7205, allocations: 3.939 MB / 479.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009725/0.7216, allocations: 448.4 kB / 479.6 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007786/0.7224, allocations: 250.6 kB / 479.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.7224, allocations: 4 kB / 479.8 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.7225, allocations: 34.56 kB / 479.9 MB, free: 8.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.506e-06/0.7225, allocations: 7.938 kB / 479.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003265/0.7258, allocations: 1.221 MB / 481.1 MB, free: 7.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.7258, allocations: 85.53 kB / 481.2 MB, free: 7.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.7273, allocations: 0.6958 MB / 481.9 MB, free: 6.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.037e-05/0.7274, allocations: 37.7 kB / 481.9 MB, free: 6.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/0.728, allocations: 0.5604 MB / 482.5 MB, free: 6.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.7282, allocations: 173.6 kB / 482.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.7283, allocations: 16 kB / 482.6 MB, free: 6.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7285, allocations: 334 kB / 483 MB, free: 5.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.7289, allocations: 157.6 kB / 483.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.7297, allocations: 440.4 kB / 483.6 MB, free: 5.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00061/0.7303, allocations: 237.5 kB / 483.8 MB, free: 4.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7303, allocations: 7.953 kB / 483.8 MB, free: 4.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001973/0.7323, allocations: 0.7429 MB / 484.5 MB, free: 4.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.7323, allocations: 12 kB / 484.6 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.7324, allocations: 8 kB / 484.6 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.7328, allocations: 102 kB / 484.7 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.7339, allocations: 159.7 kB / 484.8 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.7375, allocations: 2.986 MB / 487.8 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.7386, allocations: 43.95 kB / 487.8 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.7387, allocations: 36 kB / 487.9 MB, free: 432 kB / 394.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 (86): * 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: 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.0002129/0.7389, allocations: 152.7 kB / 488 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.7391, allocations: 90.91 kB / 488.1 MB, free: 180 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.7406, allocations: 0.4986 MB / 488.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7406, allocations: 4 kB / 488.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.7406, allocations: 4 kB / 488.6 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.7406, allocations: 3.938 kB / 488.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.7439, allocations: 1.451 MB / 490.1 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.744, allocations: 3.953 kB / 490.1 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.7447, allocations: 83.89 kB / 490.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003943/0.7451, allocations: 89.77 kB / 490.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.7451, allocations: 8 kB / 490.3 MB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/0.7486, allocations: 2.97 MB / 493.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7487, allocations: 0 / 493.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.7506, allocations: 0.8716 MB / 494.1 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.7511, allocations: 200.1 kB / 494.3 MB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.7513, allocations: 11.98 kB / 494.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.7521, allocations: 35.98 kB / 494.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7522, allocations: 47.56 kB / 494.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.7523, allocations: 19.98 kB / 494.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.7535, allocations: 0.5265 MB / 494.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7535, allocations: 0 / 494.9 MB, free: 8.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001388/0.7549, allocations: 252 kB / 495.2 MB, free: 8.621 MB / 410.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 (40): * Single equations (assignments): 38 * 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.002905/0.7578, allocations: 2.1 MB / 497.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.7595, allocations: 0.6602 MB / 497.9 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7595, allocations: 2 kB / 497.9 MB, free: 5.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009393/0.7605, allocations: 427.7 kB / 498.4 MB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.7622, allocations: 211.2 kB / 498.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.767, allocations: 1.448 MB / 0.4883 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008503/0.7679, allocations: 1.036 MB / 0.4893 GB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008025/0.7687, allocations: 107.4 kB / 0.4894 GB, free: 2.438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007866/0.7695, allocations: 387.3 kB / 0.4898 GB, free: 2.062 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.7695, allocations: 0 / 0.4898 GB, free: 2.062 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09115/0.8607, allocations: 20.9 MB / 0.5102 GB, free: 13.42 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003029/0.8611, allocations: 191.6 kB / 0.5104 GB, free: 13.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.166/4.027, allocations: 0 / 0.5104 GB, free: 13.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat