Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [: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(HanserModelica): time 1.94/1.94, allocations: 214.7 MB / 221.7 MB, free: 4.906 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.762e-06, allocations: 0 / 273.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08682, allocations: 49.7 MB / 323.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4236, allocations: 84.31 MB / 407.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4239, allocations: 71.53 kB / 407.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.06437/0.4882, allocations: 17.39 MB / 425.1 MB, free: 8.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.4883, allocations: 12 kB / 425.1 MB, free: 8.918 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002463/0.4908, allocations: 0.8354 MB / 425.9 MB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4909, allocations: 15.97 kB / 426 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005453/0.4963, allocations: 484.3 kB / 426.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.4972, allocations: 365.8 kB / 426.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.4972, allocations: 24 kB / 426.8 MB, free: 7.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.4974, allocations: 39.91 kB / 426.9 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/0.4991, allocations: 0.6545 MB / 427.5 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5005, allocations: 0.5936 MB / 428.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.5006, allocations: 0 / 428.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-05/0.5007, allocations: 4 kB / 428.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.5007, allocations: 16 kB / 428.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.5065, allocations: 2.811 MB / 430.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.5076, allocations: 461 kB / 431.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.508, allocations: 185 kB / 431.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.5082, allocations: 100.7 kB / 431.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.5083, allocations: 38.31 kB / 431.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.927e-06/0.5083, allocations: 0 / 431.7 MB, free: 3.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001581/0.5099, allocations: 452.3 kB / 432.1 MB, free: 3.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.51, allocations: 92.8 kB / 432.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.5103, allocations: 193.6 kB / 432.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.579e-05/0.5104, allocations: 25.7 kB / 432.4 MB, free: 2.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5106, allocations: 283.2 kB / 432.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.5108, allocations: 180 kB / 432.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.5109, allocations: 0 / 432.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5111, allocations: 344.7 kB / 433.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.5114, allocations: 152.1 kB / 433.4 MB, free: 1.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.512, allocations: 355.6 kB / 433.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5131, allocations: 229.2 kB / 434 MB, free: 1.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.5132, allocations: 0 / 434 MB, free: 1.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001997/0.5152, allocations: 0.5964 MB / 434.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001336/0.5165, allocations: 2.349 MB / 436.9 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.5166, allocations: 12 kB / 436.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003449/0.5169, allocations: 64.31 kB / 437 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.5178, allocations: 135.6 kB / 437.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.5199, allocations: 1.504 MB / 438.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/0.5206, allocations: 67.42 kB / 438.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.248e-05/0.5207, allocations: 39.3 kB / 438.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5208, allocations: 7.938 kB / 438.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001797/0.5226, allocations: 0.5294 MB / 439.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.5226, allocations: 8 kB / 439.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.5229, allocations: 56.67 kB / 439.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/0.5236, allocations: 134.5 kB / 439.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.5254, allocations: 1.431 MB / 440.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.526, allocations: 47.52 kB / 440.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.5261, allocations: 30.81 kB / 441 MB, free: 10.54 MB / 362.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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002248/0.5263, allocations: 120.9 kB / 441.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5265, allocations: 35.61 kB / 441.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.5281, allocations: 0.5241 MB / 441.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.5282, allocations: 11.55 kB / 441.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.5282, allocations: 7.906 kB / 441.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5282, allocations: 3.984 kB / 441.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002609/0.5308, allocations: 1.139 MB / 442.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.599e-06/0.5309, allocations: 0 / 442.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/0.5315, allocations: 95.2 kB / 442.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.5318, allocations: 45.14 kB / 442.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.5318, allocations: 7.25 kB / 442.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.5338, allocations: 1.498 MB / 444.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-06/0.5338, allocations: 4 kB / 444.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001875/0.5357, allocations: 0.7811 MB / 445.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.536, allocations: 152.3 kB / 445.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.5361, allocations: 4 kB / 445.4 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.5366, allocations: 32 kB / 445.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.5367, allocations: 27.45 kB / 445.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.5367, allocations: 14.75 kB / 445.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001919/0.5369, allocations: 148.2 kB / 445.6 MB, free: 6.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001418/0.5384, allocations: 264.2 kB / 445.9 MB, free: 6.27 MB / 362.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003119/0.5387, allocations: 151 kB / 446 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.5407, allocations: 0.9494 MB / 446.9 MB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.052e-06/0.5407, allocations: 4.062 kB / 447 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.5414, allocations: 326.6 kB / 447.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.5418, allocations: 27.19 kB / 447.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.5468, allocations: 1.219 MB / 448.5 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/0.5477, allocations: 0.8975 MB / 449.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.82e-06/0.5477, allocations: 4 kB / 449.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of Templates: time 0.02157/0.5693, allocations: 8.008 MB / 457.4 MB, free: 11.19 MB / 378.7 MB