Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.565e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09653, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4145/0.511, allocations: 82.04 MB / 382 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5113, allocations: 71.84 kB / 382.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1424/0.6537, allocations: 36.52 MB / 418.6 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6538, allocations: 4 kB / 418.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.6538, allocations: 15.47 kB / 418.6 MB, free: 5.012 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002216/0.656, allocations: 1.18 MB / 419.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6561, allocations: 7.75 kB / 419.8 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.6562, allocations: 63.52 kB / 419.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.6564, allocations: 132.2 kB / 420 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.6578, allocations: 0.7121 MB / 420.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.6579, allocations: 19.88 kB / 420.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.6579, allocations: 22.62 kB / 420.7 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.6586, allocations: 294.3 kB / 421 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.6587, allocations: 0 / 421 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.6587, allocations: 11.56 kB / 421 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.6588, allocations: 3.875 kB / 421 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.6592, allocations: 208.6 kB / 421.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.6619, allocations: 1.19 MB / 422.4 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.6624, allocations: 222.8 kB / 422.7 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006356/0.6631, allocations: 295.9 kB / 422.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.6648, allocations: 1.277 MB / 424.2 MB, free: 1.422 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.6649, allocations: 34 kB / 424.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.885e-06/0.6649, allocations: 0 / 424.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003241/0.6682, allocations: 1.249 MB / 425.5 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.6683, allocations: 110.4 kB / 425.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.6695, allocations: 0.7683 MB / 426.4 MB, free: 392 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.6696, allocations: 28.58 kB / 426.4 MB, free: 360 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.6699, allocations: 352.7 kB / 426.8 MB, free: 180 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.67, allocations: 128 kB / 426.9 MB, free: 80 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.67, allocations: 7.812 kB / 426.9 MB, free: 76 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6702, allocations: 326 kB / 427.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.6705, allocations: 106.1 kB / 427.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.6708, allocations: 141 kB / 427.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.6712, allocations: 157.9 kB / 427.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6712, allocations: 0 / 427.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001154/0.6724, allocations: 430.3 kB / 428 MB, free: 15.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.6725, allocations: 36.86 kB / 428.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/0.6725, allocations: 13.58 kB / 428.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003513/0.6729, allocations: 78.16 kB / 428.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.6733, allocations: 46.42 kB / 428.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.6765, allocations: 2.982 MB / 431.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.6773, allocations: 19.12 kB / 431.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.6774, allocations: 23.12 kB / 431.2 MB, free: 12.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.6776, allocations: 152.4 kB / 431.4 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.6778, allocations: 119.9 kB / 431.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.68, allocations: 0.6654 MB / 432.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.68, allocations: 3.875 kB / 432.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.68, allocations: 0 / 432.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.6801, allocations: 7.922 kB / 432.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.6813, allocations: 0.6135 MB / 432.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.019e-05/0.6814, allocations: 11.16 kB / 432.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.6818, allocations: 37.91 kB / 432.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.6821, allocations: 66.56 kB / 432.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.076e-05/0.6822, allocations: 19.42 kB / 432.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/0.6854, allocations: 2.977 MB / 435.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6855, allocations: 0 / 435.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.6874, allocations: 0.8117 MB / 436.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006974/0.6881, allocations: 281.3 kB / 437 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6883, allocations: 8.562 kB / 437 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000525/0.6889, allocations: 13.89 kB / 437 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.689, allocations: 36.2 kB / 437 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.6891, allocations: 18.52 kB / 437 MB, free: 8.559 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.6902, allocations: 0.6032 MB / 437.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6903, allocations: 3.125 kB / 437.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001484/0.6918, allocations: 260.2 kB / 437.9 MB, free: 8.348 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003097/0.6949, allocations: 1.645 MB / 439.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.6963, allocations: 0.7164 MB / 440.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6964, allocations: 0 / 440.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.6973, allocations: 0.5796 MB / 440.8 MB, free: 6.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007673/0.6981, allocations: 99.47 kB / 440.9 MB, free: 6.148 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.7018, allocations: 1.312 MB / 442.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.7026, allocations: 1.021 MB / 443.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/0.7031, allocations: 272.1 kB / 443.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.7031, allocations: 0 / 443.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.643, allocations: 19.4 MB / 462.9 MB, free: 1.336 MB / 346.7 MB