Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.941/1.941, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2332/2.174, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/2.267, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3109/2.578, allocations: 79.62 MB / 373.5 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/2.579, allocations: 77.69 kB / 373.6 MB, free: 7.066 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.1394/2.718, allocations: 31.81 MB / 405.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/2.718, allocations: 9.25 kB / 405.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/2.722, allocations: 317.8 kB / 405.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/2.726, allocations: 1.101 MB / 406.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/2.726, allocations: 42.59 kB / 406.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/2.726, allocations: 81.12 kB / 407 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005521/2.732, allocations: 1.48 MB / 408.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005386/2.737, allocations: 1.625 MB / 410.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-05/2.737, allocations: 4 kB / 410.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/2.738, allocations: 3.938 kB / 410.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.312e-05/2.738, allocations: 49.62 kB / 410.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/2.756, allocations: 5.392 MB / 415.5 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/2.758, allocations: 0.7662 MB / 416.3 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/2.759, allocations: 491.5 kB / 416.8 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004727/2.764, allocations: 1.566 MB / 418.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/2.764, allocations: 42.56 kB / 418.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.857e-06/2.764, allocations: 0 / 418.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003328/2.768, allocations: 0.8862 MB / 419.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/2.768, allocations: 85.11 kB / 419.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/2.77, allocations: 0.8712 MB / 420.2 MB, free: 8 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/2.77, allocations: 25.7 kB / 420.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/2.771, allocations: 0.5408 MB / 420.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/2.771, allocations: 209 kB / 421 MB, free: 15.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/2.771, allocations: 4 kB / 421 MB, free: 15.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/2.771, allocations: 337.9 kB / 421.3 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/2.772, allocations: 365.4 kB / 421.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/2.774, allocations: 0.5174 MB / 422.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/2.775, allocations: 460.4 kB / 422.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/2.775, allocations: 4 kB / 422.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003288/2.779, allocations: 1 MB / 423.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/2.779, allocations: 12.48 kB / 423.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/2.779, allocations: 8 kB / 423.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-05/2.779, allocations: 12 kB / 423.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/2.781, allocations: 195.7 kB / 423.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/2.781, allocations: 15.94 kB / 423.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/2.782, allocations: 75.25 kB / 424 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/2.782, allocations: 35.98 kB / 424 MB, free: 12.13 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.000258/2.783, allocations: 128.5 kB / 424.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/2.783, allocations: 90.88 kB / 424.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002899/2.786, allocations: 0.7208 MB / 424.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/2.786, allocations: 4 kB / 424.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/2.786, allocations: 4 kB / 424.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/2.786, allocations: 0 / 424.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/2.793, allocations: 2.242 MB / 427.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/2.793, allocations: 7.938 kB / 427.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/2.794, allocations: 111.8 kB / 427.3 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/2.795, allocations: 152.7 kB / 427.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.625e-05/2.795, allocations: 11.98 kB / 427.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005385/2.801, allocations: 2.464 MB / 429.9 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/2.801, allocations: 8.062 kB / 429.9 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004401/2.805, allocations: 1.535 MB / 431.5 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005762/2.811, allocations: 2.389 MB / 433.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/2.811, allocations: 187.8 kB / 434 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/2.812, allocations: 15.98 kB / 434 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/2.813, allocations: 55.95 kB / 434.1 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/2.813, allocations: 43.89 kB / 434.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.506e-05/2.814, allocations: 27.92 kB / 434.2 MB, free: 1.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001717/2.815, allocations: 0.667 MB / 434.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002937/2.818, allocations: 358.3 kB / 435.2 MB, free: 0.6094 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.00042/2.819, allocations: 139.1 kB / 435.3 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002328/2.821, allocations: 0.7786 MB / 436.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.821, allocations: 0 / 436.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/2.823, allocations: 0.5436 MB / 436.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/2.825, allocations: 143.2 kB / 436.8 MB, free: 15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/2.833, allocations: 2.309 MB / 439.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002657/2.836, allocations: 1.604 MB / 440.7 MB, free: 11 MB / 346.7 MB Notification: Performance of SimCode: time 1.954e-06/2.836, allocations: 0 / 440.7 MB, free: 11 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat