Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.719/1.719, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.693e-05, allocations: 7.984 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 38.76 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.4423, allocations: 88.8 MB / 352.7 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.4427, allocations: 79.95 kB / 352.8 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3714/0.8141, allocations: 28.69 MB / 381.4 MB, free: 84.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8141, allocations: 0 / 381.4 MB, free: 84.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.22e-05/0.8142, allocations: 25.88 kB / 381.5 MB, free: 84.77 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003168/0.8174, allocations: 1.139 MB / 382.6 MB, free: 84.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.8175, allocations: 10.75 kB / 382.6 MB, free: 84.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003887/0.8179, allocations: 148.2 kB / 382.8 MB, free: 84.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.819, allocations: 193.7 kB / 383 MB, free: 83.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/0.8217, allocations: 0.802 MB / 383.8 MB, free: 83.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.8218, allocations: 75.09 kB / 383.8 MB, free: 83.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.8221, allocations: 99.03 kB / 383.9 MB, free: 83.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.8245, allocations: 0.8849 MB / 384.8 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.696e-05/0.8246, allocations: 3.531 kB / 384.8 MB, free: 83.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.8248, allocations: 46.22 kB / 384.9 MB, free: 82.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.8248, allocations: 21.16 kB / 384.9 MB, free: 82.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.8266, allocations: 0.5851 MB / 385.5 MB, free: 82.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008424/0.8351, allocations: 3.958 MB / 389.4 MB, free: 80.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.8361, allocations: 439.2 kB / 389.9 MB, free: 79.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.8369, allocations: 249.6 kB / 390.1 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.837, allocations: 3.844 kB / 390.1 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.837, allocations: 45.12 kB / 390.1 MB, free: 79.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.646e-06/0.837, allocations: 3.938 kB / 390.1 MB, free: 79.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003579/0.8406, allocations: 1.221 MB / 391.4 MB, free: 79.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8407, allocations: 88.05 kB / 391.5 MB, free: 78.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.8422, allocations: 0.7069 MB / 392.2 MB, free: 78.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.8424, allocations: 33.7 kB / 392.2 MB, free: 78.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.8428, allocations: 0.5641 MB / 392.8 MB, free: 77.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.843, allocations: 169.5 kB / 392.9 MB, free: 77.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.8431, allocations: 16 kB / 392.9 MB, free: 77.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.153e-05/0.8432, allocations: 332.3 kB / 393.3 MB, free: 77.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.8436, allocations: 157.6 kB / 393.4 MB, free: 77.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.8442, allocations: 445.4 kB / 393.9 MB, free: 76.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.8447, allocations: 234.1 kB / 394.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.8448, allocations: 4 kB / 394.1 MB, free: 76.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001874/0.8466, allocations: 0.7428 MB / 394.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.8467, allocations: 12 kB / 394.8 MB, free: 75.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.8467, allocations: 12.03 kB / 394.9 MB, free: 75.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.8472, allocations: 98.78 kB / 394.9 MB, free: 75.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.8483, allocations: 163.9 kB / 395.1 MB, free: 75.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.8513, allocations: 2.991 MB / 398.1 MB, free: 72.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.8525, allocations: 39.05 kB / 398.1 MB, free: 72.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.8527, allocations: 32 kB / 398.2 MB, free: 72.37 MB / 314.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.0002082/0.8529, allocations: 148.7 kB / 398.3 MB, free: 72.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.8532, allocations: 98.64 kB / 398.4 MB, free: 72.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.8546, allocations: 0.499 MB / 398.9 MB, free: 71.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8546, allocations: 4 kB / 398.9 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8547, allocations: 4 kB / 398.9 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8547, allocations: 3.938 kB / 398.9 MB, free: 71.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.8581, allocations: 1.449 MB / 400.4 MB, free: 70.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.8582, allocations: 0 / 400.4 MB, free: 70.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/0.8588, allocations: 81.31 kB / 400.4 MB, free: 70.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.8593, allocations: 91.91 kB / 400.5 MB, free: 70.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.8593, allocations: 12 kB / 400.5 MB, free: 70.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.8621, allocations: 2.973 MB / 403.5 MB, free: 67.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8622, allocations: 0 / 403.5 MB, free: 67.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.864, allocations: 0.8736 MB / 404.4 MB, free: 66.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.8646, allocations: 201.9 kB / 404.6 MB, free: 65.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.8648, allocations: 15.52 kB / 404.6 MB, free: 65.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008776/0.8657, allocations: 27.61 kB / 404.6 MB, free: 65.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.8659, allocations: 49.56 kB / 404.7 MB, free: 65.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.8659, allocations: 16 kB / 404.7 MB, free: 65.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.867, allocations: 0.537 MB / 405.2 MB, free: 65.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.8671, allocations: 0 / 405.2 MB, free: 65.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001653/0.8687, allocations: 247.6 kB / 405.5 MB, free: 65.12 MB / 314.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.002519/0.8713, allocations: 2.08 MB / 407.6 MB, free: 63.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.8729, allocations: 0.6548 MB / 408.2 MB, free: 62.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.8729, allocations: 0 / 408.2 MB, free: 62.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008861/0.8738, allocations: 432.5 kB / 408.6 MB, free: 61.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/0.8757, allocations: 216.7 kB / 408.8 MB, free: 61.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.8805, allocations: 1.447 MB / 410.3 MB, free: 60.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.8811, allocations: 1.036 MB / 411.3 MB, free: 59.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008263/0.882, allocations: 111.4 kB / 411.4 MB, free: 59.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/0.8827, allocations: 387.3 kB / 411.8 MB, free: 58.8 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8827, allocations: 0 / 411.8 MB, free: 58.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0834/0.9661, allocations: 20.9 MB / 432.7 MB, free: 37.93 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.003072/0.9693, allocations: 190.4 kB / 432.9 MB, free: 37.71 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.586/4.555, allocations: 0 / 432.9 MB, free: 37.71 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat