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.282/2.282, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.642e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3895, allocations: 44.5 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.5329, allocations: 77.79 MB / 372 MB, free: 4.098 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5333, allocations: 79.95 kB / 372.1 MB, free: 4.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08415/0.6174, allocations: 17.38 MB / 389.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6175, allocations: 0 / 389.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.76e-05/0.6176, allocations: 8 kB / 389.5 MB, free: 2.453 MB / 330.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.0039/0.6215, allocations: 0.8421 MB / 390.3 MB, free: 1.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.6216, allocations: 8.031 kB / 390.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006746/0.6283, allocations: 454.8 kB / 390.8 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.6295, allocations: 350.7 kB / 391.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.6296, allocations: 24 kB / 391.1 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.6298, allocations: 36 kB / 391.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003043/0.6329, allocations: 0.7733 MB / 391.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.6355, allocations: 0.6611 MB / 392.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.6356, allocations: 7.984 kB / 392.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.6357, allocations: 0 / 392.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.6358, allocations: 23.98 kB / 392.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009098/0.6449, allocations: 2.593 MB / 395.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.6479, allocations: 1.889 MB / 397.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.6485, allocations: 186.2 kB / 397.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.6487, allocations: 97.86 kB / 397.4 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.6488, allocations: 42.94 kB / 397.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 5.45e-06/0.6488, allocations: 0 / 397.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0018/0.6506, allocations: 464.4 kB / 397.9 MB, free: 9.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.6507, allocations: 81.55 kB / 398 MB, free: 9.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.6512, allocations: 276.3 kB / 398.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.6513, allocations: 29.7 kB / 398.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.6516, allocations: 361.7 kB / 398.6 MB, free: 8.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.6518, allocations: 165.6 kB / 398.8 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.6519, allocations: 0 / 398.8 MB, free: 8.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6521, allocations: 338.8 kB / 399.1 MB, free: 8.121 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.6526, allocations: 193.5 kB / 399.3 MB, free: 7.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/0.6533, allocations: 387 kB / 399.7 MB, free: 7.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.6546, allocations: 327.6 kB / 400 MB, free: 7.145 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.6547, allocations: 4 kB / 400 MB, free: 7.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002486/0.6572, allocations: 0.7207 MB / 400.7 MB, free: 6.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001162/0.6584, allocations: 2.437 MB / 403.2 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.6584, allocations: 7.953 kB / 403.2 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.6589, allocations: 60.84 kB / 403.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.66, allocations: 139.8 kB / 403.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.6622, allocations: 1.537 MB / 404.9 MB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.6631, allocations: 59.42 kB / 404.9 MB, free: 1.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.6633, allocations: 35.98 kB / 405 MB, free: 1.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6633, allocations: 7.938 kB / 405 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002431/0.6657, allocations: 0.6607 MB / 405.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.6658, allocations: 11.98 kB / 405.7 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.666, allocations: 52.84 kB / 405.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.6671, allocations: 136.2 kB / 405.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.669, allocations: 1.448 MB / 407.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.6697, allocations: 39.53 kB / 407.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.282e-05/0.6699, allocations: 35.98 kB / 407.4 MB, free: 15.31 MB / 362.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.000257/0.6701, allocations: 129.9 kB / 407.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001713/0.6719, allocations: 468.5 kB / 408 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.672, allocations: 27.62 kB / 408 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.674, allocations: 0.5356 MB / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.674, allocations: 4 kB / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6741, allocations: 0 / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.6741, allocations: 0 / 408.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.6772, allocations: 1.125 MB / 409.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6772, allocations: 0 / 409.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.678, allocations: 87.89 kB / 409.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.6783, allocations: 48.77 kB / 409.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.6784, allocations: 11.98 kB / 409.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.6804, allocations: 1.514 MB / 411.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.6804, allocations: 8.016 kB / 411.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.6828, allocations: 0.7763 MB / 412.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/0.6831, allocations: 144.7 kB / 412.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.6832, allocations: 0 / 412.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.6837, allocations: 28.03 kB / 412.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.6839, allocations: 36.33 kB / 412.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.684, allocations: 12 kB / 412.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003349/0.6843, allocations: 200.5 kB / 412.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6843, allocations: 0 / 412.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001645/0.686, allocations: 278.8 kB / 412.8 MB, free: 9.684 MB / 362.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 (46): * Single equations (assignments): 43 * 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.002755/0.6888, allocations: 1.356 MB / 414.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.6914, allocations: 0.995 MB / 415.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6914, allocations: 0 / 415.1 MB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.6922, allocations: 323.2 kB / 415.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.6927, allocations: 23.56 kB / 415.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.6981, allocations: 1.228 MB / 416.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.6987, allocations: 0.8489 MB / 417.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005157/0.6993, allocations: 183.3 kB / 417.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6993, allocations: 4 kB / 417.7 MB, free: 4.605 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.034/3.733, allocations: 9.795 MB / 427.5 MB, free: 101.2 MB / 362.7 MB