Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_1_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 1.752/1.752, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.192/1.944, allocations: 41.12 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/2.035, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/2.354, allocations: 73.66 MB / 331.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/2.354, allocations: 80.89 kB / 331.8 MB, free: 14.35 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.1332/2.488, allocations: 30.73 MB / 362.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/2.488, allocations: 12 kB / 362.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/2.49, allocations: 233.8 kB / 362.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00573/2.496, allocations: 1.067 MB / 363.8 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/2.496, allocations: 40 kB / 363.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007459/2.497, allocations: 72 kB / 363.9 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007028/2.504, allocations: 1.336 MB / 365.2 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005701/2.51, allocations: 1.527 MB / 366.8 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/2.51, allocations: 0 / 366.8 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/2.51, allocations: 0 / 366.8 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.254e-05/2.51, allocations: 46 kB / 366.8 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/2.526, allocations: 5.038 MB / 371.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/2.528, allocations: 0.6814 MB / 372.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/2.529, allocations: 394.4 kB / 372.9 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/2.529, allocations: 12.41 kB / 372.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/2.529, allocations: 42.92 kB / 373 MB, free: 9.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.516e-06/2.529, allocations: 3.938 kB / 373 MB, free: 9.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.002491/2.532, allocations: 0.7521 MB / 373.7 MB, free: 9.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/2.532, allocations: 81.11 kB / 373.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/2.534, allocations: 0.8831 MB / 374.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/2.534, allocations: 25.7 kB / 374.7 MB, free: 8.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/2.535, allocations: 0.5292 MB / 375.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/2.535, allocations: 169.5 kB / 375.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/2.535, allocations: 0 / 375.4 MB, free: 7.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/2.535, allocations: 341.9 kB / 375.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/2.536, allocations: 305.1 kB / 376 MB, free: 6.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/2.537, allocations: 459.3 kB / 376.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/2.538, allocations: 381 kB / 376.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/2.538, allocations: 4 kB / 376.9 MB, free: 5.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002479/2.541, allocations: 0.8496 MB / 377.7 MB, free: 5.023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/2.541, allocations: 7.984 kB / 377.7 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/2.541, allocations: 8 kB / 377.7 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/2.541, allocations: 8 kB / 377.7 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/2.542, allocations: 180.2 kB / 377.9 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/2.542, allocations: 4 kB / 377.9 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/2.544, allocations: 71.41 kB / 378 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/2.544, allocations: 27.98 kB / 378 MB, free: 4.723 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002285/2.544, allocations: 124.6 kB / 378.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/2.544, allocations: 86.97 kB / 378.2 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/2.545, allocations: 103.9 kB / 378.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/2.545, allocations: 4 kB / 378.3 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/2.545, allocations: 4 kB / 378.3 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/2.545, allocations: 0 / 378.3 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006435/2.551, allocations: 2.058 MB / 380.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/2.551, allocations: 0 / 380.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/2.552, allocations: 83.89 kB / 380.5 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/2.553, allocations: 159 kB / 380.6 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/2.553, allocations: 15.98 kB / 380.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005102/2.558, allocations: 2.464 MB / 383.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/2.558, allocations: 8 kB / 383.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003436/2.562, allocations: 1.35 MB / 384.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00436/2.566, allocations: 2.129 MB / 386.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/2.567, allocations: 259.8 kB / 386.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/2.567, allocations: 11.98 kB / 386.9 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/2.568, allocations: 59.95 kB / 386.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/2.569, allocations: 35.84 kB / 387 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/2.569, allocations: 16 kB / 387 MB, free: 11.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001588/2.57, allocations: 0.6826 MB / 387.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002453/2.573, allocations: 326.5 kB / 388 MB, free: 10.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0003966/2.573, allocations: 119.2 kB / 388.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/2.575, allocations: 0.6556 MB / 388.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.575, allocations: 0 / 388.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/2.576, allocations: 487.5 kB / 389.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/2.578, allocations: 144 kB / 389.4 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/2.586, allocations: 2.189 MB / 391.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002768/2.589, allocations: 1.56 MB / 393.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of SimCode: time 2.465e-06/2.589, allocations: 0 / 393.1 MB, free: 5.211 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat