Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2254/2, allocations: 46.83 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08499/2.085, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/2.357, allocations: 82.73 MB / 376.6 MB, free: 7.211 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/2.357, allocations: 77.2 kB / 376.7 MB, free: 7.211 MB / 298.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.2003/2.557, allocations: 55.75 MB / 432.4 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/2.557, allocations: 8 kB / 432.4 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00534/2.563, allocations: 0.6015 MB / 433 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/2.569, allocations: 1.828 MB / 434.8 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/2.569, allocations: 88 kB / 434.9 MB, free: 2.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007478/2.57, allocations: 159.9 kB / 435.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008851/2.579, allocations: 2.697 MB / 437.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009609/2.588, allocations: 3.138 MB / 440.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.159e-05/2.589, allocations: 0 / 440.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003718/2.589, allocations: 4 kB / 440.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/2.589, allocations: 109.3 kB / 441 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/2.617, allocations: 10.09 MB / 451.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/2.619, allocations: 0.8147 MB / 451.9 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002348/2.622, allocations: 0.9138 MB / 452.8 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/2.629, allocations: 2.545 MB / 455.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/2.629, allocations: 59.55 kB / 455.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 8.235e-06/2.629, allocations: 3.984 kB / 455.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.005063/2.634, allocations: 1.588 MB / 457 MB, free: 12.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/2.634, allocations: 90.11 kB / 457.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/2.637, allocations: 1.137 MB / 458.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/2.637, allocations: 29.7 kB / 458.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/2.638, allocations: 0.9532 MB / 459.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/2.638, allocations: 390.2 kB / 459.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/2.638, allocations: 7.938 kB / 459.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/2.639, allocations: 357.8 kB / 460 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/2.64, allocations: 0.5999 MB / 460.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/2.642, allocations: 0.8655 MB / 461.4 MB, free: 7.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/2.644, allocations: 0.7791 MB / 462.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/2.644, allocations: 4 kB / 462.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006149/2.651, allocations: 2.005 MB / 464.2 MB, free: 4.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/2.651, allocations: 4 kB / 464.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/2.651, allocations: 8 kB / 464.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/2.652, allocations: 395.4 kB / 464.6 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/2.654, allocations: 247.6 kB / 464.9 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/2.666, allocations: 5.654 MB / 470.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/2.668, allocations: 122.8 kB / 470.6 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/2.668, allocations: 51.98 kB / 470.7 MB, free: 14.14 MB / 378.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 (122): * Single equations (assignments): 120 * 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.0003738/2.669, allocations: 136.7 kB / 470.8 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/2.669, allocations: 138.2 kB / 471 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005893/2.675, allocations: 1.734 MB / 472.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/2.675, allocations: 12 kB / 472.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/2.675, allocations: 4 kB / 472.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/2.675, allocations: 3.984 kB / 472.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/2.687, allocations: 3.918 MB / 476.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/2.687, allocations: 4 kB / 476.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/2.689, allocations: 160 kB / 476.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/2.691, allocations: 386.1 kB / 477.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/2.691, allocations: 27.97 kB / 477.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/2.703, allocations: 5.648 MB / 482.8 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/2.703, allocations: 7.906 kB / 482.9 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007647/2.711, allocations: 2.682 MB / 485.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01395/2.725, allocations: 5.456 MB / 491 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007259/2.725, allocations: 239.1 kB / 491.2 MB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006683/2.726, allocations: 16 kB / 491.2 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/2.728, allocations: 79.92 kB / 491.3 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/2.729, allocations: 80.88 kB / 491.4 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/2.729, allocations: 32 kB / 491.4 MB, free: 8.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002382/2.731, allocations: 0.8647 MB / 492.3 MB, free: 8.051 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004219/2.736, allocations: 0.6335 MB / 492.9 MB, free: 7.414 MB / 394.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 (77): * Single equations (assignments): 75 * 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.0006573/2.736, allocations: 150.3 kB / 493.1 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005263/2.742, allocations: 1.733 MB / 494.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.742, allocations: 0.8125 kB / 494.8 MB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/2.745, allocations: 1.055 MB / 495.9 MB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/2.748, allocations: 229.2 kB / 496.1 MB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/2.762, allocations: 3.8 MB / 499.9 MB, free: 336 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.131/2.893, allocations: 2.316 MB / 0.4904 GB, free: 133.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/2.893, allocations: 0 / 0.4904 GB, free: 133.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat