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 1.923/1.923, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.539e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.449, allocations: 81.38 MB / 375.6 MB, free: 464 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.4494, allocations: 67.97 kB / 375.7 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.6127, allocations: 35.81 MB / 411.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6127, allocations: 4 kB / 411.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.182e-05/0.6128, allocations: 12 kB / 411.5 MB, free: 12.48 MB / 362.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.003428/0.6162, allocations: 1.186 MB / 412.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.6163, allocations: 8.031 kB / 412.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.6167, allocations: 142.4 kB / 412.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.619, allocations: 0.7073 MB / 413.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.6191, allocations: 11.94 kB / 413.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6192, allocations: 16 kB / 413.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008049/0.62, allocations: 200.9 kB / 413.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008779/0.6209, allocations: 261.8 kB / 414 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.621, allocations: 0 / 414 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.621, allocations: 0 / 414 MB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.6211, allocations: 8 kB / 414 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.625, allocations: 1.136 MB / 415.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.6258, allocations: 218.5 kB / 415.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.6267, allocations: 284.9 kB / 415.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.6296, allocations: 1.277 MB / 416.9 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6297, allocations: 42.45 kB / 417 MB, free: 6.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 5.13e-06/0.6297, allocations: 0 / 417 MB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.005248/0.635, allocations: 1.151 MB / 418.1 MB, free: 5.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6351, allocations: 114.8 kB / 418.2 MB, free: 5.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.6369, allocations: 0.709 MB / 418.9 MB, free: 4.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/0.6371, allocations: 33.64 kB / 419 MB, free: 4.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/0.6377, allocations: 353.6 kB / 419.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.6379, allocations: 130 kB / 419.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.638, allocations: 0 / 419.4 MB, free: 3.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6382, allocations: 322 kB / 419.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.6386, allocations: 100.3 kB / 419.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.639, allocations: 130.8 kB / 420 MB, free: 3.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007669/0.6398, allocations: 132 kB / 420.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6398, allocations: 0 / 420.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001958/0.6418, allocations: 479.3 kB / 420.6 MB, free: 2.809 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.6419, allocations: 41.69 kB / 420.6 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.575e-05/0.642, allocations: 12 kB / 420.6 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.6424, allocations: 65.72 kB / 420.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.6429, allocations: 39.97 kB / 420.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.9308, allocations: 2.882 MB / 423.6 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.9315, allocations: 12.62 kB / 423.6 MB, free: 92.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.361e-05/0.9316, allocations: 20.42 kB / 423.7 MB, free: 92.41 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.0001868/0.9318, allocations: 146.1 kB / 423.8 MB, free: 92.28 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001732/0.9335, allocations: 0.4973 MB / 424.3 MB, free: 92.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.9338, allocations: 122.2 kB / 424.4 MB, free: 92.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.9361, allocations: 0.6078 MB / 425 MB, free: 92.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.9362, allocations: 2.812 kB / 425 MB, free: 92.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9362, allocations: 3.656 kB / 425 MB, free: 92.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.9362, allocations: 5.781 kB / 425 MB, free: 92.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.9374, allocations: 0.5602 MB / 425.6 MB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.9375, allocations: 12.19 kB / 425.6 MB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.9378, allocations: 41.64 kB / 425.6 MB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.9381, allocations: 67.7 kB / 425.7 MB, free: 91.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.9382, allocations: 9.5 kB / 425.7 MB, free: 91.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.9406, allocations: 2.902 MB / 428.6 MB, free: 89.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9406, allocations: 3.844 kB / 428.6 MB, free: 89.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.9426, allocations: 0.7609 MB / 429.4 MB, free: 89.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/0.9432, allocations: 282.3 kB / 429.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.9434, allocations: 2.281 kB / 429.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.9439, allocations: 20.08 kB / 429.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.9441, allocations: 33.44 kB / 429.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.9442, allocations: 18.64 kB / 429.7 MB, free: 89.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009718/0.9451, allocations: 0.5469 MB / 430.3 MB, free: 88.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9452, allocations: 0 / 430.3 MB, free: 88.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001409/0.9466, allocations: 236.7 kB / 430.5 MB, free: 88.92 MB / 362.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.002911/0.9495, allocations: 1.62 MB / 432.1 MB, free: 88.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.9508, allocations: 0.6947 MB / 432.8 MB, free: 87.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9508, allocations: 4.625 kB / 432.8 MB, free: 87.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007372/0.9516, allocations: 0.5816 MB / 433.4 MB, free: 87.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.9523, allocations: 82.44 kB / 433.5 MB, free: 87.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.9559, allocations: 1.244 MB / 434.7 MB, free: 86.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.9565, allocations: 1.021 MB / 435.8 MB, free: 86.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.957, allocations: 69.28 kB / 435.8 MB, free: 86.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.9574, allocations: 269.6 kB / 436.1 MB, free: 86.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.9575, allocations: 0 / 436.1 MB, free: 86.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/1.017, allocations: 14.56 MB / 450.7 MB, free: 85.36 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.017, allocations: 128.1 kB / 450.8 MB, free: 85.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/4.036, allocations: 4 kB / 450.8 MB, free: 85.17 MB / 362.7 MB