Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.284e-05, allocations: 0 / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5284, allocations: 82.03 MB / 382 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5287, allocations: 72.52 kB / 382.1 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1432/0.672, allocations: 36.53 MB / 418.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.672, allocations: 0 / 418.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.6721, allocations: 19.38 kB / 418.6 MB, free: 4.594 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.002387/0.6745, allocations: 1.172 MB / 419.8 MB, free: 3.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.6745, allocations: 15.48 kB / 419.8 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.6746, allocations: 55.67 kB / 419.9 MB, free: 3.668 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.6749, allocations: 131.8 kB / 420 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.6763, allocations: 0.7139 MB / 420.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.6764, allocations: 23.53 kB / 420.7 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.6765, allocations: 22.42 kB / 420.8 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000674/0.6772, allocations: 295.9 kB / 421.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.6772, allocations: 0 / 421.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.6773, allocations: 10.31 kB / 421.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.6773, allocations: 3.875 kB / 421.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.6778, allocations: 211.6 kB / 421.3 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.6807, allocations: 1.185 MB / 422.5 MB, free: 2.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.6812, allocations: 221.4 kB / 422.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.6819, allocations: 304.9 kB / 423 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.6837, allocations: 1.282 MB / 424.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.6838, allocations: 30.56 kB / 424.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.276e-06/0.6838, allocations: 0 / 424.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003271/0.6871, allocations: 1.239 MB / 425.5 MB, free: 312 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.6872, allocations: 117.6 kB / 425.6 MB, free: 180 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.6885, allocations: 0.7631 MB / 426.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6887, allocations: 36.14 kB / 426.4 MB, free: 15.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.689, allocations: 351.4 kB / 426.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.6892, allocations: 138.3 kB / 426.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.6893, allocations: 10.38 kB / 426.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6894, allocations: 316.6 kB / 427.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.6898, allocations: 105.8 kB / 427.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.6901, allocations: 141 kB / 427.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.6905, allocations: 156.2 kB / 427.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6905, allocations: 7.969 kB / 427.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001313/0.6918, allocations: 0.4913 MB / 428.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.6919, allocations: 41.19 kB / 428.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-05/0.692, allocations: 18.67 kB / 428.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003443/0.6923, allocations: 70.94 kB / 428.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.6927, allocations: 49.97 kB / 428.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.696, allocations: 2.973 MB / 431.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/0.6967, allocations: 20.67 kB / 431.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.6968, allocations: 19.89 kB / 431.3 MB, free: 12.25 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.000205/0.6971, allocations: 156 kB / 431.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6973, allocations: 124.2 kB / 431.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.6995, allocations: 0.654 MB / 432.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.6996, allocations: 3.75 kB / 432.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6996, allocations: 3.938 kB / 432.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6996, allocations: 0 / 432.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.7008, allocations: 0.6122 MB / 432.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/0.7009, allocations: 19.36 kB / 432.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.7013, allocations: 30.3 kB / 432.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003131/0.7016, allocations: 70.83 kB / 433 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.7017, allocations: 19.33 kB / 433 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.7047, allocations: 2.983 MB / 436 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7048, allocations: 3.875 kB / 436 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.7067, allocations: 0.8005 MB / 436.8 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006965/0.7075, allocations: 288 kB / 437.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7077, allocations: 4.938 kB / 437.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.7082, allocations: 22.38 kB / 437.1 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.7084, allocations: 34.27 kB / 437.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.7084, allocations: 13.88 kB / 437.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.7096, allocations: 0.6079 MB / 437.8 MB, free: 7.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7096, allocations: 4.062 kB / 437.8 MB, free: 7.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001529/0.7111, allocations: 255.5 kB / 438 MB, free: 7.938 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.003053/0.7142, allocations: 1.656 MB / 439.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.7157, allocations: 0.71 MB / 440.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7158, allocations: 0 / 440.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008757/0.7166, allocations: 0.5862 MB / 441 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.7174, allocations: 82.39 kB / 441 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.7213, allocations: 1.275 MB / 442.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/0.7221, allocations: 1.018 MB / 443.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000455/0.7226, allocations: 67.61 kB / 443.4 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.7231, allocations: 282.3 kB / 443.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7231, allocations: 0 / 443.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07847/0.8016, allocations: 17.11 MB / 460.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.802, allocations: 174.1 kB / 461 MB, free: 2.996 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/4.256, allocations: 0 / 461 MB, free: 2.996 MB / 346.7 MB