Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_1_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.833/1.833, allocations: 171.2 MB / 178.1 MB, free: 8.32 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2383/2.072, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/2.184, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/2.507, allocations: 67.11 MB / 325.1 MB, free: 4.934 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/2.507, allocations: 65.83 kB / 325.2 MB, free: 4.898 MB / 266.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.01531/2.523, allocations: 2.724 MB / 327.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/2.523, allocations: 8 kB / 327.9 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/2.523, allocations: 18.33 kB / 327.9 MB, free: 2.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/2.523, allocations: 190 kB / 328.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/2.523, allocations: 4 kB / 328.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/2.523, allocations: 15.36 kB / 328.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002032/2.523, allocations: 48.44 kB / 328.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/2.524, allocations: 108.5 kB / 328.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/2.524, allocations: 8 kB / 328.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/2.524, allocations: 3.938 kB / 328.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/2.524, allocations: 0 / 328.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/2.525, allocations: 475.3 kB / 328.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/2.525, allocations: 67.44 kB / 328.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/2.525, allocations: 56.2 kB / 328.9 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/2.526, allocations: 8 kB / 328.9 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/2.526, allocations: 30.72 kB / 328.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/2.526, allocations: 3.938 kB / 328.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006704/2.526, allocations: 117.5 kB / 329 MB, free: 1.438 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/2.526, allocations: 102.8 kB / 329.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/2.527, allocations: 144.3 kB / 329.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/2.527, allocations: 29.7 kB / 329.3 MB, free: 1.145 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/2.527, allocations: 107.3 kB / 329.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/2.527, allocations: 31.36 kB / 329.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/2.527, allocations: 448 / 329.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/2.527, allocations: 322.4 kB / 329.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/2.527, allocations: 18.69 kB / 329.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/2.527, allocations: 62.16 kB / 329.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/2.527, allocations: 38.23 kB / 329.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.527, allocations: 0 / 329.9 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000654/2.528, allocations: 139 kB / 330 MB, free: 472 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/2.528, allocations: 4 kB / 330 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.528, allocations: 7.984 kB / 330 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/2.529, allocations: 44.75 kB / 330.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/2.53, allocations: 139.9 kB / 330.2 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/2.534, allocations: 2.696 MB / 332.9 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/2.535, allocations: 20.05 kB / 332.9 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/2.535, allocations: 4.062 kB / 332.9 MB, free: 13.4 MB / 282.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/2.535, allocations: 108.9 kB / 333 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/2.535, allocations: 15.81 kB / 333 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/2.536, allocations: 134.5 kB / 333.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/2.536, allocations: 0 / 333.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/2.536, allocations: 0 / 333.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/2.536, allocations: 7.984 kB / 333.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/2.537, allocations: 403.3 kB / 333.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/2.537, allocations: 32 / 333.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/2.537, allocations: 19.98 kB / 333.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/2.538, allocations: 50.88 kB / 333.6 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/2.538, allocations: 4 kB / 333.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/2.539, allocations: 1.307 MB / 335 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/2.54, allocations: 0 / 335 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007256/2.54, allocations: 262.7 kB / 335.2 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008789/2.541, allocations: 0.6584 MB / 335.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/2.541, allocations: 103.8 kB / 336 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/2.541, allocations: 0 / 336 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/2.542, allocations: 15.92 kB / 336 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/2.542, allocations: 11.48 kB / 336 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/2.542, allocations: 4 kB / 336 MB, free: 10.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001299/2.542, allocations: 114.5 kB / 336.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001372/2.543, allocations: 47.84 kB / 336.2 MB, free: 10.09 MB / 282.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.0001903/2.543, allocations: 99.25 kB / 336.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002629/2.546, allocations: 319.9 kB / 336.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/2.546, allocations: 0 / 336.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/2.546, allocations: 144.4 kB / 336.7 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/2.547, allocations: 4 kB / 336.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/2.548, allocations: 299.4 kB / 337 MB, free: 9.23 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/2.548, allocations: 0.7343 MB / 337.7 MB, free: 8.473 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/2.548, allocations: 0 / 337.7 MB, free: 8.473 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat