Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.321/2.321, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.027e-05, allocations: 4 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5289/0.6347, allocations: 100.9 MB / 444.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.6351, allocations: 86 kB / 444.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.642/2.277, allocations: 310.8 MB / 0.7373 GB, free: 66.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/2.277, allocations: 0 / 0.7373 GB, free: 66.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005515/2.277, allocations: 193.5 kB / 0.7375 GB, free: 66.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04251/2.32, allocations: 8.744 MB / 0.746 GB, free: 64.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/2.32, allocations: 8.375 kB / 0.746 GB, free: 64.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006656/2.327, allocations: 1.503 MB / 0.7475 GB, free: 64.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03474/2.361, allocations: 4.192 MB / 0.7516 GB, free: 63.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02631/2.388, allocations: 6.025 MB / 0.7575 GB, free: 63.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001077/2.389, allocations: 0.6326 MB / 0.7581 GB, free: 63.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005021/2.394, allocations: 0.8301 MB / 0.7589 GB, free: 63.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05929/2.453, allocations: 14.28 MB / 0.7728 GB, free: 62.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006072/2.454, allocations: 10.25 kB / 0.7728 GB, free: 62.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004797/2.459, allocations: 371.5 kB / 0.7732 GB, free: 62.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001688/2.461, allocations: 0.6817 MB / 0.7739 GB, free: 62.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0846/2.545, allocations: 12.16 MB / 0.7857 GB, free: 59.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1048/2.65, allocations: 44.33 MB / 0.829 GB, free: 26.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01821/2.668, allocations: 11.56 MB / 0.8403 GB, free: 15.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008124/2.677, allocations: 3.129 MB / 0.8434 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006029/2.677, allocations: 174.5 kB / 0.8435 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.507e-05/2.677, allocations: 82.31 kB / 0.8436 GB, free: 12.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 7.865e-06/2.677, allocations: 0 / 0.8436 GB, free: 12.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=421): time 0.01715/2.694, allocations: 5.863 MB / 0.8494 GB, free: 7.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.783e-05/2.695, allocations: 121.1 kB / 0.8495 GB, free: 7.043 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/2.701, allocations: 2.77 MB / 0.8522 GB, free: 4.613 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008984/2.702, allocations: 93.7 kB / 0.8523 GB, free: 4.516 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003348/2.705, allocations: 3.679 MB / 0.8559 GB, free: 1.258 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00247/2.708, allocations: 1.436 MB / 0.8573 GB, free: 0 / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3438/3.052, allocations: 151.9 kB / 0.8574 GB, free: 0 / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001289/3.053, allocations: 0.5473 MB / 0.8579 GB, free: 63.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01195/3.065, allocations: 2.816 MB / 0.8607 GB, free: 63.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/3.08, allocations: 4.815 MB / 0.8654 GB, free: 61.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03465/3.114, allocations: 3.96 MB / 0.8693 GB, free: 61.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/3.115, allocations: 19.34 kB / 0.8693 GB, free: 61.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.03966/3.154, allocations: 8.839 MB / 0.8779 GB, free: 61.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/3.154, allocations: 40 kB / 0.8779 GB, free: 61.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/3.154, allocations: 66.25 kB / 0.878 GB, free: 61.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/3.16, allocations: 1.107 MB / 0.8791 GB, free: 61.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009488/3.169, allocations: 1.29 MB / 0.8803 GB, free: 61.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/3.19, allocations: 9.833 MB / 0.8899 GB, free: 58.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006803/3.197, allocations: 0.7389 MB / 0.8907 GB, free: 58.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/3.199, allocations: 280.1 kB / 0.8909 GB, free: 58.34 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00202/3.201, allocations: 472.5 kB / 0.8914 GB, free: 58.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/3.202, allocations: 345.2 kB / 0.8917 GB, free: 58.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/3.222, allocations: 6.929 MB / 0.8985 GB, free: 57.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01622/3.239, allocations: 5.712 MB / 0.9041 GB, free: 57.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.563e-05/3.239, allocations: 14.5 kB / 0.9041 GB, free: 57.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/3.239, allocations: 25.84 kB / 0.9041 GB, free: 57.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04402/3.283, allocations: 15.4 MB / 0.9191 GB, free: 56.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-05/3.283, allocations: 12.56 kB / 0.9192 GB, free: 56.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006447/3.289, allocations: 0.7859 MB / 0.9199 GB, free: 56.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005094/3.295, allocations: 1.019 MB / 0.9209 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001022/3.296, allocations: 116.3 kB / 0.921 GB, free: 56.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/3.315, allocations: 9.642 MB / 0.9304 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.496e-05/3.315, allocations: 19.94 kB / 0.9305 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02814/3.344, allocations: 11.92 MB / 0.9421 GB, free: 45.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003629/3.347, allocations: 1.01 MB / 0.9431 GB, free: 44.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/3.349, allocations: 100.8 kB / 0.9432 GB, free: 44.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/3.353, allocations: 280.3 kB / 0.9435 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001375/3.355, allocations: 339.1 kB / 0.9438 GB, free: 44.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000476/3.355, allocations: 151.4 kB / 0.9439 GB, free: 44.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004979/3.36, allocations: 2.063 MB / 0.9459 GB, free: 43.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.183e-06/3.36, allocations: 0 / 0.9459 GB, free: 43.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00993/3.37, allocations: 2.241 MB / 0.9481 GB, free: 43.29 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02865/3.399, allocations: 16.14 MB / 0.9639 GB, free: 33.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02126/3.42, allocations: 7.231 MB / 0.971 GB, free: 27.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.097e-05/3.42, allocations: 4 kB / 0.971 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01298/3.433, allocations: 3.586 MB / 0.9745 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006607/3.44, allocations: 0.7031 MB / 0.9751 GB, free: 23.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04398/3.484, allocations: 16.23 MB / 0.991 GB, free: 9.109 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/3.495, allocations: 6.082 MB / 0.9969 GB, free: 4.461 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01082/3.506, allocations: 2.229 MB / 0.9991 GB, free: 3.039 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007303/3.513, allocations: 2.908 MB / 1.002 GB, free: 344 kB / 458.7 MB Notification: Performance of SimCode: time 2.094e-06/3.513, allocations: 0 / 1.002 GB, free: 344 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6095/4.123, allocations: 112.4 MB / 1.112 GB, free: 59.36 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/4.123, allocations: 207.8 kB / 1.112 GB, free: 59.13 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/10.07, allocations: 3.531 kB / 1.112 GB, free: 59.13 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat