Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Generator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.186e-05, allocations: 4 kB / 292.8 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.41 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/0.6079, allocations: 114.3 MB / 457.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.6082, allocations: 85.12 kB / 457.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6661/1.274, allocations: 83.25 MB / 0.5282 GB, free: 102 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.274, allocations: 0.5312 kB / 0.5282 GB, free: 102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003287/1.275, allocations: 70.91 kB / 0.5282 GB, free: 101.9 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01037/1.285, allocations: 2.633 MB / 0.5308 GB, free: 101 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.285, allocations: 13.47 kB / 0.5308 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001463/1.287, allocations: 358.4 kB / 0.5311 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.289, allocations: 420.2 kB / 0.5315 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/1.296, allocations: 1.841 MB / 0.5333 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/1.296, allocations: 187.1 kB / 0.5335 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009465/1.297, allocations: 258.1 kB / 0.5338 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009653/1.307, allocations: 3.109 MB / 0.5368 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/1.307, allocations: 9.625 kB / 0.5368 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/1.307, allocations: 108.9 kB / 0.5369 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/1.307, allocations: 109.4 kB / 0.537 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008121/1.315, allocations: 2.421 MB / 0.5394 GB, free: 99.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02746/1.343, allocations: 10.47 MB / 0.5496 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/1.346, allocations: 1.751 MB / 0.5513 GB, free: 96.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/1.348, allocations: 0.855 MB / 0.5522 GB, free: 96.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004636/1.349, allocations: 226.2 kB / 0.5524 GB, free: 96.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.349, allocations: 44.53 kB / 0.5524 GB, free: 96.48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 3.657e-06/1.349, allocations: 0 / 0.5524 GB, free: 96.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=144): time 0.0262/1.375, allocations: 6.938 MB / 0.5592 GB, free: 95.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.375, allocations: 73.27 kB / 0.5593 GB, free: 95.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/1.378, allocations: 1.63 MB / 0.5609 GB, free: 95.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/1.379, allocations: 47.52 kB / 0.5609 GB, free: 95.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/1.38, allocations: 1.239 MB / 0.5621 GB, free: 94.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/1.38, allocations: 0.4926 MB / 0.5626 GB, free: 94.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.381, allocations: 34.28 kB / 0.5626 GB, free: 94.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/1.381, allocations: 375.1 kB / 0.563 GB, free: 94.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.382, allocations: 0.8074 MB / 0.5638 GB, free: 93.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/1.385, allocations: 1.28 MB / 0.565 GB, free: 93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.387, allocations: 1.02 MB / 0.566 GB, free: 92.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.387, allocations: 3.969 kB / 0.566 GB, free: 92.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.007128/1.394, allocations: 2.804 MB / 0.5688 GB, free: 91.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/1.394, allocations: 15 kB / 0.5688 GB, free: 91.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/1.394, allocations: 15.34 kB / 0.5688 GB, free: 91.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/1.396, allocations: 0.5924 MB / 0.5694 GB, free: 91.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.4, allocations: 414.1 kB / 0.5698 GB, free: 91.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.41, allocations: 5.461 MB / 0.5751 GB, free: 88.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/1.413, allocations: 138.6 kB / 0.5752 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/1.414, allocations: 76.45 kB / 0.5753 GB, free: 88.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004469/1.414, allocations: 198.4 kB / 0.5755 GB, free: 88.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/1.415, allocations: 202.2 kB / 0.5757 GB, free: 88.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006491/1.421, allocations: 2.528 MB / 0.5782 GB, free: 87.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/1.421, allocations: 18.95 kB / 0.5782 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.421, allocations: 7.312 kB / 0.5782 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/1.421, allocations: 7.219 kB / 0.5782 GB, free: 87.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.435, allocations: 5.415 MB / 0.5835 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/1.435, allocations: 3.625 kB / 0.5835 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.437, allocations: 253.5 kB / 0.5837 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/1.44, allocations: 0.6537 MB / 0.5844 GB, free: 84.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.44, allocations: 41.86 kB / 0.5844 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.453, allocations: 7.137 MB / 0.5914 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.453, allocations: 3.969 kB / 0.5914 GB, free: 80.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00899/1.462, allocations: 3.959 MB / 0.5952 GB, free: 78.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/1.464, allocations: 464.7 kB / 0.5957 GB, free: 78.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005337/1.464, allocations: 36.19 kB / 0.5957 GB, free: 78.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/1.467, allocations: 118.8 kB / 0.5958 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/1.467, allocations: 119.2 kB / 0.5959 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.467, allocations: 44.83 kB / 0.596 GB, free: 78.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002654/1.47, allocations: 1.247 MB / 0.5972 GB, free: 77.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.47, allocations: 0 / 0.5972 GB, free: 77.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003312/1.473, allocations: 0.633 MB / 0.5978 GB, free: 77.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009564/1.483, allocations: 5.707 MB / 0.6034 GB, free: 74.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/1.489, allocations: 2.427 MB / 0.6058 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.489, allocations: 1.25 kB / 0.6058 GB, free: 72.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003919/1.493, allocations: 1.551 MB / 0.6073 GB, free: 70.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.496, allocations: 407.6 kB / 0.6077 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.51, allocations: 4.873 MB / 0.6124 GB, free: 66.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.512, allocations: 2.07 MB / 0.6144 GB, free: 64.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002312/1.514, allocations: 425.4 kB / 0.6149 GB, free: 64.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.516, allocations: 1.01 MB / 0.6158 GB, free: 63.44 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.516, allocations: 4 kB / 0.6158 GB, free: 63.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/1.675, allocations: 51.47 MB / 0.6661 GB, free: 19.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.675, allocations: 199.1 kB / 0.6663 GB, free: 19.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/5.85, allocations: 4 kB / 0.6663 GB, free: 19.61 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat does not exist to compare? outputFormat=mat