Running command: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.082/2.082, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.778e-05/4.788e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 49.71 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5034/0.6125, allocations: 85.02 MB / 414.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6128, allocations: 72.09 kB / 414.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07261/0.6854, allocations: 17.94 MB / 432.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.6855, allocations: 0 / 432.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.698e-05/0.6856, allocations: 12 kB / 432.3 MB, free: 15.55 MB / 362.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.002868/0.6884, allocations: 0.8251 MB / 433.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.6885, allocations: 8.031 kB / 433.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003351/0.6889, allocations: 128.2 kB / 433.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.6936, allocations: 450.4 kB / 433.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.6944, allocations: 375 kB / 434.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.6945, allocations: 51.5 kB / 434.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.6947, allocations: 65.38 kB / 434.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6966, allocations: 0.7129 MB / 434.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6967, allocations: 4 kB / 434.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6968, allocations: 26 kB / 434.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.6969, allocations: 16 kB / 434.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.6987, allocations: 0.6837 MB / 435.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006233/0.705, allocations: 2.63 MB / 438.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.7081, allocations: 1.962 MB / 440.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.7087, allocations: 210.3 kB / 440.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.7088, allocations: 97.91 kB / 440.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.7089, allocations: 38.94 kB / 440.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.897e-06/0.7089, allocations: 0 / 440.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001337/0.7103, allocations: 450.9 kB / 441 MB, free: 7.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.7103, allocations: 85.42 kB / 441.1 MB, free: 7.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.7108, allocations: 269.2 kB / 441.3 MB, free: 7.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.7109, allocations: 33.39 kB / 441.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.7111, allocations: 289.9 kB / 441.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.7113, allocations: 176.7 kB / 441.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.7114, allocations: 11.56 kB / 441.8 MB, free: 7.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.7116, allocations: 349.8 kB / 442.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.712, allocations: 162.8 kB / 442.3 MB, free: 6.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.7126, allocations: 348.1 kB / 442.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.7132, allocations: 217.6 kB / 442.9 MB, free: 6.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.7132, allocations: 4 kB / 442.9 MB, free: 6.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001705/0.7149, allocations: 0.5944 MB / 443.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001078/0.716, allocations: 2.359 MB / 445.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7161, allocations: 7.938 kB / 445.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.7165, allocations: 57.33 kB / 445.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.7176, allocations: 145.5 kB / 446.1 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.7197, allocations: 1.6 MB / 447.7 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.7205, allocations: 81.83 kB / 447.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.7206, allocations: 31.55 kB / 447.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7207, allocations: 4 kB / 447.8 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001498/0.7222, allocations: 0.5488 MB / 448.3 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7222, allocations: 7.938 kB / 448.3 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.7225, allocations: 54.45 kB / 448.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009626/0.7234, allocations: 131.7 kB / 448.5 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.7253, allocations: 1.498 MB / 450 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/0.7261, allocations: 69.55 kB / 450.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.7262, allocations: 31.73 kB / 450.1 MB, free: 15.31 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.000234/0.7264, allocations: 146 kB / 450.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.7266, allocations: 39.48 kB / 450.3 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.7281, allocations: 0.5318 MB / 450.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7282, allocations: 4 kB / 450.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7282, allocations: 0 / 450.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.7282, allocations: 4.172 kB / 450.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.7308, allocations: 1.195 MB / 452 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.7308, allocations: 0 / 452 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.7316, allocations: 95.45 kB / 452.1 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/0.732, allocations: 58.25 kB / 452.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.732, allocations: 9.688 kB / 452.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.7341, allocations: 1.57 MB / 453.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.7341, allocations: 0 / 453.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.7361, allocations: 0.7883 MB / 454.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/0.7364, allocations: 161.1 kB / 454.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/0.7365, allocations: 19.19 kB / 454.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.737, allocations: 31.22 kB / 454.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7372, allocations: 36.02 kB / 454.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.7372, allocations: 15.06 kB / 454.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003329/0.7376, allocations: 205.9 kB / 455 MB, free: 11.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7376, allocations: 0 / 455 MB, free: 11.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002527/0.7401, allocations: 291.7 kB / 455.3 MB, free: 10.91 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.004119/0.7443, allocations: 1.395 MB / 456.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00384/0.7482, allocations: 0.9641 MB / 457.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7483, allocations: 0 / 457.6 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.7495, allocations: 343.8 kB / 458 MB, free: 8.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/0.7503, allocations: 47.3 kB / 458 MB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.7559, allocations: 1.29 MB / 459.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.7565, allocations: 0.8614 MB / 460.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007761/0.7573, allocations: 87.41 kB / 460.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.7577, allocations: 171.4 kB / 460.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7577, allocations: 0 / 460.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.8229, allocations: 9.577 MB / 470 MB, free: 12.69 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.8233, allocations: 168.4 kB / 470.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.95/3.773, allocations: 0 / 470.2 MB, free: 12.46 MB / 394.7 MB