Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",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.701/1.701, allocations: 194.9 MB / 202.5 MB, free: 6.84 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.242/1.943, allocations: 46.82 MB / 249.3 MB, free: 5.367 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/2.041, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/2.327, allocations: 71.9 MB / 365.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/2.328, allocations: 67.09 kB / 365.8 MB, free: 7.152 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.01174/2.339, allocations: 2.675 MB / 368.5 MB, free: 6.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/2.339, allocations: 11.59 kB / 368.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/2.34, allocations: 19.75 kB / 368.5 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/2.34, allocations: 196.6 kB / 368.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/2.34, allocations: 0 / 368.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/2.34, allocations: 7.688 kB / 368.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003299/2.34, allocations: 54.17 kB / 368.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/2.341, allocations: 122.7 kB / 368.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/2.341, allocations: 0 / 368.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/2.341, allocations: 3.875 kB / 368.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/2.341, allocations: 3.906 kB / 368.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/2.342, allocations: 468.6 kB / 369.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/2.343, allocations: 69.34 kB / 369.4 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/2.343, allocations: 57.97 kB / 369.5 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/2.343, allocations: 3.875 kB / 369.5 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/2.343, allocations: 38.45 kB / 369.5 MB, free: 5.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 3.707e-06/2.343, allocations: 0 / 369.5 MB, free: 5.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001131/2.345, allocations: 107.7 kB / 369.6 MB, free: 5.906 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/2.345, allocations: 111.9 kB / 369.7 MB, free: 5.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/2.345, allocations: 133.5 kB / 369.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/2.345, allocations: 25.7 kB / 369.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/2.345, allocations: 112.9 kB / 370 MB, free: 5.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/2.345, allocations: 24.66 kB / 370 MB, free: 5.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/2.345, allocations: 1.531 kB / 370 MB, free: 5.543 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/2.345, allocations: 322.8 kB / 370.3 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/2.345, allocations: 25.88 kB / 370.4 MB, free: 21.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/2.346, allocations: 60.3 kB / 370.4 MB, free: 21.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/2.346, allocations: 30.91 kB / 370.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/2.346, allocations: 0 / 370.5 MB, free: 21.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004643/2.346, allocations: 103.8 kB / 370.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/2.346, allocations: 3.969 kB / 370.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/2.346, allocations: 4 kB / 370.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/2.346, allocations: 5.766 kB / 370.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/2.35, allocations: 157 kB / 370.7 MB, free: 21.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/2.353, allocations: 1.329 MB / 372 MB, free: 19.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/2.353, allocations: 26.7 kB / 372.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/2.353, allocations: 13.58 kB / 372.1 MB, free: 19.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.353, allocations: 112.1 kB / 372.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.789e-05/2.353, allocations: 15.53 kB / 372.2 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008277/2.354, allocations: 125.8 kB / 372.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/2.354, allocations: 0 / 372.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/2.354, allocations: 4 kB / 372.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/2.354, allocations: 0 / 372.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/2.356, allocations: 407.8 kB / 372.7 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/2.356, allocations: 0 / 372.7 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/2.356, allocations: 25.45 kB / 372.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/2.357, allocations: 47.62 kB / 372.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/2.357, allocations: 5.375 kB / 372.8 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/2.36, allocations: 1.304 MB / 374.1 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/2.36, allocations: 4.062 kB / 374.1 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009929/2.361, allocations: 260 kB / 374.4 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001239/2.362, allocations: 0.6637 MB / 375 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/2.362, allocations: 89.83 kB / 375.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/2.362, allocations: 5.703 kB / 375.1 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/2.363, allocations: 14.28 kB / 375.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/2.363, allocations: 9.578 kB / 375.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/2.363, allocations: 3.781 kB / 375.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001678/2.363, allocations: 116 kB / 375.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002083/2.365, allocations: 40.06 kB / 375.3 MB, free: 17.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002552/2.365, allocations: 107.8 kB / 375.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003446/2.369, allocations: 191.8 kB / 375.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/2.369, allocations: 0 / 375.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/2.369, allocations: 139 kB / 375.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/2.37, allocations: 8 kB / 375.7 MB, free: 17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/2.371, allocations: 287.3 kB / 376 MB, free: 16.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005742/2.372, allocations: 0.7343 MB / 376.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/2.372, allocations: 7.875 kB / 376.8 MB, free: 16.09 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat