Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.276e-05, allocations: 4 kB / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5525, allocations: 89.21 MB / 431.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5529, allocations: 78.39 kB / 431.9 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2217/0.7746, allocations: 54.75 MB / 486.7 MB, free: 2.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7747, allocations: 0 / 486.7 MB, free: 2.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002605/0.7749, allocations: 67.94 kB / 486.7 MB, free: 2.383 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.0126/0.7875, allocations: 2.761 MB / 489.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.7876, allocations: 12.03 kB / 489.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001994/0.7896, allocations: 436.8 kB / 489.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005199/0.7949, allocations: 0.5976 MB / 490.5 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00661/0.8015, allocations: 1.811 MB / 492.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.8019, allocations: 201.3 kB / 492.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.8031, allocations: 268 kB / 492.8 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.8207, allocations: 3.439 MB / 496.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.606e-05/0.8208, allocations: 0 / 496.2 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007836/0.8216, allocations: 120 kB / 496.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.8218, allocations: 97.44 kB / 496.5 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009513/0.8313, allocations: 2.752 MB / 499.2 MB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03141/0.8628, allocations: 10.53 MB / 0.4978 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008767/0.8716, allocations: 4.608 MB / 0.5023 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.874, allocations: 0.8793 MB / 0.5031 GB, free: 4.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.8812, allocations: 2.444 MB / 0.5055 GB, free: 2.098 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.8813, allocations: 47.44 kB / 0.5056 GB, free: 2.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 4.308e-06/0.8813, allocations: 0 / 0.5056 GB, free: 2.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.004536/0.8859, allocations: 1.451 MB / 0.507 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.886, allocations: 93.98 kB / 0.5071 GB, free: 480 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.8891, allocations: 1.202 MB / 0.5083 GB, free: 15.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002762/0.8894, allocations: 49.7 kB / 0.5083 GB, free: 15.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.8904, allocations: 1.127 MB / 0.5094 GB, free: 14.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.8911, allocations: 358.8 kB / 0.5097 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.8912, allocations: 27.94 kB / 0.5098 GB, free: 13.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.8914, allocations: 362.8 kB / 0.5101 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.893, allocations: 0.5335 MB / 0.5106 GB, free: 12.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.8948, allocations: 0.7951 MB / 0.5114 GB, free: 11.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.8967, allocations: 0.67 MB / 0.5121 GB, free: 11.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.8968, allocations: 4 kB / 0.5121 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005509/0.9023, allocations: 1.79 MB / 0.5138 GB, free: 9.398 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.9024, allocations: 8 kB / 0.5138 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.9024, allocations: 8 kB / 0.5138 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.9042, allocations: 405.7 kB / 0.5142 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.9061, allocations: 211.7 kB / 0.5144 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.9181, allocations: 6.06 MB / 0.5203 GB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.9201, allocations: 146.7 kB / 0.5205 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/0.9204, allocations: 55.89 kB / 0.5205 GB, free: 2.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 105 * 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 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.9208, allocations: 173.7 kB / 0.5207 GB, free: 2.074 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.9213, allocations: 138.4 kB / 0.5208 GB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.9261, allocations: 1.605 MB / 0.5224 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.9262, allocations: 19.89 kB / 0.5224 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.9263, allocations: 4 kB / 0.5224 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.9263, allocations: 7.984 kB / 0.5224 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3047/1.231, allocations: 3.898 MB / 0.5262 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.231, allocations: 1.375 kB / 0.5262 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.232, allocations: 139.9 kB / 0.5264 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.234, allocations: 386.5 kB / 0.5267 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.234, allocations: 36.53 kB / 0.5268 GB, free: 112.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/1.245, allocations: 6.033 MB / 0.5327 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.245, allocations: 5.875 kB / 0.5327 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006405/1.252, allocations: 2.49 MB / 0.5351 GB, free: 109.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.253, allocations: 245.6 kB / 0.5353 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005465/1.253, allocations: 38.58 kB / 0.5354 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/1.255, allocations: 99.19 kB / 0.5355 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/1.256, allocations: 96.84 kB / 0.5356 GB, free: 109.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.256, allocations: 32.44 kB / 0.5356 GB, free: 109.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002458/1.258, allocations: 0.9327 MB / 0.5365 GB, free: 109.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.258, allocations: 0 / 0.5365 GB, free: 109.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003237/1.261, allocations: 0.679 MB / 0.5372 GB, free: 109.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007066/1.269, allocations: 3.599 MB / 0.5407 GB, free: 107.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0045/1.273, allocations: 1.665 MB / 0.5423 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.273, allocations: 1.094 kB / 0.5423 GB, free: 107.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/1.276, allocations: 1.068 MB / 0.5434 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.279, allocations: 282.4 kB / 0.5436 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.291, allocations: 4.394 MB / 0.5479 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/1.294, allocations: 2.161 MB / 0.55 GB, free: 105.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/1.296, allocations: 0.8832 MB / 0.5509 GB, free: 105.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/1.296, allocations: 0 / 0.5509 GB, free: 105.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.135/4.431, allocations: 63.77 MB / 0.6132 GB, free: 72.54 MB / 442.7 MB