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"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.546e-05/4.545e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.566, allocations: 78.45 MB / 378.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5664, allocations: 80.48 kB / 378.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06951/0.6359, allocations: 17.62 MB / 396.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.636, allocations: 0 / 396.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.636, allocations: 7.5 kB / 396.1 MB, free: 10.83 MB / 314.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.003033/0.639, allocations: 0.8375 MB / 397 MB, free: 10.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.6391, allocations: 11.78 kB / 397 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004021/0.6395, allocations: 120 kB / 397.1 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004699/0.6443, allocations: 459.2 kB / 397.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008056/0.6451, allocations: 344.1 kB / 397.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.6452, allocations: 48.62 kB / 397.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6454, allocations: 70.16 kB / 398 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.6475, allocations: 0.7784 MB / 398.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.6476, allocations: 11.83 kB / 398.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.6477, allocations: 25.94 kB / 398.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-05/0.6478, allocations: 19.34 kB / 398.8 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.65, allocations: 0.8027 MB / 399.6 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006637/0.6567, allocations: 2.795 MB / 402.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.6591, allocations: 1.961 MB / 404.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.6598, allocations: 270.2 kB / 404.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.66, allocations: 92.7 kB / 404.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.66, allocations: 38.88 kB / 404.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.156e-06/0.66, allocations: 0 / 404.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001443/0.6615, allocations: 0.5259 MB / 405.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.6616, allocations: 81.3 kB / 405.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.662, allocations: 269.1 kB / 405.7 MB, free: 5.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/0.6621, allocations: 35.33 kB / 405.7 MB, free: 5.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.6623, allocations: 284.8 kB / 406 MB, free: 5.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.6625, allocations: 182.8 kB / 406.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.6625, allocations: 14.38 kB / 406.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.6626, allocations: 347.2 kB / 406.5 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.6631, allocations: 199.6 kB / 406.7 MB, free: 5.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.6637, allocations: 397 kB / 407.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005743/0.6643, allocations: 248.5 kB / 407.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.964e-06/0.6643, allocations: 0 / 407.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001742/0.6661, allocations: 0.6867 MB / 408 MB, free: 4.586 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001032/0.6672, allocations: 2.438 MB / 410.4 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.6672, allocations: 11.75 kB / 410.5 MB, free: 18.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.6677, allocations: 61.33 kB / 410.5 MB, free: 18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.6688, allocations: 143.9 kB / 410.7 MB, free: 17.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.671, allocations: 1.587 MB / 412.2 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.672, allocations: 81.33 kB / 412.3 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.6721, allocations: 34.64 kB / 412.4 MB, free: 16.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.6722, allocations: 9.797 kB / 412.4 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/0.6739, allocations: 0.6301 MB / 413 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.674, allocations: 3.875 kB / 413 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.6742, allocations: 57.45 kB / 413.1 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.6753, allocations: 143 kB / 413.2 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.6772, allocations: 1.51 MB / 414.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/0.6781, allocations: 62.2 kB / 414.8 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.6783, allocations: 33.8 kB / 414.8 MB, free: 14.98 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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.0002805/0.6785, allocations: 142.7 kB / 414.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.6787, allocations: 39 kB / 415 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.6804, allocations: 0.6195 MB / 415.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6805, allocations: 11.72 kB / 415.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6805, allocations: 3.938 kB / 415.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6805, allocations: 3.984 kB / 415.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00304/0.6836, allocations: 1.34 MB / 417 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.6836, allocations: 4 kB / 417 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.6845, allocations: 97.62 kB / 417.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000304/0.6848, allocations: 54.2 kB / 417.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.6849, allocations: 14.23 kB / 417.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.6869, allocations: 1.569 MB / 418.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.687, allocations: 0 / 418.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.6892, allocations: 0.9338 MB / 419.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.6896, allocations: 158 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6897, allocations: 10.52 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.6903, allocations: 38.59 kB / 419.8 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.6905, allocations: 37.89 kB / 419.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.6905, allocations: 20.86 kB / 419.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.6909, allocations: 202 kB / 420.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6909, allocations: 0 / 420.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001551/0.6925, allocations: 290.4 kB / 420.4 MB, free: 12.11 MB / 330.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.00277/0.6953, allocations: 1.53 MB / 421.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.698, allocations: 1.09 MB / 423 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.6981, allocations: 0 / 423 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.6989, allocations: 391.2 kB / 423.4 MB, free: 10.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.6995, allocations: 36.64 kB / 423.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005378/0.7049, allocations: 1.302 MB / 424.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.7054, allocations: 0.8563 MB / 425.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002122/0.7076, allocations: 1.094 MB / 426.7 MB, free: 9.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004566/0.7081, allocations: 186.6 kB / 426.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7081, allocations: 0 / 426.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.7482, allocations: 9.808 MB / 436.6 MB, free: 4.289 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.7486, allocations: 193.3 kB / 436.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.604, allocations: 4 kB / 436.8 MB, free: 4.055 MB / 330.7 MB