Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.887/1.887, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.251/2.138, allocations: 46.83 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09918/2.237, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/2.561, allocations: 76.04 MB / 370 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/2.561, allocations: 79.78 kB / 370 MB, free: 7.055 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.05116/2.613, allocations: 9.968 MB / 380 MB, free: 4.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/2.613, allocations: 11.62 kB / 380 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/2.614, allocations: 85.06 kB / 380.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/2.615, allocations: 302.4 kB / 380.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/2.615, allocations: 7.719 kB / 380.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/2.615, allocations: 19.5 kB / 380.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008549/2.616, allocations: 205.9 kB / 380.6 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/2.617, allocations: 287.9 kB / 380.9 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/2.617, allocations: 3.938 kB / 380.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/2.617, allocations: 0 / 380.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/2.617, allocations: 7.781 kB / 380.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/2.621, allocations: 1.318 MB / 382.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/2.621, allocations: 135.3 kB / 382.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/2.621, allocations: 69.47 kB / 382.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/2.623, allocations: 0.8695 MB / 383.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/2.623, allocations: 37.41 kB / 383.3 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.508e-06/2.623, allocations: 3.984 kB / 383.3 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005784/2.623, allocations: 127.5 kB / 383.5 MB, free: 18.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/2.624, allocations: 81.02 kB / 383.5 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/2.624, allocations: 226.9 kB / 383.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/2.624, allocations: 25.7 kB / 383.8 MB, free: 18.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/2.624, allocations: 228.1 kB / 384 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/2.624, allocations: 49.45 kB / 384.1 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/2.624, allocations: 0 / 384.1 MB, free: 18.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/2.624, allocations: 336.8 kB / 384.4 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/2.625, allocations: 41.19 kB / 384.4 MB, free: 17.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/2.625, allocations: 173.9 kB / 384.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/2.625, allocations: 69.89 kB / 384.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/2.625, allocations: 0 / 384.7 MB, free: 17.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007322/2.626, allocations: 238.7 kB / 384.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/2.626, allocations: 8.422 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/2.626, allocations: 3.875 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/2.626, allocations: 11.78 kB / 384.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/2.627, allocations: 73.44 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/2.627, allocations: 11.78 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/2.627, allocations: 34.86 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/2.627, allocations: 11.44 kB / 385 MB, free: 17.51 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.000157/2.628, allocations: 120 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/2.628, allocations: 23.44 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/2.628, allocations: 27.8 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/2.628, allocations: 3.812 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/2.628, allocations: 0 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/2.628, allocations: 3.906 kB / 385.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/2.629, allocations: 444.5 kB / 385.7 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/2.629, allocations: 7.891 kB / 385.7 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/2.629, allocations: 39.05 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/2.63, allocations: 0 / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/2.63, allocations: 3.781 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/2.63, allocations: 7.938 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.63, allocations: 4 kB / 385.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006598/2.63, allocations: 383.1 kB / 386.1 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009353/2.631, allocations: 0.7825 MB / 386.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/2.631, allocations: 108 kB / 387 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/2.631, allocations: 0 / 387 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/2.632, allocations: 23.73 kB / 387 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/2.632, allocations: 7.859 kB / 387 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/2.632, allocations: 3.938 kB / 387 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003314/2.633, allocations: 177.4 kB / 387.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002011/2.635, allocations: 82.03 kB / 387.3 MB, free: 15.85 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.000305/2.635, allocations: 124.8 kB / 387.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005252/2.635, allocations: 132.3 kB / 387.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.635, allocations: 1.125 kB / 387.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/2.636, allocations: 44.31 kB / 387.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/2.636, allocations: 23.34 kB / 387.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/2.638, allocations: 447.6 kB / 388 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/2.639, allocations: 0.8034 MB / 388.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/2.639, allocations: 3.938 kB / 388.8 MB, free: 14.68 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat does not exist to compare? outputFormat=mat