Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",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.668/1.668, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.24/1.908, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/2, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/2.273, allocations: 74.19 MB / 368 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/2.273, allocations: 65.3 kB / 368.1 MB, free: 7.074 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.02896/2.302, allocations: 7.057 MB / 375.2 MB, free: 6.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/2.302, allocations: 7.656 kB / 375.2 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.76e-05/2.302, allocations: 39.55 kB / 375.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/2.303, allocations: 256.6 kB / 375.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/2.303, allocations: 7.719 kB / 375.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/2.303, allocations: 15.5 kB / 375.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005107/2.303, allocations: 180.2 kB / 375.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/2.304, allocations: 193.3 kB / 375.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/2.304, allocations: 0 / 375.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/2.304, allocations: 0 / 375.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/2.304, allocations: 3.875 kB / 375.8 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/2.306, allocations: 0.9667 MB / 376.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/2.306, allocations: 122.6 kB / 376.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/2.307, allocations: 102.9 kB / 377 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/2.307, allocations: 3.859 kB / 377 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/2.307, allocations: 38.38 kB / 377.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.806e-06/2.307, allocations: 0 / 377.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.005726/2.313, allocations: 1.1 MB / 378.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/2.313, allocations: 59 kB / 378.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/2.313, allocations: 182.8 kB / 378.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/2.313, allocations: 29.58 kB / 378.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/2.313, allocations: 164.1 kB / 378.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/2.313, allocations: 107.7 kB / 378.7 MB, free: 20.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/2.313, allocations: 3.938 kB / 378.7 MB, free: 20.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/2.313, allocations: 337.9 kB / 379 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/2.314, allocations: 93.97 kB / 379.1 MB, free: 20.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/2.314, allocations: 150.2 kB / 379.3 MB, free: 20.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/2.314, allocations: 108.2 kB / 379.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/2.314, allocations: 4 kB / 379.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002464/2.317, allocations: 490.3 kB / 379.9 MB, free: 20 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/2.317, allocations: 3.875 kB / 379.9 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/2.317, allocations: 3.875 kB / 379.9 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/2.318, allocations: 184.5 kB / 380.1 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/2.319, allocations: 58.75 kB / 380.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/2.325, allocations: 3.572 MB / 383.7 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/2.326, allocations: 12.08 kB / 383.7 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/2.326, allocations: 11.69 kB / 383.7 MB, free: 17.16 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.0001498/2.326, allocations: 116.7 kB / 383.8 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/2.326, allocations: 31.28 kB / 383.8 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/2.326, allocations: 34.8 kB / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/2.326, allocations: 3.969 kB / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/2.326, allocations: 0 / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/2.326, allocations: 3.984 kB / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/2.329, allocations: 0.8602 MB / 384.7 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/2.329, allocations: 0 / 384.7 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/2.33, allocations: 42.31 kB / 384.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/2.331, allocations: 186.4 kB / 385 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/2.331, allocations: 6.734 kB / 385 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006222/2.337, allocations: 3.59 MB / 388.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.337, allocations: 0 / 388.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002738/2.34, allocations: 0.6733 MB / 389.2 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003157/2.343, allocations: 1.181 MB / 390.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/2.343, allocations: 100.2 kB / 390.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/2.343, allocations: 8 kB / 390.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/2.344, allocations: 8.203 kB / 390.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/2.344, allocations: 20.06 kB / 390.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/2.344, allocations: 11 kB / 390.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000188/2.344, allocations: 155.6 kB / 390.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001698/2.346, allocations: 90.06 kB / 390.8 MB, free: 12.55 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.0002195/2.346, allocations: 118.1 kB / 390.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001068/2.347, allocations: 468.8 kB / 391.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/2.347, allocations: 3.719 kB / 391.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006269/2.348, allocations: 358.7 kB / 391.7 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/2.348, allocations: 15.94 kB / 391.7 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/2.35, allocations: 479.3 kB / 392.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004638/2.35, allocations: 0.8085 MB / 393 MB, free: 11 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/2.35, allocations: 0 / 393 MB, free: 11 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat does not exist to compare? outputFormat=mat