Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",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.809/1.809, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.205/2.014, allocations: 46.82 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/2.105, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2898/2.395, allocations: 74.19 MB / 368.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/2.395, allocations: 70.8 kB / 368.2 MB, free: 7.117 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.03269/2.428, allocations: 7.047 MB / 375.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/2.428, allocations: 7.594 kB / 375.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.472e-05/2.428, allocations: 35.12 kB / 375.3 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/2.429, allocations: 264.2 kB / 375.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/2.429, allocations: 7.75 kB / 375.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/2.429, allocations: 16.16 kB / 375.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005848/2.429, allocations: 176.2 kB / 375.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/2.43, allocations: 196.3 kB / 375.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/2.43, allocations: 7.812 kB / 375.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/2.43, allocations: 0 / 375.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/2.43, allocations: 3.875 kB / 375.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/2.433, allocations: 0.9562 MB / 376.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/2.433, allocations: 135.1 kB / 377 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/2.433, allocations: 91.45 kB / 377.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.004e-05/2.433, allocations: 8.391 kB / 377.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/2.433, allocations: 34.75 kB / 377.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.086e-06/2.433, allocations: 0 / 377.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.00667/2.44, allocations: 1.103 MB / 378.2 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/2.44, allocations: 55.8 kB / 378.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/2.44, allocations: 185.9 kB / 378.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/2.44, allocations: 25.7 kB / 378.5 MB, free: 4.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/2.441, allocations: 166.5 kB / 378.7 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/2.441, allocations: 112.3 kB / 378.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/2.441, allocations: 0 / 378.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/2.441, allocations: 337.9 kB / 379.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/2.441, allocations: 91.03 kB / 379.2 MB, free: 20.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/2.442, allocations: 144.8 kB / 379.3 MB, free: 20.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/2.442, allocations: 116.2 kB / 379.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/2.442, allocations: 0 / 379.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002911/2.445, allocations: 491 kB / 379.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/2.445, allocations: 3.938 kB / 379.9 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/2.445, allocations: 7.969 kB / 379.9 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/2.447, allocations: 187.1 kB / 380.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/2.447, allocations: 62.03 kB / 380.2 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/2.454, allocations: 3.566 MB / 383.7 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/2.455, allocations: 15.83 kB / 383.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/2.455, allocations: 11.16 kB / 383.8 MB, free: 17.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/2.455, allocations: 112.7 kB / 383.9 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.758e-05/2.455, allocations: 27.16 kB / 383.9 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/2.456, allocations: 40.91 kB / 383.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/2.456, allocations: 3.875 kB / 383.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/2.456, allocations: 4.062 kB / 384 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/2.456, allocations: 0 / 384 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/2.459, allocations: 0.8518 MB / 384.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/2.459, allocations: 3.938 kB / 384.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/2.46, allocations: 50.41 kB / 384.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/2.461, allocations: 188.2 kB / 385 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/2.461, allocations: 3.812 kB / 385 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007073/2.468, allocations: 3.583 MB / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/2.468, allocations: 0 / 388.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003178/2.472, allocations: 0.6792 MB / 389.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003639/2.475, allocations: 1.183 MB / 390.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/2.475, allocations: 100.4 kB / 390.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/2.475, allocations: 3.781 kB / 390.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/2.476, allocations: 7.828 kB / 390.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/2.476, allocations: 15.83 kB / 390.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/2.476, allocations: 18.55 kB / 390.6 MB, free: 12.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002028/2.476, allocations: 152 kB / 390.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001909/2.478, allocations: 89.22 kB / 390.9 MB, free: 12.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/2.479, allocations: 116.9 kB / 391 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/2.48, allocations: 475.5 kB / 391.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.48, allocations: 0 / 391.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/2.48, allocations: 358.7 kB / 391.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/2.481, allocations: 11.23 kB / 391.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/2.483, allocations: 482.7 kB / 392.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/2.483, allocations: 0.8056 MB / 393.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/2.483, allocations: 0 / 393.1 MB, free: 11.04 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat