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.009/2.009, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.901e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09866, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5635, allocations: 78.45 MB / 378.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.5638, allocations: 80.31 kB / 378.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06557/0.6294, allocations: 17.61 MB / 396.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6295, allocations: 0 / 396.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.6295, allocations: 7.75 kB / 396.1 MB, free: 10.85 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.002689/0.6322, allocations: 0.8394 MB / 396.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.6323, allocations: 11.56 kB / 396.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/0.6326, allocations: 117.3 kB / 397 MB, free: 10.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.637, allocations: 458.3 kB / 397.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007812/0.6379, allocations: 344.5 kB / 397.8 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.638, allocations: 54.25 kB / 397.9 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.6381, allocations: 71.36 kB / 398 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.64, allocations: 0.7868 MB / 398.7 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/0.6401, allocations: 3.906 kB / 398.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.6402, allocations: 30.62 kB / 398.8 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.6402, allocations: 19.42 kB / 398.8 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.6422, allocations: 0.815 MB / 399.6 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.6485, allocations: 2.788 MB / 402.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.651, allocations: 1.976 MB / 404.4 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006009/0.6516, allocations: 255.2 kB / 404.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.6518, allocations: 97.08 kB / 404.7 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.6518, allocations: 38.25 kB / 404.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.697e-06/0.6519, allocations: 0 / 404.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001404/0.6533, allocations: 0.5287 MB / 405.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.6533, allocations: 85.23 kB / 405.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.6537, allocations: 264.4 kB / 405.6 MB, free: 5.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.6538, allocations: 32.2 kB / 405.7 MB, free: 5.867 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.654, allocations: 348 kB / 406 MB, free: 5.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6541, allocations: 173.9 kB / 406.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.6542, allocations: 14.16 kB / 406.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.6543, allocations: 337.2 kB / 406.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/0.6548, allocations: 209.7 kB / 406.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/0.6553, allocations: 393.9 kB / 407.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.6559, allocations: 246.9 kB / 407.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.6559, allocations: 0 / 407.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001674/0.6576, allocations: 0.695 MB / 408 MB, free: 4.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009252/0.6586, allocations: 2.44 MB / 410.5 MB, free: 18.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.6586, allocations: 3.75 kB / 410.5 MB, free: 18.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.659, allocations: 68.45 kB / 410.5 MB, free: 18.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.6601, allocations: 139.3 kB / 410.7 MB, free: 18.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6621, allocations: 1.593 MB / 412.3 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008373/0.663, allocations: 83.73 kB / 412.4 MB, free: 16.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.827e-05/0.6631, allocations: 32.86 kB / 412.4 MB, free: 16.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.6631, allocations: 7.891 kB / 412.4 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00153/0.6646, allocations: 0.6429 MB / 413 MB, free: 16.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6647, allocations: 7.531 kB / 413 MB, free: 16.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.6649, allocations: 59.73 kB / 413.1 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.6659, allocations: 137.9 kB / 413.2 MB, free: 16.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.6675, allocations: 1.499 MB / 414.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/0.6682, allocations: 59.41 kB / 414.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.6683, allocations: 33.95 kB / 414.8 MB, free: 15.06 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.0002527/0.6686, allocations: 144.7 kB / 415 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.6687, allocations: 39.06 kB / 415 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.6704, allocations: 0.6201 MB / 415.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.6704, allocations: 11.8 kB / 415.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6704, allocations: 0 / 415.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.6705, allocations: 3.938 kB / 415.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.6732, allocations: 1.338 MB / 417 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6733, allocations: 3.938 kB / 417 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.6741, allocations: 97.48 kB / 417.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/0.6744, allocations: 51.22 kB / 417.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.6745, allocations: 18.91 kB / 417.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.6763, allocations: 1.577 MB / 418.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6763, allocations: 0 / 418.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.6785, allocations: 0.9321 MB / 419.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003283/0.6788, allocations: 164.9 kB / 419.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.679, allocations: 14.45 kB / 419.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005638/0.6795, allocations: 30.89 kB / 419.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.6797, allocations: 42.56 kB / 419.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.6798, allocations: 19.27 kB / 419.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003009/0.6801, allocations: 199.5 kB / 420.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6801, allocations: 0 / 420.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001404/0.6815, allocations: 295.6 kB / 420.4 MB, free: 12.18 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.002484/0.684, allocations: 1.521 MB / 421.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.6866, allocations: 1.114 MB / 423 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6866, allocations: 0 / 423 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000819/0.6875, allocations: 408.1 kB / 423.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.688, allocations: 32.02 kB / 423.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.6929, allocations: 1.328 MB / 424.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.6934, allocations: 0.862 MB / 425.7 MB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.694, allocations: 190.8 kB / 425.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.694, allocations: 0 / 425.8 MB, free: 9.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.762/3.456, allocations: 10.62 MB / 436.5 MB, free: 4.234 MB / 330.7 MB