Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_1_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.808/1.808, allocations: 171.2 MB / 178.1 MB, free: 8.27 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.199/2.007, allocations: 41.09 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/2.102, allocations: 38.77 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.298/2.4, allocations: 76.81 MB / 334.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/2.4, allocations: 78.52 kB / 334.9 MB, free: 11.24 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.2211/2.621, allocations: 53.64 MB / 388.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/2.621, allocations: 12 kB / 388.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/2.625, allocations: 412.4 kB / 389 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007074/2.632, allocations: 1.768 MB / 390.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/2.632, allocations: 80 kB / 390.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/2.633, allocations: 152 kB / 390.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00944/2.643, allocations: 2.38 MB / 393.3 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/2.655, allocations: 2.914 MB / 396.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/2.655, allocations: 0 / 396.2 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006762/2.656, allocations: 4 kB / 396.2 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001583/2.656, allocations: 97.05 kB / 396.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03354/2.69, allocations: 9.351 MB / 405.7 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/2.693, allocations: 0.627 MB / 406.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/2.697, allocations: 0.7259 MB / 407 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/2.697, allocations: 8.766 kB / 407.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.156e-05/2.697, allocations: 55.23 kB / 407.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of pre-optimization done (n=88): time 5.3e-06/2.697, allocations: 0 / 407.1 MB, free: 7.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.005941/2.703, allocations: 1.305 MB / 408.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/2.703, allocations: 85.55 kB / 408.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/2.706, allocations: 1.129 MB / 409.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/2.707, allocations: 25.7 kB / 409.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009163/2.708, allocations: 0.9258 MB / 410.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/2.708, allocations: 299.6 kB / 410.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/2.708, allocations: 0 / 410.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/2.708, allocations: 349.8 kB / 411.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/2.71, allocations: 482.4 kB / 411.7 MB, free: 2.676 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/2.711, allocations: 0.6918 MB / 412.4 MB, free: 1.887 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/2.713, allocations: 0.5947 MB / 413 MB, free: 1.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/2.713, allocations: 0 / 413 MB, free: 1.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.1418/2.855, allocations: 1.658 MB / 414.6 MB, free: 121.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/2.855, allocations: 7.25 kB / 414.6 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/2.855, allocations: 7 kB / 414.6 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/2.857, allocations: 436 kB / 415.1 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/2.858, allocations: 175.3 kB / 415.2 MB, free: 121.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/2.874, allocations: 6.015 MB / 421.3 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/2.877, allocations: 90.09 kB / 421.3 MB, free: 118.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/2.878, allocations: 42.12 kB / 421.4 MB, free: 118.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * 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%) 22,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005469/2.878, allocations: 129.5 kB / 421.5 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/2.879, allocations: 124.9 kB / 421.6 MB, free: 118.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/2.88, allocations: 153.4 kB / 421.8 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/2.88, allocations: 9.469 kB / 421.8 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/2.88, allocations: 8.562 kB / 421.8 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.333e-05/2.88, allocations: 6.219 kB / 421.8 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/2.892, allocations: 3.463 MB / 425.3 MB, free: 118.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/2.892, allocations: 6.422 kB / 425.3 MB, free: 118.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/2.893, allocations: 106.2 kB / 425.4 MB, free: 118.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/2.895, allocations: 391.4 kB / 425.8 MB, free: 118.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/2.895, allocations: 29.42 kB / 425.8 MB, free: 118.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/2.906, allocations: 5.657 MB / 431.4 MB, free: 115.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/2.906, allocations: 3.5 kB / 431.4 MB, free: 115.6 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005463/2.911, allocations: 2.32 MB / 433.8 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00896/2.92, allocations: 4.519 MB / 438.3 MB, free: 113.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/2.922, allocations: 336.6 kB / 438.6 MB, free: 113.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/2.922, allocations: 27.33 kB / 438.6 MB, free: 113.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/2.923, allocations: 69.75 kB / 438.7 MB, free: 113.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/2.924, allocations: 64.48 kB / 438.8 MB, free: 113.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-05/2.924, allocations: 30.73 kB / 438.8 MB, free: 113.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002185/2.926, allocations: 0.8652 MB / 439.7 MB, free: 113.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003871/2.93, allocations: 0.5791 MB / 440.2 MB, free: 113.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.0006276/2.931, allocations: 134.8 kB / 440.4 MB, free: 113.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004016/2.935, allocations: 1.425 MB / 441.8 MB, free: 113.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.935, allocations: 3.062 kB / 441.8 MB, free: 113.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/2.937, allocations: 0.9205 MB / 442.7 MB, free: 113.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/2.94, allocations: 231.8 kB / 443 MB, free: 113.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/2.952, allocations: 3.525 MB / 446.5 MB, free: 112.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004245/2.956, allocations: 2.222 MB / 448.7 MB, free: 111.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.603e-06/2.956, allocations: 4 kB / 448.7 MB, free: 111.5 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat does not exist to compare? outputFormat=mat