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.755/1.755, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.127e-05, allocations: 0 / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2926, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.4551, allocations: 77.23 MB / 335.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.4554, allocations: 71.95 kB / 335.6 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.395/0.8504, allocations: 36.26 MB / 371.9 MB, free: 79.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.8505, allocations: 1.406 kB / 371.9 MB, free: 79.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.8505, allocations: 14.78 kB / 371.9 MB, free: 79.56 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.002959/0.8535, allocations: 1.184 MB / 373.1 MB, free: 78.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.8536, allocations: 12.62 kB / 373.1 MB, free: 78.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.8541, allocations: 128.6 kB / 373.2 MB, free: 78.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.8558, allocations: 0.7253 MB / 374 MB, free: 78.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.8559, allocations: 7.625 kB / 374 MB, free: 78.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.856, allocations: 14.84 kB / 374 MB, free: 78.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/0.8565, allocations: 193.6 kB / 374.2 MB, free: 78.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.8571, allocations: 274.6 kB / 374.4 MB, free: 78.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.8572, allocations: 0 / 374.4 MB, free: 78.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.343e-05/0.8572, allocations: 1.594 kB / 374.4 MB, free: 78.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.8572, allocations: 5.719 kB / 374.5 MB, free: 78.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.8601, allocations: 1.132 MB / 375.6 MB, free: 78.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.8606, allocations: 219.2 kB / 375.8 MB, free: 78.1 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.8612, allocations: 279 kB / 376.1 MB, free: 78.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.8629, allocations: 1.275 MB / 377.3 MB, free: 76.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.8629, allocations: 43.09 kB / 377.4 MB, free: 76.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 2.986e-06/0.863, allocations: 0 / 377.4 MB, free: 76.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.003393/0.8664, allocations: 1.158 MB / 378.5 MB, free: 76.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.8664, allocations: 112 kB / 378.7 MB, free: 76.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.8675, allocations: 0.7108 MB / 379.4 MB, free: 75.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.8676, allocations: 27.48 kB / 379.4 MB, free: 75.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.8679, allocations: 362.2 kB / 379.7 MB, free: 75.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8681, allocations: 128.4 kB / 379.9 MB, free: 75.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.8681, allocations: 0 / 379.9 MB, free: 75.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.8682, allocations: 324 kB / 380.2 MB, free: 75.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.8684, allocations: 97.44 kB / 380.3 MB, free: 75.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.8687, allocations: 137.3 kB / 380.4 MB, free: 75.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.8692, allocations: 139 kB / 380.6 MB, free: 75.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.8692, allocations: 0 / 380.6 MB, free: 75.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001244/0.8704, allocations: 477.2 kB / 381 MB, free: 75.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.8705, allocations: 40.98 kB / 381.1 MB, free: 75.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/0.8706, allocations: 15.31 kB / 381.1 MB, free: 75.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.8709, allocations: 61.73 kB / 381.1 MB, free: 75.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.8712, allocations: 41.47 kB / 381.2 MB, free: 75.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.8736, allocations: 2.895 MB / 384.1 MB, free: 72.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.8744, allocations: 11.19 kB / 384.1 MB, free: 72.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.8745, allocations: 17.16 kB / 384.1 MB, free: 72.72 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.0001711/0.8747, allocations: 145.5 kB / 384.2 MB, free: 72.58 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0013/0.876, allocations: 0.4997 MB / 384.7 MB, free: 72.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.8762, allocations: 127 kB / 384.9 MB, free: 72.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.8783, allocations: 0.6026 MB / 385.5 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.8783, allocations: 8.703 kB / 385.5 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8784, allocations: 7.891 kB / 385.5 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.8784, allocations: 0 / 385.5 MB, free: 72.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.8795, allocations: 0.5552 MB / 386 MB, free: 72.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/0.8795, allocations: 16.47 kB / 386.1 MB, free: 72.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.8799, allocations: 36.88 kB / 386.1 MB, free: 72.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002738/0.8801, allocations: 66.39 kB / 386.2 MB, free: 72.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.8802, allocations: 14.67 kB / 386.2 MB, free: 72.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.8825, allocations: 2.899 MB / 389.1 MB, free: 69.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.8826, allocations: 0 / 389.1 MB, free: 69.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.8844, allocations: 0.7636 MB / 389.8 MB, free: 69.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.885, allocations: 287.6 kB / 390.1 MB, free: 69.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.8852, allocations: 11.67 kB / 390.1 MB, free: 69.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.8858, allocations: 6.609 kB / 390.1 MB, free: 69.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.8859, allocations: 36.52 kB / 390.2 MB, free: 69.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.886, allocations: 15.72 kB / 390.2 MB, free: 69.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008559/0.8869, allocations: 0.5521 MB / 390.7 MB, free: 69.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8869, allocations: 0 / 390.7 MB, free: 69.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001628/0.8885, allocations: 233.7 kB / 391 MB, free: 69.05 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.002879/0.8914, allocations: 1.616 MB / 392.6 MB, free: 68.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.8926, allocations: 0.6996 MB / 393.3 MB, free: 67.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8926, allocations: 3.938 kB / 393.3 MB, free: 67.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.8933, allocations: 0.5769 MB / 393.9 MB, free: 67.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.8941, allocations: 88.48 kB / 393.9 MB, free: 67.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.8972, allocations: 1.246 MB / 395.2 MB, free: 67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.8978, allocations: 1.023 MB / 396.2 MB, free: 66.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004035/0.8982, allocations: 64.48 kB / 396.3 MB, free: 66.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.8986, allocations: 273.9 kB / 396.5 MB, free: 66.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8986, allocations: 4 kB / 396.6 MB, free: 66.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07058/0.9692, allocations: 14.55 MB / 411.1 MB, free: 60.44 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.9694, allocations: 133.8 kB / 411.2 MB, free: 60.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.165/4.134, allocations: 0 / 411.2 MB, free: 60.25 MB / 314.7 MB