Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") Notification: Performance of loadModel(HanserModelica): time 2.015/2.015, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.796e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08803, allocations: 49.7 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4612, allocations: 84.99 MB / 414.2 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4614, allocations: 72.27 kB / 414.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06487/0.5263, allocations: 17.94 MB / 432.2 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.5264, allocations: 0 / 432.2 MB, free: 112 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.58e-05/0.5264, allocations: 8 kB / 432.2 MB, free: 104 kB / 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.002262/0.5287, allocations: 0.826 MB / 433 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.5287, allocations: 8.031 kB / 433 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/0.5328, allocations: 461.5 kB / 433.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.5335, allocations: 359.5 kB / 433.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.5336, allocations: 55.52 kB / 433.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.5338, allocations: 64.69 kB / 433.9 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.5354, allocations: 0.7096 MB / 434.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5355, allocations: 0 / 434.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.5356, allocations: 30.31 kB / 434.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.5356, allocations: 16 kB / 434.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.5372, allocations: 0.6775 MB / 435.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.5424, allocations: 2.618 MB / 438 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.5449, allocations: 1.949 MB / 439.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.5454, allocations: 221.9 kB / 440.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.5456, allocations: 97.91 kB / 440.2 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5456, allocations: 34.69 kB / 440.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.886e-06/0.5456, allocations: 0 / 440.3 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001213/0.5468, allocations: 450.9 kB / 440.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.547, allocations: 85.55 kB / 440.8 MB, free: 8.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/0.5476, allocations: 272.1 kB / 441.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.5477, allocations: 31.89 kB / 441.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.5479, allocations: 286 kB / 441.4 MB, free: 8.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.5481, allocations: 180.6 kB / 441.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.5482, allocations: 10.31 kB / 441.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.5484, allocations: 348.2 kB / 441.9 MB, free: 7.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.5488, allocations: 157.2 kB / 442.1 MB, free: 7.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.5493, allocations: 352.8 kB / 442.4 MB, free: 7.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.5498, allocations: 212.6 kB / 442.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.087e-06/0.5498, allocations: 0 / 442.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001469/0.5513, allocations: 0.6069 MB / 443.2 MB, free: 6.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001265/0.5526, allocations: 2.354 MB / 445.6 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.5526, allocations: 8 kB / 445.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.553, allocations: 67.58 kB / 445.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.554, allocations: 142.4 kB / 445.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.5563, allocations: 1.594 MB / 447.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.557, allocations: 78.2 kB / 447.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.5571, allocations: 34.92 kB / 447.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5571, allocations: 4 kB / 447.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001327/0.5584, allocations: 0.548 MB / 448 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.5585, allocations: 4 kB / 448 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.5587, allocations: 67.09 kB / 448.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.5594, allocations: 126.9 kB / 448.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.5612, allocations: 1.503 MB / 449.7 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.5618, allocations: 66.23 kB / 449.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/0.5619, allocations: 31.81 kB / 449.8 MB, free: 15.97 MB / 378.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.0002267/0.5622, allocations: 146.3 kB / 450 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.5623, allocations: 31.62 kB / 450 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.5637, allocations: 0.5404 MB / 450.5 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.5637, allocations: 4 kB / 450.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.078e-06/0.5637, allocations: 4 kB / 450.5 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5637, allocations: 3.984 kB / 450.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.5661, allocations: 1.186 MB / 451.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.497e-06/0.5661, allocations: 0 / 451.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.5667, allocations: 91.2 kB / 451.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002479/0.5669, allocations: 55.08 kB / 451.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/0.567, allocations: 10.94 kB / 451.9 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.5689, allocations: 1.582 MB / 453.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-06/0.569, allocations: 0 / 453.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.5706, allocations: 0.7908 MB / 454.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.5709, allocations: 160.4 kB / 454.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.571, allocations: 10.88 kB / 454.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.5714, allocations: 26.73 kB / 454.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.5715, allocations: 36.31 kB / 454.5 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.5716, allocations: 15.5 kB / 454.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.572, allocations: 209.9 kB / 454.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.52e-06/0.572, allocations: 0 / 454.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002096/0.5741, allocations: 282.3 kB / 455 MB, free: 11.57 MB / 378.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.0003402/0.5745, allocations: 165.5 kB / 455.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.5767, allocations: 0.9676 MB / 456.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5767, allocations: 0 / 456.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.5774, allocations: 343.2 kB / 456.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.5779, allocations: 47.75 kB / 456.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.5824, allocations: 1.172 MB / 457.7 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.5831, allocations: 0.8497 MB / 458.5 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006518/0.5837, allocations: 99.39 kB / 458.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.5839, allocations: 35.44 kB / 458.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/0.5839, allocations: 0 / 458.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Templates: time 0.01608/0.6, allocations: 5.539 MB / 464.2 MB, free: 2.574 MB / 378.7 MB