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.93/1.93, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.475e-05/4.491e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3325, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.4816, allocations: 81.37 MB / 375.6 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4819, allocations: 71.95 kB / 375.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1552/0.6372, allocations: 35.81 MB / 411.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6372, allocations: 0 / 411.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.624e-05/0.6373, allocations: 16 kB / 411.5 MB, free: 12.62 MB / 362.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.002791/0.6401, allocations: 1.186 MB / 412.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.6402, allocations: 8.031 kB / 412.7 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.6405, allocations: 134.4 kB / 412.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.6421, allocations: 0.715 MB / 413.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.6421, allocations: 11.94 kB / 413.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.6422, allocations: 12 kB / 413.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005565/0.6428, allocations: 193 kB / 413.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.6435, allocations: 273.8 kB / 414 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.6435, allocations: 0 / 414 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.6436, allocations: 3.984 kB / 414 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.6436, allocations: 4 kB / 414 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.6466, allocations: 1.132 MB / 415.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.6472, allocations: 222.5 kB / 415.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.6479, allocations: 284.9 kB / 415.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.6501, allocations: 1.277 MB / 416.9 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.6502, allocations: 42.52 kB / 416.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.146e-06/0.6502, allocations: 0 / 416.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.004023/0.6542, allocations: 1.151 MB / 418.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.6543, allocations: 110.8 kB / 418.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.6557, allocations: 0.709 MB / 418.9 MB, free: 4.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/0.6558, allocations: 25.7 kB / 418.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.6562, allocations: 352.1 kB / 419.3 MB, free: 4.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.6563, allocations: 130 kB / 419.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.6564, allocations: 0 / 419.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6565, allocations: 322.8 kB / 419.7 MB, free: 3.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.6568, allocations: 104.3 kB / 419.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.6571, allocations: 130.8 kB / 420 MB, free: 3.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.6577, allocations: 131.9 kB / 420.1 MB, free: 3.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6577, allocations: 0 / 420.1 MB, free: 3.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001285/0.659, allocations: 408.3 kB / 420.5 MB, free: 3.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.6591, allocations: 37.69 kB / 420.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.058e-05/0.6591, allocations: 12 kB / 420.5 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.6595, allocations: 65.69 kB / 420.6 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.6599, allocations: 43.91 kB / 420.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2813/0.9412, allocations: 2.892 MB / 423.5 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.942, allocations: 10.91 kB / 423.5 MB, free: 92.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/0.9421, allocations: 22.31 kB / 423.6 MB, free: 92.32 MB / 362.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.0001948/0.9423, allocations: 147.2 kB / 423.7 MB, free: 92.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001878/0.9442, allocations: 0.4971 MB / 424.2 MB, free: 92.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.9445, allocations: 123.7 kB / 424.3 MB, free: 92.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.947, allocations: 0.6034 MB / 424.9 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.9471, allocations: 4.828 kB / 424.9 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.9471, allocations: 1.156 kB / 424.9 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.9471, allocations: 8 kB / 424.9 MB, free: 92.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.9483, allocations: 0.5586 MB / 425.5 MB, free: 91.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.327e-05/0.9484, allocations: 16.42 kB / 425.5 MB, free: 91.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.9488, allocations: 36.05 kB / 425.5 MB, free: 91.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.9491, allocations: 69.66 kB / 425.6 MB, free: 91.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.9492, allocations: 15.34 kB / 425.6 MB, free: 91.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.9518, allocations: 2.893 MB / 428.5 MB, free: 89.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9518, allocations: 0 / 428.5 MB, free: 89.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.9538, allocations: 0.7663 MB / 429.3 MB, free: 89.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.9545, allocations: 284 kB / 429.6 MB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.9547, allocations: 2.375 kB / 429.6 MB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.9553, allocations: 10.05 kB / 429.6 MB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.9554, allocations: 38 kB / 429.6 MB, free: 88.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.845e-05/0.9555, allocations: 17.44 kB / 429.6 MB, free: 88.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001024/0.9565, allocations: 0.5501 MB / 430.2 MB, free: 88.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.9566, allocations: 0 / 430.2 MB, free: 88.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001477/0.958, allocations: 233.4 kB / 430.4 MB, free: 88.83 MB / 362.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.003017/0.9611, allocations: 1.615 MB / 432 MB, free: 88.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.9625, allocations: 0.6997 MB / 432.7 MB, free: 87.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.9625, allocations: 3.5 kB / 432.7 MB, free: 87.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.9633, allocations: 0.5815 MB / 433.3 MB, free: 87.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007636/0.9641, allocations: 83.44 kB / 433.4 MB, free: 87.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.9676, allocations: 1.278 MB / 434.7 MB, free: 86.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.9682, allocations: 1.025 MB / 435.7 MB, free: 86.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/0.9687, allocations: 273.4 kB / 436 MB, free: 86.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9687, allocations: 0.9688 kB / 436 MB, free: 86.14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.211/4.18, allocations: 19.42 MB / 455.4 MB, free: 83.4 MB / 362.7 MB