Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",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.699/1.699, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2119/1.911, allocations: 46.82 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/2.002, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/2.271, allocations: 71.89 MB / 365.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/2.272, allocations: 68.73 kB / 365.9 MB, free: 7.113 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.01158/2.283, allocations: 2.675 MB / 368.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/2.283, allocations: 11.53 kB / 368.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/2.283, allocations: 15.47 kB / 368.6 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/2.284, allocations: 195.1 kB / 368.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/2.284, allocations: 9.375 kB / 368.8 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/2.284, allocations: 11.84 kB / 368.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001921/2.284, allocations: 50.77 kB / 368.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/2.284, allocations: 116.9 kB / 368.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/2.284, allocations: 3.938 kB / 369 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/2.284, allocations: 0 / 369 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/2.284, allocations: 7.688 kB / 369 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/2.285, allocations: 465.8 kB / 369.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/2.285, allocations: 75.08 kB / 369.5 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/2.286, allocations: 47.19 kB / 369.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/2.286, allocations: 11.45 kB / 369.5 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/2.286, allocations: 30.56 kB / 369.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/2.286, allocations: 0 / 369.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005996/2.286, allocations: 113.2 kB / 369.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/2.286, allocations: 102.8 kB / 369.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/2.286, allocations: 137.7 kB / 369.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/2.286, allocations: 25.7 kB / 369.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/2.287, allocations: 111.2 kB / 370.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/2.287, allocations: 26.56 kB / 370.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/2.287, allocations: 5.531 kB / 370.1 MB, free: 5.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/2.287, allocations: 321.3 kB / 370.4 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/2.287, allocations: 22.5 kB / 370.4 MB, free: 21.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/2.287, allocations: 62.3 kB / 370.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.348e-05/2.287, allocations: 33.2 kB / 370.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/2.287, allocations: 0 / 370.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002628/2.287, allocations: 105.1 kB / 370.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/2.287, allocations: 3.875 kB / 370.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/2.287, allocations: 1.109 kB / 370.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/2.287, allocations: 4.281 kB / 370.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/2.289, allocations: 154.1 kB / 370.8 MB, free: 21.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/2.291, allocations: 1.338 MB / 372.1 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/2.292, allocations: 18.73 kB / 372.1 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/2.292, allocations: 15.44 kB / 372.1 MB, free: 19.77 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.0001087/2.292, allocations: 114.5 kB / 372.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/2.292, allocations: 11.69 kB / 372.3 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005524/2.292, allocations: 123.7 kB / 372.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/2.292, allocations: 3.938 kB / 372.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/2.292, allocations: 0 / 372.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/2.292, allocations: 0 / 372.4 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009119/2.293, allocations: 411.5 kB / 372.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/2.293, allocations: 0 / 372.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/2.294, allocations: 19.27 kB / 372.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005277/2.294, allocations: 55.92 kB / 372.9 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/2.294, allocations: 0 / 372.9 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/2.296, allocations: 1.306 MB / 374.2 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.296, allocations: 0 / 374.2 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006537/2.297, allocations: 269.9 kB / 374.4 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008588/2.297, allocations: 0.6629 MB / 375.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/2.297, allocations: 90.2 kB / 375.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/2.298, allocations: 1.781 kB / 375.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/2.298, allocations: 11.06 kB / 375.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/2.298, allocations: 9.344 kB / 375.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/2.298, allocations: 5.781 kB / 375.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001164/2.298, allocations: 123.7 kB / 375.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001319/2.299, allocations: 38.88 kB / 375.4 MB, free: 17.16 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.000155/2.3, allocations: 104.1 kB / 375.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002232/2.302, allocations: 187.9 kB / 375.7 MB, free: 17.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.302, allocations: 4.062 kB / 375.7 MB, free: 17.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/2.302, allocations: 141.8 kB / 375.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/2.302, allocations: 6.875 kB / 375.8 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/2.303, allocations: 293.8 kB / 376.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003816/2.304, allocations: 0.733 MB / 376.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/2.304, allocations: 3.938 kB / 376.8 MB, free: 16.05 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat does not exist to compare? outputFormat=mat