Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.602e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 44.49 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.4724, allocations: 93.23 MB / 387.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004916/0.4729, allocations: 95.86 kB / 387.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2021/0.6751, allocations: 28.14 MB / 415.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6751, allocations: 0 / 415.7 MB, free: 8.168 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.91e-05/0.6753, allocations: 24 kB / 415.7 MB, free: 8.145 MB / 362.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.003268/0.6785, allocations: 1.137 MB / 416.9 MB, free: 6.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6786, allocations: 8.031 kB / 416.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.6798, allocations: 194.3 kB / 417.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.6823, allocations: 0.8017 MB / 417.9 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.6824, allocations: 32 kB / 417.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.6826, allocations: 59.98 kB / 417.9 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001785/0.6844, allocations: 0.5429 MB / 418.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.6866, allocations: 0.7591 MB / 419.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.6867, allocations: 3.906 kB / 419.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6868, allocations: 3.938 kB / 419.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.6868, allocations: 28 kB / 419.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008806/0.6956, allocations: 3.761 MB / 423 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.6966, allocations: 416.5 kB / 423.5 MB, free: 64 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2437/0.9403, allocations: 234.2 kB / 423.7 MB, free: 96.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.9405, allocations: 5.141 kB / 423.7 MB, free: 96.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.9405, allocations: 39.22 kB / 423.7 MB, free: 96.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.838e-06/0.9405, allocations: 0 / 423.7 MB, free: 96.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.004674/0.9452, allocations: 1.135 MB / 424.9 MB, free: 96.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.9453, allocations: 83.69 kB / 424.9 MB, free: 96.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.9478, allocations: 0.5923 MB / 425.5 MB, free: 96.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.948, allocations: 26.73 kB / 425.6 MB, free: 96.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009578/0.949, allocations: 0.577 MB / 426.1 MB, free: 96.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.9494, allocations: 165.5 kB / 426.3 MB, free: 96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-05/0.9495, allocations: 0 / 426.3 MB, free: 96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.9498, allocations: 389.1 kB / 426.7 MB, free: 95.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.9505, allocations: 142.2 kB / 426.8 MB, free: 95.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/0.9514, allocations: 423.4 kB / 427.2 MB, free: 95.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007638/0.9522, allocations: 225.2 kB / 427.5 MB, free: 95.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.9522, allocations: 2.781 kB / 427.5 MB, free: 95.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003008/0.9552, allocations: 0.6771 MB / 428.1 MB, free: 95.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.9553, allocations: 11.72 kB / 428.1 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.9554, allocations: 10.94 kB / 428.2 MB, free: 95.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.9558, allocations: 91.73 kB / 428.2 MB, free: 95.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.9569, allocations: 160.3 kB / 428.4 MB, free: 95.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.9598, allocations: 2.878 MB / 431.3 MB, free: 92.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.961, allocations: 27.59 kB / 431.3 MB, free: 92.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.524e-05/0.9611, allocations: 39.66 kB / 431.3 MB, free: 92.74 MB / 362.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.0001936/0.9613, allocations: 135.8 kB / 431.5 MB, free: 92.63 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001258/0.9626, allocations: 437.9 kB / 431.9 MB, free: 92.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.9628, allocations: 89.47 kB / 432 MB, free: 92.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.9641, allocations: 458 kB / 432.4 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.9641, allocations: 3.562 kB / 432.4 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9641, allocations: 5.344 kB / 432.4 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.9642, allocations: 6.75 kB / 432.5 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.9672, allocations: 1.283 MB / 433.7 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.9672, allocations: 2.094 kB / 433.7 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.9679, allocations: 78.42 kB / 433.8 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.9683, allocations: 82.98 kB / 433.9 MB, free: 92.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.9684, allocations: 6.875 kB / 433.9 MB, free: 92.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.9712, allocations: 2.87 MB / 436.8 MB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.9713, allocations: 2.844 kB / 436.8 MB, free: 89.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.9731, allocations: 0.8232 MB / 437.6 MB, free: 89.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.9736, allocations: 191.9 kB / 437.8 MB, free: 89.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.9738, allocations: 4.375 kB / 437.8 MB, free: 89.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.9746, allocations: 31.75 kB / 437.8 MB, free: 89.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.9747, allocations: 34.3 kB / 437.9 MB, free: 89.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.9748, allocations: 15.88 kB / 437.9 MB, free: 89.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009114/0.9757, allocations: 452.1 kB / 438.3 MB, free: 88.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.9758, allocations: 3.125 kB / 438.3 MB, free: 88.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001623/0.9774, allocations: 199.1 kB / 438.5 MB, free: 88.96 MB / 362.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.002344/0.9798, allocations: 2.01 MB / 440.5 MB, free: 87.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.9813, allocations: 0.6472 MB / 441.2 MB, free: 87.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.9813, allocations: 0 / 441.2 MB, free: 87.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.9821, allocations: 427.6 kB / 441.6 MB, free: 87.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.9837, allocations: 176 kB / 441.8 MB, free: 87.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.9878, allocations: 1.38 MB / 443.1 MB, free: 86.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.9884, allocations: 1.038 MB / 444.2 MB, free: 85.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007296/0.9892, allocations: 100.9 kB / 444.3 MB, free: 85.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.9898, allocations: 388.8 kB / 444.7 MB, free: 85.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9898, allocations: 0 / 444.7 MB, free: 85.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06584/1.056, allocations: 16.63 MB / 461.3 MB, free: 84.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/1.056, allocations: 159.9 kB / 461.4 MB, free: 84.11 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/4.135, allocations: 0 / 461.4 MB, free: 84.11 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_SinglePhase_res.mat does not exist to compare? outputFormat=mat