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.903/1.903, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.934e-05, allocations: 0 / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3413, allocations: 38.77 MB / 263.9 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.4988, allocations: 88.8 MB / 352.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.4991, allocations: 75.95 kB / 352.7 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3404/0.8395, allocations: 28.68 MB / 381.4 MB, free: 84.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8396, allocations: 0 / 381.4 MB, free: 84.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.8397, allocations: 24.69 kB / 381.4 MB, free: 84.68 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.002631/0.8423, allocations: 1.136 MB / 382.6 MB, free: 84.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.8424, allocations: 9.906 kB / 382.6 MB, free: 84.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003199/0.8427, allocations: 152.5 kB / 382.7 MB, free: 83.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.8437, allocations: 192.8 kB / 382.9 MB, free: 83.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/0.846, allocations: 0.8052 MB / 383.7 MB, free: 83.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.8461, allocations: 74.41 kB / 383.8 MB, free: 83.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.8463, allocations: 98.59 kB / 383.9 MB, free: 83.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.8484, allocations: 0.9101 MB / 384.8 MB, free: 82.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.8485, allocations: 0 / 384.8 MB, free: 82.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.8487, allocations: 41.12 kB / 384.8 MB, free: 82.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.8487, allocations: 24.22 kB / 384.9 MB, free: 82.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.8503, allocations: 0.5982 MB / 385.5 MB, free: 82.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007441/0.8578, allocations: 3.938 MB / 389.4 MB, free: 80.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/0.8587, allocations: 448.4 kB / 389.8 MB, free: 79.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.8595, allocations: 254.1 kB / 390.1 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.8595, allocations: 11.77 kB / 390.1 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.8596, allocations: 43.19 kB / 390.1 MB, free: 79.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.927e-06/0.8596, allocations: 0 / 390.1 MB, free: 79.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003041/0.8626, allocations: 1.221 MB / 391.4 MB, free: 78.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.8627, allocations: 81.3 kB / 391.4 MB, free: 78.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.864, allocations: 0.7018 MB / 392.1 MB, free: 78.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.8641, allocations: 37.7 kB / 392.2 MB, free: 78.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.8645, allocations: 0.567 MB / 392.7 MB, free: 77.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.8646, allocations: 164.8 kB / 392.9 MB, free: 77.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.8647, allocations: 16 kB / 392.9 MB, free: 77.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.8648, allocations: 337.2 kB / 393.3 MB, free: 77.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.8652, allocations: 157.6 kB / 393.4 MB, free: 77.24 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005319/0.8657, allocations: 452.3 kB / 393.8 MB, free: 76.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.8663, allocations: 239.1 kB / 394.1 MB, free: 76.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.535e-06/0.8663, allocations: 4 kB / 394.1 MB, free: 76.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001815/0.8681, allocations: 0.7673 MB / 394.9 MB, free: 75.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.8682, allocations: 8 kB / 394.9 MB, free: 75.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.8682, allocations: 14.69 kB / 394.9 MB, free: 75.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.8687, allocations: 91.98 kB / 395 MB, free: 75.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009599/0.8696, allocations: 167.2 kB / 395.1 MB, free: 75.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002645/0.8723, allocations: 3.003 MB / 398.1 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.8734, allocations: 35.94 kB / 398.2 MB, free: 72.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.8735, allocations: 40.06 kB / 398.2 MB, free: 72.24 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.0001702/0.8737, allocations: 156.1 kB / 398.4 MB, free: 72.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.8738, allocations: 94.83 kB / 398.4 MB, free: 71.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.8751, allocations: 0.4943 MB / 398.9 MB, free: 71.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.8751, allocations: 4 kB / 398.9 MB, free: 71.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8752, allocations: 7.938 kB / 399 MB, free: 71.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8752, allocations: 3.797 kB / 399 MB, free: 71.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.8781, allocations: 1.451 MB / 400.4 MB, free: 70.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.8781, allocations: 4.219 kB / 400.4 MB, free: 70.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.8788, allocations: 81.55 kB / 400.5 MB, free: 70.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003872/0.8792, allocations: 83.22 kB / 400.6 MB, free: 70.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.8793, allocations: 12 kB / 400.6 MB, free: 70.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.8819, allocations: 2.984 MB / 403.6 MB, free: 66.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8819, allocations: 0 / 403.6 MB, free: 66.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.8837, allocations: 0.8742 MB / 404.4 MB, free: 66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.8842, allocations: 203.1 kB / 404.6 MB, free: 65.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.8844, allocations: 8 kB / 404.7 MB, free: 65.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.8851, allocations: 38.05 kB / 404.7 MB, free: 65.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.8853, allocations: 33.08 kB / 404.7 MB, free: 65.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.8853, allocations: 19.84 kB / 404.7 MB, free: 65.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001/0.8864, allocations: 0.5362 MB / 405.3 MB, free: 65.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8864, allocations: 0 / 405.3 MB, free: 65.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00145/0.8878, allocations: 244 kB / 405.5 MB, free: 64.99 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.002387/0.8903, allocations: 2.09 MB / 407.6 MB, free: 62.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.8917, allocations: 0.6809 MB / 408.3 MB, free: 62.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.8918, allocations: 0 / 408.3 MB, free: 62.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.8926, allocations: 453.6 kB / 408.7 MB, free: 61.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.8942, allocations: 200.2 kB / 408.9 MB, free: 61.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.8984, allocations: 1.464 MB / 410.4 MB, free: 60.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.8991, allocations: 1.036 MB / 411.4 MB, free: 59.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000789/0.8999, allocations: 111.4 kB / 411.5 MB, free: 58.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006275/0.9005, allocations: 383.3 kB / 411.9 MB, free: 58.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9005, allocations: 0 / 411.9 MB, free: 58.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.9576, allocations: 20.96 MB / 432.9 MB, free: 37.7 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.9579, allocations: 191.6 kB / 433.1 MB, free: 37.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.417/4.375, allocations: 3.938 kB / 433.1 MB, free: 37.46 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