Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.883/1.883, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.877e-05, allocations: 0 / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5987, allocations: 86.28 MB / 403.3 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.599, allocations: 75.14 kB / 403.4 MB, free: 1.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1569/0.756, allocations: 36.49 MB / 439.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.756, allocations: 192 / 439.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.301e-05/0.7561, allocations: 12 kB / 439.9 MB, free: 3.594 MB / 346.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.002821/0.7589, allocations: 1.185 MB / 441.1 MB, free: 2.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.759, allocations: 8.031 kB / 441.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.7591, allocations: 60.61 kB / 441.1 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.7594, allocations: 126.4 kB / 441.3 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.7612, allocations: 0.7303 MB / 442 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.7613, allocations: 12.06 kB / 442 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.7614, allocations: 27.16 kB / 442 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.7622, allocations: 297.9 kB / 442.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.7622, allocations: 0 / 442.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/0.7623, allocations: 10.62 kB / 442.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.7623, allocations: 4 kB / 442.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.7629, allocations: 208.3 kB / 442.5 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.7661, allocations: 1.188 MB / 443.7 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.7667, allocations: 226.2 kB / 443.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.7675, allocations: 284.9 kB / 444.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002259/0.7698, allocations: 1.278 MB / 445.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.77, allocations: 42.11 kB / 445.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.936e-06/0.77, allocations: 0 / 445.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.003638/0.7736, allocations: 1.245 MB / 446.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.7738, allocations: 113.6 kB / 446.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/0.7753, allocations: 0.7689 MB / 447.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.7754, allocations: 33.7 kB / 447.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.7759, allocations: 361.6 kB / 448.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.7761, allocations: 134 kB / 448.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.7761, allocations: 8 kB / 448.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7762, allocations: 318 kB / 448.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.7766, allocations: 104.3 kB / 448.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.777, allocations: 146.5 kB / 448.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.7774, allocations: 157.6 kB / 448.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7774, allocations: 0 / 448.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001438/0.7788, allocations: 0.4997 MB / 449.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.209e-05/0.7789, allocations: 33.7 kB / 449.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-05/0.779, allocations: 15.98 kB / 449.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.7794, allocations: 73.72 kB / 449.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.7798, allocations: 47.89 kB / 449.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.7835, allocations: 2.982 MB / 452.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.7843, allocations: 12.03 kB / 452.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.7844, allocations: 27.92 kB / 452.6 MB, free: 7.07 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.0002207/0.7846, allocations: 154.6 kB / 452.7 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.7848, allocations: 122.5 kB / 452.9 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.7872, allocations: 0.6491 MB / 453.5 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.7872, allocations: 4 kB / 453.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.7872, allocations: 0 / 453.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7873, allocations: 3.984 kB / 453.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.7887, allocations: 0.6043 MB / 454.1 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-05/0.7888, allocations: 15.98 kB / 454.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.7892, allocations: 43.97 kB / 454.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.7896, allocations: 65.64 kB / 454.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.7896, allocations: 15.98 kB / 454.3 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003128/0.7928, allocations: 2.994 MB / 457.3 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7928, allocations: 0 / 457.3 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.7948, allocations: 0.8118 MB / 458.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.7955, allocations: 283.5 kB / 458.3 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.7957, allocations: 8 kB / 458.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.7963, allocations: 12 kB / 458.4 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.7964, allocations: 31.95 kB / 458.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.7965, allocations: 19.92 kB / 458.4 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.7977, allocations: 0.6156 MB / 459 MB, free: 228 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7978, allocations: 0 / 459 MB, free: 228 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001582/0.7993, allocations: 255.8 kB / 459.3 MB, free: 15.97 MB / 378.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.003326/0.8027, allocations: 1.646 MB / 460.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.8043, allocations: 0.7098 MB / 461.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8043, allocations: 0 / 461.6 MB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009108/0.8053, allocations: 0.5913 MB / 462.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.806, allocations: 84.78 kB / 462.3 MB, free: 12.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.8101, allocations: 1.266 MB / 463.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.8108, allocations: 1.022 MB / 464.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.8113, allocations: 64.58 kB / 464.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004771/0.8118, allocations: 271.3 kB / 464.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8118, allocations: 0 / 464.9 MB, free: 10.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06423/0.876, allocations: 17.12 MB / 482 MB, free: 9.027 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.8764, allocations: 166.2 kB / 482.2 MB, free: 8.801 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.982, allocations: 3.938 kB / 482.2 MB, free: 8.797 MB / 394.7 MB