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 1.952/1.952, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.143e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09146, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5573, allocations: 78.44 MB / 378.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/0.5578, allocations: 81.97 kB / 378.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09142/0.6492, allocations: 17.62 MB / 396.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6493, allocations: 0 / 396.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.6493, allocations: 11.66 kB / 396.1 MB, free: 10.51 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.003758/0.6531, allocations: 0.8348 MB / 396.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.6532, allocations: 7.844 kB / 397 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004225/0.6536, allocations: 122.4 kB / 397.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007056/0.6607, allocations: 453.5 kB / 397.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.6617, allocations: 347 kB / 397.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.6618, allocations: 55.72 kB / 397.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.662, allocations: 73.55 kB / 398 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.6646, allocations: 0.7843 MB / 398.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.6646, allocations: 3.906 kB / 398.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/0.6648, allocations: 30.69 kB / 398.8 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.6649, allocations: 19.44 kB / 398.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002637/0.6675, allocations: 0.8081 MB / 399.6 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008378/0.6759, allocations: 2.791 MB / 402.4 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003751/0.6797, allocations: 1.981 MB / 404.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.6807, allocations: 257 kB / 404.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.681, allocations: 92.14 kB / 404.7 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.6811, allocations: 42.44 kB / 404.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 7.033e-06/0.6811, allocations: 0 / 404.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001691/0.6828, allocations: 0.5213 MB / 405.3 MB, free: 5.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.6829, allocations: 90.55 kB / 405.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.6833, allocations: 266.6 kB / 405.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.6834, allocations: 35.61 kB / 405.7 MB, free: 5.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.6835, allocations: 286.3 kB / 406 MB, free: 5.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6837, allocations: 180 kB / 406.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.6838, allocations: 6.812 kB / 406.1 MB, free: 5.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.717e-05/0.6839, allocations: 347.9 kB / 406.5 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004787/0.6844, allocations: 200.9 kB / 406.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/0.685, allocations: 411.8 kB / 407.1 MB, free: 4.488 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.6856, allocations: 237 kB / 407.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6856, allocations: 0 / 407.3 MB, free: 4.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00172/0.6873, allocations: 0.7072 MB / 408 MB, free: 4.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.6885, allocations: 2.439 MB / 410.5 MB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.6885, allocations: 11.62 kB / 410.5 MB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.6889, allocations: 57.73 kB / 410.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.69, allocations: 146.7 kB / 410.7 MB, free: 17.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.6921, allocations: 1.59 MB / 412.3 MB, free: 16.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.693, allocations: 84.67 kB / 412.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.6931, allocations: 29.98 kB / 412.4 MB, free: 16.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6931, allocations: 7.672 kB / 412.4 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001611/0.6947, allocations: 0.6509 MB / 413 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6948, allocations: 3.875 kB / 413 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.6951, allocations: 57.12 kB / 413.1 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009274/0.696, allocations: 135.7 kB / 413.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.6978, allocations: 1.515 MB / 414.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007231/0.6985, allocations: 68.78 kB / 414.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.6986, allocations: 30.64 kB / 414.8 MB, free: 14.66 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.0002655/0.6989, allocations: 137.7 kB / 415 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.699, allocations: 50.2 kB / 415 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.7007, allocations: 0.6107 MB / 415.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.7007, allocations: 11.25 kB / 415.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7008, allocations: 0 / 415.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.7008, allocations: 3.984 kB / 415.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.7036, allocations: 1.348 MB / 417 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7037, allocations: 0 / 417 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/0.7044, allocations: 93.94 kB / 417.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.7047, allocations: 54.08 kB / 417.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.7048, allocations: 14.95 kB / 417.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.7067, allocations: 1.584 MB / 418.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7068, allocations: 0 / 418.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.7089, allocations: 0.9312 MB / 419.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.7092, allocations: 152.7 kB / 419.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.7093, allocations: 19.44 kB / 419.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.7099, allocations: 30.48 kB / 419.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.7101, allocations: 39.44 kB / 419.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.7101, allocations: 19.08 kB / 419.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002967/0.7104, allocations: 200.9 kB / 420.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7104, allocations: 0 / 420.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00132/0.7118, allocations: 289.8 kB / 420.4 MB, free: 11.79 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.002522/0.7143, allocations: 1.531 MB / 421.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.7168, allocations: 1.125 MB / 423.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7168, allocations: 1.312 kB / 423.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008203/0.7177, allocations: 400.9 kB / 423.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.7182, allocations: 41.61 kB / 423.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.723, allocations: 1.297 MB / 424.8 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.7236, allocations: 0.8578 MB / 425.7 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002096/0.7257, allocations: 1.096 MB / 426.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/0.7262, allocations: 182.1 kB / 426.9 MB, free: 8.637 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7262, allocations: 0 / 426.9 MB, free: 8.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.8328, allocations: 9.868 MB / 436.8 MB, free: 3.902 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/0.8332, allocations: 194.6 kB / 437 MB, free: 3.676 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.793, allocations: 0 / 437 MB, free: 3.676 MB / 330.7 MB