Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Graetz",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.773/1.773, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2406/2.014, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/2.109, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/2.482, allocations: 77.48 MB / 335.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/2.482, allocations: 75.02 kB / 335.6 MB, free: 10.6 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.2342/2.716, allocations: 37.42 MB / 373 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/2.716, allocations: 8 kB / 373 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/2.717, allocations: 130.4 kB / 373.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/2.72, allocations: 0.7151 MB / 373.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/2.72, allocations: 4 kB / 373.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/2.72, allocations: 23.91 kB / 373.8 MB, free: 9.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009213/2.721, allocations: 201 kB / 374 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/2.722, allocations: 266.4 kB / 374.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/2.722, allocations: 0 / 374.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/2.722, allocations: 0 / 374.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/2.722, allocations: 8 kB / 374.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/2.727, allocations: 1.14 MB / 375.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/2.728, allocations: 210.5 kB / 375.7 MB, free: 7.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/2.729, allocations: 272.7 kB / 375.9 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003003/2.732, allocations: 1.278 MB / 377.2 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/2.732, allocations: 30.56 kB / 377.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 5.44e-06/2.732, allocations: 0 / 377.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.006916/2.739, allocations: 1.155 MB / 378.4 MB, free: 4.594 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.739, allocations: 110.8 kB / 378.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/2.742, allocations: 0.709 MB / 379.2 MB, free: 3.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/2.742, allocations: 25.7 kB / 379.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/2.742, allocations: 201.5 kB / 379.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/2.742, allocations: 130 kB / 379.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/2.742, allocations: 0 / 379.6 MB, free: 3.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/2.743, allocations: 318 kB / 379.9 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/2.743, allocations: 104.3 kB / 380 MB, free: 2.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/2.744, allocations: 134.6 kB / 380.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/2.745, allocations: 140 kB / 380.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/2.745, allocations: 11.88 kB / 380.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00246/2.747, allocations: 465.9 kB / 380.7 MB, free: 2.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/2.747, allocations: 8 kB / 380.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.874e-05/2.747, allocations: 15.98 kB / 380.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/2.748, allocations: 73.72 kB / 380.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/2.748, allocations: 43.91 kB / 380.8 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/2.754, allocations: 2.866 MB / 383.7 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/2.755, allocations: 12.06 kB / 383.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/2.755, allocations: 15.98 kB / 383.7 MB, free: 14.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003319/2.755, allocations: 146.6 kB / 383.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/2.756, allocations: 122.5 kB / 384 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/2.76, allocations: 0.6709 MB / 384.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/2.761, allocations: 0 / 384.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/2.761, allocations: 4 kB / 384.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/2.761, allocations: 4 kB / 384.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/2.763, allocations: 0.5639 MB / 385.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.481e-05/2.763, allocations: 12 kB / 385.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/2.763, allocations: 43.91 kB / 385.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/2.764, allocations: 69.66 kB / 385.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/2.764, allocations: 8 kB / 385.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/2.769, allocations: 2.878 MB / 388.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.769, allocations: 0 / 388.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003218/2.772, allocations: 0.775 MB / 389 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00411/2.777, allocations: 1.331 MB / 390.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/2.778, allocations: 287.4 kB / 390.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/2.778, allocations: 4 kB / 390.6 MB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/2.779, allocations: 8 kB / 390.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/2.779, allocations: 23.88 kB / 390.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/2.779, allocations: 23.98 kB / 390.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001739/2.781, allocations: 0.5477 MB / 391.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004168/2.785, allocations: 251.8 kB / 391.5 MB, free: 6.805 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001661/2.787, allocations: 422.1 kB / 391.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/2.789, allocations: 0.6367 MB / 392.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/2.789, allocations: 0 / 392.5 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/2.79, allocations: 0.539 MB / 393.1 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/2.791, allocations: 74.3 kB / 393.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/2.797, allocations: 1.063 MB / 394.2 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/2.798, allocations: 1.06 MB / 395.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of SimCode: time 2.334e-06/2.798, allocations: 0 / 395.3 MB, free: 2.844 MB / 330.7 MB