Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.545e-05, allocations: 0 / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09524, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5347, allocations: 78.45 MB / 378.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.535, allocations: 80.59 kB / 378.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06444/0.5994, allocations: 17.62 MB / 396.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5995, allocations: 4 kB / 396.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.5995, allocations: 11.62 kB / 396.1 MB, free: 10.88 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.002605/0.6021, allocations: 0.8353 MB / 397 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6022, allocations: 11.59 kB / 397 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.6025, allocations: 119.2 kB / 397.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.6069, allocations: 450.2 kB / 397.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.6076, allocations: 353 kB / 397.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.557e-05/0.6076, allocations: 52.41 kB / 397.9 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.6078, allocations: 69.61 kB / 398 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.6096, allocations: 0.7808 MB / 398.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.6097, allocations: 3.906 kB / 398.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.6098, allocations: 23.19 kB / 398.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.6098, allocations: 27.14 kB / 398.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.6116, allocations: 0.8039 MB / 399.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/0.6175, allocations: 2.786 MB / 402.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.6198, allocations: 1.964 MB / 404.4 MB, free: 6.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.6203, allocations: 260.9 kB / 404.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.6205, allocations: 95.72 kB / 404.7 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.6205, allocations: 42.44 kB / 404.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.437e-06/0.6205, allocations: 3.938 kB / 404.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001359/0.6219, allocations: 0.5213 MB / 405.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.622, allocations: 85.36 kB / 405.4 MB, free: 6.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.6223, allocations: 267.2 kB / 405.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.6224, allocations: 40.27 kB / 405.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.6226, allocations: 344 kB / 406 MB, free: 5.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.6227, allocations: 174.7 kB / 406.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.6228, allocations: 16.28 kB / 406.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.6229, allocations: 330.3 kB / 406.5 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.6234, allocations: 203.1 kB / 406.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.6239, allocations: 400.2 kB / 407.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.6245, allocations: 241.4 kB / 407.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.6245, allocations: 0 / 407.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001601/0.6261, allocations: 0.6708 MB / 408 MB, free: 4.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009246/0.6271, allocations: 2.443 MB / 410.5 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.6271, allocations: 7.75 kB / 410.5 MB, free: 18.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.6275, allocations: 65.59 kB / 410.5 MB, free: 18.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6286, allocations: 144.1 kB / 410.7 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.6306, allocations: 1.589 MB / 412.3 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/0.6315, allocations: 77.42 kB / 412.3 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.6316, allocations: 38.73 kB / 412.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.6316, allocations: 11.83 kB / 412.4 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001521/0.6331, allocations: 0.6218 MB / 413 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6331, allocations: 7.75 kB / 413 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.6333, allocations: 54.2 kB / 413.1 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.6343, allocations: 141.8 kB / 413.2 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.6359, allocations: 1.498 MB / 414.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/0.6367, allocations: 61.84 kB / 414.8 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.6367, allocations: 33.95 kB / 414.8 MB, free: 15.09 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.0002436/0.637, allocations: 138.6 kB / 414.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.6371, allocations: 38.66 kB / 415 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.6387, allocations: 0.618 MB / 415.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6387, allocations: 7.703 kB / 415.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6388, allocations: 7.906 kB / 415.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.6388, allocations: 0 / 415.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.6415, allocations: 1.335 MB / 416.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.6415, allocations: 0 / 416.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.6423, allocations: 111.7 kB / 417 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.6426, allocations: 43.44 kB / 417.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.6427, allocations: 18.36 kB / 417.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.6444, allocations: 1.579 MB / 418.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6444, allocations: 7.875 kB / 418.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.6464, allocations: 0.9326 MB / 419.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.6467, allocations: 162.9 kB / 419.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.6468, allocations: 15.02 kB / 419.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.6474, allocations: 26.55 kB / 419.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.6475, allocations: 43.56 kB / 419.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.6476, allocations: 19.17 kB / 419.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.6479, allocations: 197.6 kB / 420.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6479, allocations: 3.875 kB / 420.1 MB, free: 12.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00143/0.6493, allocations: 294 kB / 420.4 MB, free: 12.21 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.002428/0.6518, allocations: 1.518 MB / 421.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.6542, allocations: 1.083 MB / 423 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6542, allocations: 4.125 kB / 423 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.655, allocations: 389.7 kB / 423.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.6555, allocations: 35.14 kB / 423.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.6604, allocations: 1.33 MB / 424.7 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.6609, allocations: 0.8571 MB / 425.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.6614, allocations: 195.7 kB / 425.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6615, allocations: 0 / 425.8 MB, free: 9.621 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.85/3.512, allocations: 10.59 MB / 436.4 MB, free: 4.324 MB / 330.7 MB