Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.764/1.764, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2484/2.012, allocations: 46.84 MB / 249.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/2.097, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2651/2.362, allocations: 76.03 MB / 369.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.362, allocations: 82.27 kB / 370 MB, free: 7.102 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.03682/2.399, allocations: 9.972 MB / 379.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/2.399, allocations: 11.66 kB / 379.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/2.4, allocations: 85.88 kB / 380 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/2.401, allocations: 303.6 kB / 380.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/2.401, allocations: 11.75 kB / 380.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/2.401, allocations: 19.38 kB / 380.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005981/2.401, allocations: 199.3 kB / 380.6 MB, free: 4.723 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/2.402, allocations: 289.7 kB / 380.8 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/2.402, allocations: 3.938 kB / 380.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/2.402, allocations: 0 / 380.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/2.402, allocations: 7.812 kB / 380.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/2.405, allocations: 1.321 MB / 382.2 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/2.405, allocations: 129 kB / 382.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/2.405, allocations: 79.7 kB / 382.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/2.406, allocations: 0.8574 MB / 383.2 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/2.406, allocations: 38.41 kB / 383.3 MB, free: 18.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/2.406, allocations: 0 / 383.3 MB, free: 18.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003765/2.407, allocations: 127.3 kB / 383.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/2.407, allocations: 77.11 kB / 383.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/2.407, allocations: 241.4 kB / 383.7 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/2.407, allocations: 25.7 kB / 383.7 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/2.407, allocations: 219.4 kB / 383.9 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/2.407, allocations: 53.05 kB / 384 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/2.407, allocations: 0 / 384 MB, free: 18.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/2.408, allocations: 332.6 kB / 384.3 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/2.408, allocations: 45.97 kB / 384.4 MB, free: 17.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/2.408, allocations: 169.3 kB / 384.5 MB, free: 17.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/2.408, allocations: 82.69 kB / 384.6 MB, free: 17.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/2.408, allocations: 0 / 384.6 MB, free: 17.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005063/2.409, allocations: 230.1 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/2.409, allocations: 3.812 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/2.409, allocations: 7.812 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/2.409, allocations: 3.875 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/2.409, allocations: 80.98 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/2.409, allocations: 7.844 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/2.41, allocations: 39.44 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/2.41, allocations: 15.5 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001096/2.41, allocations: 116.7 kB / 385.1 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/2.41, allocations: 23.38 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/2.41, allocations: 23.48 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/2.41, allocations: 3.875 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/2.41, allocations: 0 / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/2.41, allocations: 7.906 kB / 385.2 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/2.411, allocations: 444.1 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/2.411, allocations: 3.844 kB / 385.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/2.411, allocations: 42.94 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/2.411, allocations: 0 / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/2.411, allocations: 4.031 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/2.411, allocations: 3.875 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.411, allocations: 3.938 kB / 385.7 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004588/2.412, allocations: 368.4 kB / 386 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006788/2.412, allocations: 0.7939 MB / 386.8 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/2.413, allocations: 96.7 kB / 386.9 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/2.413, allocations: 3.984 kB / 386.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/2.413, allocations: 19.59 kB / 386.9 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/2.413, allocations: 11.23 kB / 386.9 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/2.413, allocations: 7.859 kB / 386.9 MB, free: 16.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002349/2.413, allocations: 183.5 kB / 387.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001422/2.415, allocations: 85.56 kB / 387.2 MB, free: 15.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002114/2.415, allocations: 121.2 kB / 387.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003437/2.415, allocations: 134 kB / 387.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.415, allocations: 0 / 387.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/2.416, allocations: 45.95 kB / 387.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/2.416, allocations: 19.52 kB / 387.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/2.417, allocations: 449.5 kB / 388 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/2.418, allocations: 0.8113 MB / 388.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/2.418, allocations: 0 / 388.8 MB, free: 14.75 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat