Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.341/2.341, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.618e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 50.42 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.496/0.6177, allocations: 88.54 MB / 431.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/0.6182, allocations: 73.64 kB / 431.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2152/0.8334, allocations: 38.15 MB / 469.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8334, allocations: 4 kB / 469.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.172e-05/0.8335, allocations: 12 kB / 469.4 MB, free: 3.777 MB / 378.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.002834/0.8363, allocations: 1.19 MB / 470.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.8364, allocations: 8.031 kB / 470.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.8365, allocations: 62.48 kB / 470.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.8368, allocations: 134.4 kB / 470.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.8385, allocations: 0.715 MB / 471.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.8386, allocations: 20.44 kB / 471.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.8387, allocations: 27.95 kB / 471.6 MB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.8395, allocations: 289.8 kB / 471.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.8395, allocations: 0 / 471.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/0.8395, allocations: 12 kB / 471.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.8396, allocations: 4 kB / 471.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.8401, allocations: 208.9 kB / 472.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.8432, allocations: 1.185 MB / 473.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.8439, allocations: 230.5 kB / 473.5 MB, free: 15.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.8447, allocations: 283.3 kB / 473.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002191/0.8469, allocations: 1.289 MB / 475.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.8469, allocations: 34.56 kB / 475.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 5.471e-06/0.847, allocations: 4 kB / 475.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.003641/0.8506, allocations: 1.251 MB / 476.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.8507, allocations: 110.8 kB / 476.4 MB, free: 12.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.8523, allocations: 0.7653 MB / 477.2 MB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.8524, allocations: 33.7 kB / 477.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.8528, allocations: 357.6 kB / 477.6 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.853, allocations: 130 kB / 477.7 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.853, allocations: 12 kB / 477.7 MB, free: 10.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8532, allocations: 326 kB / 478.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.8536, allocations: 104.3 kB / 478.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.8539, allocations: 142.8 kB / 478.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.8543, allocations: 161.6 kB / 478.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8544, allocations: 0 / 478.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001456/0.8558, allocations: 0.4957 MB / 478.9 MB, free: 9.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.8559, allocations: 37.7 kB / 479 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.383e-05/0.856, allocations: 15.98 kB / 479 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.8564, allocations: 65.69 kB / 479.1 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.8568, allocations: 47.94 kB / 479.1 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00356/0.8603, allocations: 2.979 MB / 482.1 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.8611, allocations: 12.03 kB / 482.1 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.8612, allocations: 19.98 kB / 482.1 MB, free: 6.168 MB / 394.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.0002201/0.8615, allocations: 158.4 kB / 482.3 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.8617, allocations: 118.6 kB / 482.4 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.8641, allocations: 0.6492 MB / 483 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8641, allocations: 7.953 kB / 483 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8641, allocations: 0 / 483 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.8641, allocations: 3.984 kB / 483.1 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.8655, allocations: 0.6121 MB / 483.7 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/0.8656, allocations: 12 kB / 483.7 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.866, allocations: 39.91 kB / 483.7 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003327/0.8663, allocations: 69.69 kB / 483.8 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.8664, allocations: 20.11 kB / 483.8 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004949/0.8714, allocations: 2.982 MB / 486.8 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8714, allocations: 0 / 486.8 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.8751, allocations: 0.8159 MB / 487.6 MB, free: 316 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8762, allocations: 287.5 kB / 487.9 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.8764, allocations: 8 kB / 487.9 MB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.8773, allocations: 12.05 kB / 487.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.8776, allocations: 27.91 kB / 487.9 MB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8777, allocations: 19.98 kB / 487.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001884/0.8796, allocations: 0.604 MB / 488.6 MB, free: 15.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.8796, allocations: 0 / 488.6 MB, free: 15.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001542/0.8812, allocations: 255.8 kB / 488.8 MB, free: 15.08 MB / 410.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.003244/0.8845, allocations: 1.653 MB / 490.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.886, allocations: 0.7048 MB / 491.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8861, allocations: 0 / 491.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009114/0.887, allocations: 0.5886 MB / 491.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.8879, allocations: 108.8 kB / 491.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.8916, allocations: 1.27 MB / 493.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007384/0.8924, allocations: 1.022 MB / 494.1 MB, free: 9.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.8929, allocations: 64.58 kB / 494.2 MB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005006/0.8934, allocations: 279.3 kB / 494.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8934, allocations: 4 kB / 494.5 MB, free: 9.164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.9538, allocations: 17.12 MB / 0.4996 GB, free: 8.188 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003719/0.9542, allocations: 161.8 kB / 0.4998 GB, free: 7.969 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.155/4.109, allocations: 0 / 0.4998 GB, free: 7.969 MB / 426.7 MB