Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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 2.043/2.043, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2085/2.251, allocations: 46.83 MB / 249.3 MB, free: 5.379 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/2.338, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2695/2.608, allocations: 79.61 MB / 373.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/2.608, allocations: 80.48 kB / 373.5 MB, free: 6.988 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.117/2.725, allocations: 31.83 MB / 405.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/2.725, allocations: 9.188 kB / 405.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/2.728, allocations: 315.6 kB / 405.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/2.732, allocations: 1.096 MB / 406.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/2.732, allocations: 42.28 kB / 406.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/2.733, allocations: 84.47 kB / 406.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004529/2.737, allocations: 1.482 MB / 408.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/2.742, allocations: 1.631 MB / 410 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/2.742, allocations: 0 / 410 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/2.742, allocations: 4 kB / 410 MB, free: 9.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-05/2.742, allocations: 49.98 kB / 410.1 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/2.758, allocations: 5.377 MB / 415.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/2.759, allocations: 0.7778 MB / 416.2 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/2.76, allocations: 483.6 kB / 416.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003906/2.764, allocations: 1.573 MB / 418.3 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/2.764, allocations: 46.48 kB / 418.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.296e-06/2.764, allocations: 0 / 418.3 MB, free: 1.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.00275/2.767, allocations: 0.8821 MB / 419.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/2.767, allocations: 85.11 kB / 419.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001938/2.769, allocations: 0.8751 MB / 420.2 MB, free: 76 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/2.769, allocations: 25.7 kB / 420.2 MB, free: 44 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/2.77, allocations: 0.5408 MB / 420.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/2.77, allocations: 201 kB / 420.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.834e-05/2.77, allocations: 0 / 420.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/2.77, allocations: 341.8 kB / 421.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009212/2.771, allocations: 373.3 kB / 421.6 MB, free: 14.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/2.772, allocations: 0.5136 MB / 422.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/2.773, allocations: 460.4 kB / 422.6 MB, free: 13.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/2.773, allocations: 3.938 kB / 422.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002906/2.776, allocations: 1.004 MB / 423.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/2.776, allocations: 4 kB / 423.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/2.776, allocations: 7.938 kB / 423.6 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/2.777, allocations: 12 kB / 423.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/2.778, allocations: 204.3 kB / 423.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/2.778, allocations: 8 kB / 423.8 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/2.78, allocations: 79.25 kB / 423.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/2.78, allocations: 31.98 kB / 423.9 MB, free: 12.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/2.78, allocations: 128.5 kB / 424.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/2.78, allocations: 90.88 kB / 424.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/2.783, allocations: 0.728 MB / 424.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/2.783, allocations: 4 kB / 424.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/2.783, allocations: 4 kB / 424.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/2.783, allocations: 3.984 kB / 424.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/2.788, allocations: 2.231 MB / 427.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.788, allocations: 4 kB / 427.1 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/2.79, allocations: 112 kB / 427.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007137/2.79, allocations: 152.6 kB / 427.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/2.79, allocations: 15.98 kB / 427.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/2.795, allocations: 2.465 MB / 429.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/2.795, allocations: 8 kB / 429.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003672/2.799, allocations: 1.537 MB / 431.4 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004814/2.803, allocations: 2.392 MB / 433.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005148/2.804, allocations: 191.8 kB / 434 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/2.804, allocations: 11.98 kB / 434 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/2.805, allocations: 59.95 kB / 434.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/2.806, allocations: 39.89 kB / 434.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/2.806, allocations: 23.98 kB / 434.1 MB, free: 1.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001483/2.807, allocations: 0.6748 MB / 434.8 MB, free: 1.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002583/2.81, allocations: 354.3 kB / 435.1 MB, free: 0.6836 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004631/2.81, allocations: 130.5 kB / 435.3 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/2.812, allocations: 0.783 MB / 436 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/2.812, allocations: 4.25 kB / 436.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/2.814, allocations: 0.5464 MB / 436.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/2.815, allocations: 135.7 kB / 436.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/2.822, allocations: 2.305 MB / 439 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002254/2.825, allocations: 1.601 MB / 440.6 MB, free: 11.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/2.825, allocations: 4 kB / 440.6 MB, free: 11.09 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat