Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",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.83/1.83, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2731/2.103, allocations: 46.84 MB / 249.3 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/2.192, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/2.471, allocations: 77.71 MB / 371.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/2.471, allocations: 79.91 kB / 371.6 MB, free: 7.129 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.07018/2.541, allocations: 17.93 MB / 389.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/2.541, allocations: 7.75 kB / 389.6 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00511/2.546, allocations: 496.3 kB / 390.1 MB, free: 1.211 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/2.547, allocations: 351.2 kB / 390.4 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/2.547, allocations: 21.19 kB / 390.4 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/2.547, allocations: 37.34 kB / 390.5 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/2.549, allocations: 0.6439 MB / 391.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/2.551, allocations: 0.5937 MB / 391.7 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/2.551, allocations: 3.906 kB / 391.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/2.551, allocations: 0 / 391.7 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/2.551, allocations: 23 kB / 391.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006741/2.558, allocations: 2.794 MB / 394.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/2.559, allocations: 447.7 kB / 395 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004332/2.559, allocations: 191.2 kB / 395.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/2.559, allocations: 93.53 kB / 395.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/2.56, allocations: 36.97 kB / 395.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.597e-06/2.56, allocations: 3.938 kB / 395.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001799/2.561, allocations: 471.8 kB / 395.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/2.561, allocations: 82.61 kB / 395.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/2.562, allocations: 197.4 kB / 396 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/2.562, allocations: 25.7 kB / 396 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/2.562, allocations: 287.8 kB / 396.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/2.562, allocations: 167 kB / 396.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/2.562, allocations: 3.938 kB / 396.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/2.563, allocations: 348.3 kB / 396.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/2.563, allocations: 159.1 kB / 397 MB, free: 13.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/2.564, allocations: 345.3 kB / 397.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/2.565, allocations: 242 kB / 397.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/2.565, allocations: 2.531 kB / 397.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002144/2.567, allocations: 0.598 MB / 398.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00111/2.568, allocations: 2.359 MB / 400.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/2.568, allocations: 6.125 kB / 400.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/2.569, allocations: 57.05 kB / 400.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/2.57, allocations: 138.5 kB / 400.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/2.572, allocations: 1.513 MB / 402.2 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/2.573, allocations: 63.17 kB / 402.3 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/2.573, allocations: 34.11 kB / 402.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/2.573, allocations: 3.938 kB / 402.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002083/2.575, allocations: 0.5302 MB / 402.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/2.575, allocations: 10.52 kB / 402.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/2.575, allocations: 53.12 kB / 402.9 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/2.577, allocations: 128.7 kB / 403 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/2.578, allocations: 1.44 MB / 404.5 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/2.579, allocations: 48.22 kB / 404.5 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/2.579, allocations: 33.92 kB / 404.6 MB, free: 7.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002905/2.58, allocations: 120.7 kB / 404.7 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/2.58, allocations: 39.36 kB / 404.7 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/2.582, allocations: 0.5606 MB / 405.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00135/2.583, allocations: 442.2 kB / 405.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/2.583, allocations: 5.312 kB / 405.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/2.583, allocations: 3.984 kB / 405.7 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/2.586, allocations: 1.164 MB / 406.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/2.586, allocations: 0 / 406.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/2.587, allocations: 91.42 kB / 407 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000333/2.588, allocations: 52.14 kB / 407 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/2.588, allocations: 6.828 kB / 407 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/2.59, allocations: 1.503 MB / 408.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.59, allocations: 1.531 kB / 408.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002376/2.592, allocations: 0.8086 MB / 409.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004156/2.596, allocations: 1.879 MB / 411.2 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/2.597, allocations: 158.1 kB / 411.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/2.597, allocations: 0.9062 kB / 411.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005997/2.597, allocations: 25.83 kB / 411.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/2.598, allocations: 28.14 kB / 411.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/2.598, allocations: 19.08 kB / 411.4 MB, free: 4.465 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001966/2.598, allocations: 142.4 kB / 411.6 MB, free: 4.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003315/2.601, allocations: 284.7 kB / 411.9 MB, free: 4.312 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004079/2.602, allocations: 147.2 kB / 412 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002579/2.604, allocations: 1.003 MB / 413 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.604, allocations: 1.062 kB / 413 MB, free: 3.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007774/2.605, allocations: 335.1 kB / 413.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/2.606, allocations: 26.56 kB / 413.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/2.611, allocations: 1.209 MB / 414.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009033/2.612, allocations: 0.9073 MB / 415.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/2.612, allocations: 0 / 415.5 MB, free: 2.48 MB / 314.7 MB