Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.868e-05, allocations: 0 / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3023, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.4734, allocations: 77.89 MB / 341.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.4737, allocations: 75.95 kB / 341.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3886/0.8623, allocations: 36.98 MB / 378.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.8624, allocations: 1.219 kB / 378.8 MB, free: 80.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.8624, allocations: 15.28 kB / 378.8 MB, free: 80.55 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.002224/0.8646, allocations: 1.197 MB / 380 MB, free: 79.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.8647, allocations: 7.875 kB / 380 MB, free: 79.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.8648, allocations: 59.33 kB / 380.1 MB, free: 79.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.865, allocations: 124.2 kB / 380.2 MB, free: 79.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.8665, allocations: 0.7207 MB / 380.9 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.8666, allocations: 20.31 kB / 380.9 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.8666, allocations: 18.78 kB / 381 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.8673, allocations: 304.1 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8674, allocations: 0 / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.8674, allocations: 14.08 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.8674, allocations: 3.938 kB / 381.3 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.8679, allocations: 203.5 kB / 381.5 MB, free: 79.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.8707, allocations: 1.19 MB / 382.7 MB, free: 78.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.8712, allocations: 225.5 kB / 382.9 MB, free: 78.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/0.8719, allocations: 299.1 kB / 383.2 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.8737, allocations: 1.277 MB / 384.5 MB, free: 77.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.8737, allocations: 33.25 kB / 384.5 MB, free: 77.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.226e-06/0.8737, allocations: 0 / 384.5 MB, free: 77.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003065/0.8768, allocations: 1.24 MB / 385.7 MB, free: 76.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.8769, allocations: 113.5 kB / 385.8 MB, free: 76.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.8782, allocations: 0.7705 MB / 386.6 MB, free: 76.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.8783, allocations: 36.23 kB / 386.6 MB, free: 76.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.8786, allocations: 367.1 kB / 387 MB, free: 76.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.8787, allocations: 127.6 kB / 387.1 MB, free: 76.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.8788, allocations: 6.969 kB / 387.1 MB, free: 76.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.15e-05/0.8789, allocations: 316.9 kB / 387.4 MB, free: 76.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.8792, allocations: 105 kB / 387.5 MB, free: 76.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.8795, allocations: 148.1 kB / 387.7 MB, free: 76.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.8798, allocations: 158.9 kB / 387.8 MB, free: 75.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8799, allocations: 0 / 387.8 MB, free: 75.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001278/0.8811, allocations: 0.5015 MB / 388.3 MB, free: 75.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/0.8812, allocations: 34.17 kB / 388.4 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/0.8813, allocations: 19.22 kB / 388.4 MB, free: 75.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.8816, allocations: 70.8 kB / 388.5 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.882, allocations: 47.52 kB / 388.5 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.8846, allocations: 2.987 MB / 391.5 MB, free: 72.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/0.8853, allocations: 18.44 kB / 391.5 MB, free: 72.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.8854, allocations: 18.53 kB / 391.5 MB, free: 72.76 MB / 314.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.0001701/0.8856, allocations: 148.4 kB / 391.7 MB, free: 72.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.8857, allocations: 124.7 kB / 391.8 MB, free: 72.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.8878, allocations: 0.66 MB / 392.5 MB, free: 72.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.8878, allocations: 0 / 392.5 MB, free: 72.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.8878, allocations: 7.844 kB / 392.5 MB, free: 72.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.8879, allocations: 6.844 kB / 392.5 MB, free: 72.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.8889, allocations: 0.6126 MB / 393.1 MB, free: 71.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-05/0.889, allocations: 17.41 kB / 393.1 MB, free: 71.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.8894, allocations: 28.56 kB / 393.1 MB, free: 71.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002961/0.8897, allocations: 81.84 kB / 393.2 MB, free: 71.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.8897, allocations: 19.17 kB / 393.2 MB, free: 71.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.8922, allocations: 2.982 MB / 396.2 MB, free: 68.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8922, allocations: 3.953 kB / 396.2 MB, free: 68.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.894, allocations: 0.8073 MB / 397 MB, free: 68.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005812/0.8946, allocations: 279.7 kB / 397.3 MB, free: 68.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8947, allocations: 11.02 kB / 397.3 MB, free: 68.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.8952, allocations: 13.72 kB / 397.3 MB, free: 68.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.8954, allocations: 34.91 kB / 397.4 MB, free: 68.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/0.8955, allocations: 16.62 kB / 397.4 MB, free: 68.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009937/0.8965, allocations: 0.6076 MB / 398 MB, free: 68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8965, allocations: 4.062 kB / 398 MB, free: 68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001318/0.8978, allocations: 255.1 kB / 398.2 MB, free: 67.94 MB / 314.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.002716/0.9005, allocations: 1.648 MB / 399.9 MB, free: 66.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/0.9019, allocations: 0.7306 MB / 400.6 MB, free: 66.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9019, allocations: 0 / 400.6 MB, free: 66.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.9026, allocations: 0.6017 MB / 401.2 MB, free: 65.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.9034, allocations: 80.95 kB / 401.3 MB, free: 65.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.9067, allocations: 1.288 MB / 402.6 MB, free: 64.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.9072, allocations: 1.022 MB / 403.6 MB, free: 63.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.9077, allocations: 69.23 kB / 403.7 MB, free: 63.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.9081, allocations: 272.2 kB / 403.9 MB, free: 63.5 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.9081, allocations: 0 / 403.9 MB, free: 63.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/0.9613, allocations: 17.14 MB / 421.1 MB, free: 48.8 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.9616, allocations: 167.2 kB / 421.2 MB, free: 48.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.397/4.359, allocations: 0 / 421.2 MB, free: 48.57 MB / 314.7 MB